#
✕ nick:dj
#asahi-re · 2026-07-21 19:17
djtested a read on them, they came back unconfigured. let’s try it out
#asahi-re · 2026-07-21 19:16
djwe shall find out today :) hope for the best. Just found something related to ACC-CTRR etc locks which sptm handles before xnu handoff that might be enabling CPM writes
#asahi-re · 2026-07-21 19:11
djsptm is seemingly doing some setup that m1n1 does not and that’s why we can’t start secondaries, that’s the current theory. If that doesn’t work, I’m out of ideas other than iboot being actually being bugged you may as well be right lol
#asahi-re · 2026-07-21 19:10
djI meant the path from iboot to sptm or iboot to fuos. I was comparing t6050 specific paths so could’ve missed something
#asahi-re · 2026-07-21 19:08
djregular macOS seems to get a flag smth along the lines of apple trusted
#asahi-re · 2026-07-21 19:08
dji did look into iboot’s handoff and there wasn’t much diff in how it performs handoff to us or regular macos. there was some something about svc #2 and svc #3 which was t6050 specific
#asahi-re · 2026-07-21 19:07
djit’s a possibility
#asahi-re · 2026-07-21 19:03
djmaybe it’s a layer up, in sptm
#asahi-re · 2026-07-21 19:03
djtried countless things from xnu that is t6050 specific, like the symbol clearly says so, but it doesn’t work still
#asahi-re · 2026-07-21 19:03
djgonna dig into sptm too
#asahi-re · 2026-07-21 18:58
djlike a bug specific to fuos that doesn’t affect xnu?
#asahi-re · 2026-07-21 14:41
djis it possible to issue a store from el1 somehow
#asahi-re · 2026-07-21 14:25
djeven after settings the pmp bits xnu does, still couldn’t write to CPM + 0x40f8. what sorcery is apple doing
#asahi-re · 2026-07-21 14:08
djyes I’m keeping notes of it
#asahi-re · 2026-07-21 14:07
djwriting to certain regions indeed seems blocked until you enable certain bits, and reversing xnu’s init is helping with exactly that but it’s a tedious process. once it works, I’ll try to narrow it down to exactly what was needed
#asahi-re · 2026-07-21 14:05
djsven: yes I keep finding one init after another that is missing and explains the SError perfectly. lol still haven’t hit the wall
#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: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: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:12
djgotcha
#asahi-re · 2026-07-21 04:11
djinteresting didn’t know Apple gated that feature from fuOS
#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
djooh interesting
#asahi-re · 2026-07-21 04:08
djsorry I’m a beginner here - what is gxf?
#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
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
#asahi-re · 2026-07-21 03:35
djdisassembling private code paths for iBoot handoff or how kernel starts cpu gave nothing useful either heh
#asahi-re · 2026-07-21 03:34
djand that’s set externally somewhere, not the core actually reaching that or executing exception handler at all. the iBoot stuff they added extra was a dead end. It only handles the core power transitions for us and has several presets, including deep sleep, proved to be nothing useful
#asahi-re · 2026-07-21 03:30
djrvbar+0x200 is def an exception vector I’ve verified that through disasm. why it goes there is some missing configuration
#asahi-re · 2026-07-21 03:29
djpretty lost so far. doesn’t seem like chickens are doing anything either since they mainly affect post-fetch execution and stuff like sleep. I’ve tried removing m4 specific assumptions but did nothing too. somewhere between the handoff to m1n1 and before we try to do secondary startup, we’re missing some sort of configuration maybe
#asahi-re · 2026-07-21 01:26
djjust missing the right stuff in chickens, probably the m4 assumptions are bad

plus ›