From 750f3307f0fb7ddb6a371bedeb3442e7e13e770c Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Sat, 2 Dec 2023 09:45:42 -0500 Subject: [PATCH] m1n1.hv: Add M3 and M3 Max chip IDs Signed-off-by: Daniel Berlin Signed-off-by: Janne Grunau --- proxyclient/m1n1/hv/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proxyclient/m1n1/hv/__init__.py b/proxyclient/m1n1/hv/__init__.py index ad241969..6c87976d 100644 --- a/proxyclient/m1n1/hv/__init__.py +++ b/proxyclient/m1n1/hv/__init__.py @@ -1562,10 +1562,12 @@ class HV(Reloadable): chip_id = self.u.adt["/chosen"].chip_id if chip_id in (0x8103, 0x6000, 0x6001, 0x6002): cpu_start = 0x54000 + die * 0x20_0000_0000 - elif chip_id in (0x8112,): + elif chip_id in (0x8112, 0x8122): cpu_start = 0x34000 + die * 0x20_0000_0000 elif chip_id in (0x6020, 0x6021, 0x6022): cpu_start = 0x28000 + die * 0x20_0000_0000 + elif chip_id in (0x6031,): + cpu_start = 0x88000 + die * 0x20_0000_0000 else: self.log("CPUSTART unknown for this SoC!") break