#asahi-dev · 2026-11-08 07:37
yukaproxyclient/m1n1/hw/spmi1.py has conflicting statements about what 0xa4 does#asahi-dev · 2026-11-08 07:37
yukaodd#asahi-dev · 2026-11-08 07:06
yukastill don't know the ACT / ACTION reg#asahi-dev · 2026-11-08 07:05
yukaOk, spoofing a STATUS read with the FIFO_EMPTY flag set triggers a write of the CONFIG reg, so now I know this is 0x0 on SPMI gen 4 vs 0xa0 on SPMI gen <=3#asahi-dev · 2026-11-08 07:02
yukaor specifically add != V_UNKNOWN to the check#asahi-dev · 2026-11-08 06:56
yukaassuming that it's a new (not yet added) version#asahi-dev · 2026-11-08 06:56
yukamaybe we should place V_UNKNOWN at the end of the list?#asahi-dev · 2026-11-08 06:56
yukabecause V_UNKNOWN < V15_0#asahi-dev · 2026-11-08 06:55
yukaI think it does if the version is not recognized#asahi-dev · 2026-11-08 06:55
yuka> m1n1 shouldn't touch dcp with unsupported firmware versions#asahi-dev · 2026-11-07 15:12
yukatrace_device should internally do something similar to add_tracer right?#asahi-dev · 2026-11-07 15:12
yukasomehow the hook is not being called#asahi-dev · 2026-11-07 15:12
yukahttps://termbin.com/z4fr#asahi-dev · 2026-11-07 15:12
yukahmpf#asahi-dev · 2026-11-07 14:48
yuka*yep#asahi-dev · 2026-11-07 14:48
yukayepo#asahi-dev · 2026-11-07 14:47
yukaI think I need to pretend a read/write failed#asahi-dev · 2026-11-07 14:47
yukayes#asahi-dev · 2026-11-07 14:45
yukaHmm, now I need to find out how to make macOS touch SPMI_ACT_REG#asahi-dev · 2026-11-07 14:34
yukayayy 27.3 beta on M4 definitely works now#asahi-dev · 2026-11-07 14:30
yukaOhhh probably that#asahi-dev · 2026-11-07 14:28
yukait's too slow?#asahi-dev · 2026-11-07 14:28
yuka> panic(cpu 3 caller 0xfffffe003c1d6c28): "RTBuddy(DCP)::_performPowerStateChangeGated " "No response received in 20s, DCP not started? (4)" "\nRTBuddy(AP): Debug info:#asahi-dev · 2026-11-07 14:27
yukaI though the whole CAMedinaEnable was still needed on M4 so that confused me#asahi-dev · 2026-11-07 14:26
yukamakes sense then#asahi-dev · 2026-11-07 14:26
yukaI don't see an sptm object in the ipsw#asahi-dev · 2026-11-07 14:26
yukaHmm should macOS 27.3 beta in hv on M4 need exclaves?#asahi-dev · 2026-11-07 00:03
yukatomorrow is another day#asahi-dev · 2026-11-07 00:03
yukasame though#asahi-dev · 2026-11-07 00:03
yukahttps://termbin.com/yr69o#asahi-dev · 2026-11-07 00:02
yukalet me add them#asahi-dev · 2026-11-07 00:02
yukaI guess symbols for the release kernel are in the kdk#asahi-dev · 2026-11-07 00:02
yukadid we figure out where to get symbols?#asahi-dev · 2026-11-07 00:02
yukaI don't have symbols#asahi-dev · 2026-11-07 00:01
yukayes#asahi-dev · 2026-11-07 00:01
yukafyi I also commented out the amcc hook#asahi-dev · 2026-11-07 00:00
yukasingle cpu die yea#asahi-dev · 2026-11-06 23:58
yukadid not have the serial open (only the vuart). I just retried and got HV: Unmapped IPA 0x5c1800bdc#asahi-dev · 2026-11-06 23:56
yukaand then just rebooted#asahi-dev · 2026-11-06 23:55
yukait got way further \o/#asahi-dev · 2026-11-06 23:41
yukaOk wow decoding this isn't even so hard once you realize many of the masks are nibble aligned#asahi-dev · 2026-11-06 23:27
yukaI mean I can patch them to something, but yeah, need to figure out what they are#asahi-dev · 2026-11-06 23:26
yukamany of these#asahi-dev · 2026-11-06 23:26
yuka> panic(cpu 0 caller 0xfffffe003f99c8c8): Undefined kernel instruction: pc=0xfffffe003d9403b0 instr=d51fff08 @sleh.c:1953#asahi-dev · 2026-11-06 23:25
yukaM5 != M5 Pro, right?#asahi-dev · 2026-11-06 23:25
yukasven yeah just m5-hv branch is not sufficient to boot#asahi-dev · 2026-11-06 23:12
yukathere are new instructions, I saw 0xd51ffb68 / 0xd51ffd68 / 0xd51fff68. I guess there's a parameter mask.#asahi-dev · 2026-11-06 23:11
yukahv on t6050 is a bit more difficult I guess, but what I have works for tracing spmi