#
#asahi-re · 2026-07-21 06:34
yukathat seems indeed like a """Filter""" for for mmio
#asahi-re · 2026-07-21 06:34
yukawhile others work fine
#asahi-re · 2026-07-21 06:34
yukathey just serror when you read them
#asahi-re · 2026-07-21 06:34
yukaor some specific pinctrl gpios
#asahi-re · 2026-07-21 06:34
yukafor example the pmgr disp*cpu pstates
#asahi-re · 2026-07-21 06:33
yukaon M4/M5, I've seen a lot of SErrors on very particular mmio reads/writes
#asahi-re · 2026-07-21 06:33
svenmy bet is that iboot is just broken and that’s why startup doesn’t work though :(
#asahi-re · 2026-07-21 06:33
yukaI'm not so sure of that
#asahi-re · 2026-07-21 06:33
sventhere’s likely just some other init missing or something’s still powered off when you get SErrors
#asahi-re · 2026-07-21 05:33
djLet’s see
#asahi-re · 2026-07-21 05:33
djI found additional stuff restoreHW does and at diff stages so trying to reproduce more of its state before starting cores
#asahi-re · 2026-07-21 05:33
djBut probably not needed for secondary startup, that would make no sense
#asahi-re · 2026-07-21 05:32
djXNU has access to it, it’s writing there in the binary
#asahi-re · 2026-07-21 05:31
JamesCalligeros[m]there is no EL3 so it should not serror because of EL2 unless it's supposed to run in GLx
#asahi-re · 2026-07-21 05:19
djok so restoreHW here is doing some CPM + smth smth writes which raise SError cause we’re in EL2. cluster control is also not reading back expected value for some reason. Very confusing. With CPM writes skipped I still get the fault, and not sure if it’s the CPM writes that would fix it. Will look more carefully into restoreHW and see if it’s missing anything important
#asahi-re · 2026-07-21 04:45
djbut i might be very close
#asahi-re · 2026-07-21 04:44
djofc writing to a random address reconstructed from disasm was gonna raise SError.. this is a tough one
#asahi-re · 2026-07-21 04:42
djI’ll look into it tomorrow maybe
#asahi-re · 2026-07-21 04:39
JamesCalligeros[m]If the radio chip is some rtkit thing it might not be too bad
#asahi-re · 2026-07-21 04:29
djI’m interested in tinkering with that and external SSD support but atcphy hahaha
#asahi-re · 2026-07-21 04:27
djI wonder how much amount of crazy RE work will the in house radio chip be
#asahi-re · 2026-07-21 04:26
djinteresting getDieCount == 2 while its acc 1
#asahi-re · 2026-07-21 04:25
djfor now I’m just gonna do everything Apple’s t6050 restoreHW is doing a partial impl setting bits here and there & the wait it has still crashed same way
#asahi-re · 2026-07-21 04:23
djlooks quite well documented in Asahi docs
#asahi-re · 2026-07-21 04:23
djI see
#asahi-re · 2026-07-21 04:13
NickChan[m]it's also not fuOS in general, but rather raw boot binary, macho boot objects still get all that enabled but under sptm
#asahi-re · 2026-07-21 04:12
djgotcha
#asahi-re · 2026-07-21 04:12
NickChan[m]This is the whole reason we are in this sticky situation instead of tracing macOs
#asahi-re · 2026-07-21 04:11
djinteresting didn’t know Apple gated that feature from fuOS
#asahi-re · 2026-07-21 04:11
NickChan[m]erm, tunables in data section
#asahi-re · 2026-07-21 04:11
NickChan[m]and not something inlined in code
#asahi-re · 2026-07-21 04:10
NickChan[m]But amarioguy say those might be caused by ""tunables"" only applied in fuOS case
#asahi-re · 2026-07-21 04:10
djreversing iBoot was helpful to find out about t6050’s new built in transition programs though we’ll need that for sleep stuff to work
#asahi-re · 2026-07-21 04:10
NickChan[m]from how most of the system registers becoming readonly can see how the boot is most definitely different
#asahi-re · 2026-07-21 04:10
djooh interesting
#asahi-re · 2026-07-21 04:10
NickChan[m]dj: guarded execution feature, or: lateral exception levels
#asahi-re · 2026-07-21 04:08
NickChan[m]as for symbol iboot is a raw binary and have no place for symbol, and on production iboots even the asserts are obfuscated
#asahi-re · 2026-07-21 04:08
djsorry I’m a beginner here - what is gxf?
#asahi-re · 2026-07-21 04:06
NickChan[m]It cannot be exactly the same way because gxf doesn't work
#asahi-re · 2026-07-21 04:03
djmaybe matching the addresses will help they’re prolly known somewhere like ADT
#asahi-re · 2026-07-21 04:03
djthis function does very specific weird stuff
#asahi-re · 2026-07-21 04:02
djnow we pray this makes the cores start finally then I can sleep
#asahi-re · 2026-07-21 04:02
djiBoot is booting XNU or m1n1 the exact same way, ofc it had to be m1n1 missing something t6050 specific in startup and going through the disasm helped
#asahi-re · 2026-07-21 04:01
djI found iBoot to be a distraction and completely irrelevant in this tbh
#asahi-re · 2026-07-21 04:01
djnot iBoot, this is production XNU binary
#asahi-re · 2026-07-21 04:00
JamesCalligeros[m]does iboot have symbols
#asahi-re · 2026-07-21 04:00
djtime to implement that into m1n1
#asahi-re · 2026-07-21 04:00
djdid I just find the holy grail
#asahi-re · 2026-07-21 04:00
djAppleT6050PMGR::restoreHW(true)
#asahi-re · 2026-07-21 03:36
djstartup is already very very close to how xnu handles it

plus ›