From a44eddf5ab3e8fd531194ab84e962548015b2d3c Mon Sep 17 00:00:00 2001 From: Brett Tegart <16308058+bretttegart@users.noreply.github.com> Date: Tue, 17 Nov 2026 16:53:45 -0600 Subject: [PATCH] proxy: add Apple CTRR sysregs (CTRR_D_UPR_EL1 etc.) Needed to read the CTRR range at runtime on T8132/J604. The CTRR base moves every cold boot (iBoot places m1n1 at a varying address), so a static DTB reserve cannot cover it. The stage-1 chainloader reads CTRR_D_UPR_EL1 (sys_reg 3,0,11,0,3) and reserves (D_UPR - 0xE4000)..D_UPR, which is the range that lets the kernel get past the initrd-free hang on untethered boot. --- proxyclient/m1n1/apple_regs.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxyclient/m1n1/apple_regs.json b/proxyclient/m1n1/apple_regs.json index 8af8ffa6..1d0e0d27 100644 --- a/proxyclient/m1n1/apple_regs.json +++ b/proxyclient/m1n1/apple_regs.json @@ -1,4 +1,7 @@ [ + {"index": 0, "name": "CTRR_C_LWR_EL1", "fullname": "CTRR C Lower Address (EL1)", "enc": [3, 0, 11, 0, 0 ], "width": 64}, + {"index": 0, "name": "CTRR_C_UPR_EL1", "fullname": "CTRR C Upper Address (EL1)", "enc": [3, 0, 11, 0, 1 ], "width": 64}, + {"index": 0, "name": "CTRR_D_UPR_EL1", "fullname": "CTRR D Upper Address (EL1)", "enc": [3, 0, 11, 0, 3 ], "width": 64}, {"index": 0, "name": "HID0_EL1", "fullname": "Hardware Implementation-Dependent Register 0", "enc": [3, 0, 15, 0, 0 ], "width": 64}, {"index": 0, "name": "EHID0_EL1", "fullname": "Hardware Implementation-Dependent Register 0 (E-core)", "enc": [3, 0, 15, 0, 1 ], "width": 64}, {"index": 0, "name": "HID1_EL1", "fullname": "Hardware Implementation-Dependent Register 1", "enc": [3, 0, 15, 1, 0 ], "width": 64},