#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#asahi-re · 2026-07-21 01:25
djgotta tweak the chickens setup in m1n1 more. I’ve verified though the iBoot1 and iBoot2 successfully install the T6050 specific transition programs into two memory locations, so when handoff to m1n1 happens that state is clean and expected#asahi-re · 2026-07-21 00:43
djyeah, sounds right. hopefully simpler for newer chips going forward once m5 pro/max is solved#asahi-re · 2026-07-21 00:42
JamesCalligeros[m]yeah i think in the -dev logs someone mentioned that iboot does chimkens for us now#asahi-re · 2026-07-21 00:40
djFalse positive. iBoot seems to handle all that complexity, we’re just missing proper configuration somewhere. But so far chickens preset for t6050 looks vastly different still#asahi-re · 2026-07-20 23:56
djbad news: it seems to work way more complicated than base m5 or even m4 pro/max, jesus#asahi-re · 2026-07-20 23:51
djgot my hands on t6050’s ibootdata, nice. it has couple skus#asahi-re · 2026-07-20 17:49
yuka(probably t6041 too, don't have one to test)#asahi-re · 2026-07-20 17:48
yukanow someone go write code with that please :)#asahi-re · 2026-07-20 17:47
yukat8132/t6040 pcie moves APCIE_PHY_CTRL_RESET from bit 7 to bit 4#asahi-re · 2026-07-19 08:55
nickchanthat doesn't have an hardware indiactor#asahi-re · 2026-07-19 08:54
nickchanDon't think so except on like macbook neo#asahi-re · 2026-07-19 08:53
chaos_princessdo we want it for anything?#asahi-re · 2026-07-19 08:49
JamesCalligeros[m]dcp 14.x fw makes multiple references to secureindicator but it looks like we can set an IOMF prop to disable/override it all#asahi-re · 2026-07-18 21:17
amarioguybtw important note, i think a bunch of them being 0 is often symptomatic of those registers normally triggering SErrors#asahi-re · 2026-07-18 21:10
amarioguyneed to work on some other stuff now, but will respond later to stuff that comes up#asahi-re · 2026-07-18 21:08
amarioguyplease ping if anyone notices issues with the methodology or with the actual dumps themselves#asahi-re · 2026-07-18 21:08
amarioguymy experiment python file i used for doing the dumps#asahi-re · 2026-07-18 21:08
amarioguyhttps://gist.github.com/amarioguy/d16d92227140d098a6af37058c93c0bf#asahi-re · 2026-07-18 21:05
amarioguyfor 25G5028f#asahi-re · 2026-07-18 21:05
amarioguyhttps://mega.nz/file/A44mkLDD#i8M1-8cFjg8rkij44wbzoKpPYIEzloUlRba9GifGxfI#asahi-re · 2026-07-18 21:05
amarioguyfor 25G5043d#asahi-re · 2026-07-18 21:05
amarioguyhttps://mega.nz/file/UgRjHYbS#mv5FlT4NBxMPsGbH0TXS_-I0y-6APDA1kw2UiDnLwxY#asahi-re · 2026-07-18 20:51
amarioguy(pastebin itself seems obvious...but unsure if it's that great ngl since iirc it started having some login walls)#asahi-re · 2026-07-18 20:50
amarioguyany recommended pastebin site?#asahi-re · 2026-07-18 20:49
amarioguyraw files going up shortly (they don't fit in a github gist)#asahi-re · 2026-07-18 20:49
amarioguyi hope this is helpful for people wanting to RE the sysreg lock mechanism#asahi-re · 2026-07-18 20:49
amarioguyaccesses to 0x211ea2000 seemed to hang, i skipped to 0x211f00000 as i was unsure if other regs in that region also hung m1n1 and didn't have the time to test those in between#asahi-re · 2026-07-18 20:48
amarioguyhere's the diff of that dumped region between the builds#asahi-re · 2026-07-18 20:48
amarioguyhttps://gist.github.com/amarioguy/8d3400e59e5dc24ee36e9afe642e9e03#asahi-re · 2026-07-18 20:48
amarioguyalright#asahi-re · 2026-07-18 20:44
amarioguyah -u makes it more intuitive looking, gotcha, --color as well#asahi-re · 2026-07-18 20:38
amarioguyi don't imagine the standard diff a.txt b.txt is that intuitive...#asahi-re · 2026-07-18 20:38
amarioguyok got both dumps, what diff format do you all prefer#asahi-re · 2026-07-18 20:17
yukaHaving tooling in m1n1 for dumping mmio areas which partially cause SErrors would be very useful#asahi-re · 2026-07-18 20:17
amarioguyi'll post the diff first (in a gist), then i'll send the full raw files separately#asahi-re · 2026-07-18 20:16
amarioguy34 meg file....#asahi-re · 2026-07-18 19:39
amarioguyyea, sync exceptions are handled well, those recover just fine#asahi-re · 2026-07-18 19:39
chaos_princessprobably have them on, we handle sync exceptions correctly, right?#asahi-re · 2026-07-18 19:38
amarioguydid a trial run and some regs were giving sync exceptions, unsure if i should leave those on or not, whatever's more useful#asahi-re · 2026-07-18 19:38
amarioguychaos_princess, yuka: going to post the register dumps to gists along with the diff (between the two beta builds, this is related to RE'ing the mechanism for sysreg locks), should i leave sync exceptions on in DAIF or not?#asahi-re · 2026-07-18 19:26
amarioguyat least i can dump the registers now, so i'll take it i suppose#asahi-re · 2026-07-18 19:26
amarioguyyuka: an update ^#asahi-re · 2026-07-18 19:26
amarioguy(when i unmasked the serrors, i started getting that flood of serrors again)#asahi-re · 2026-07-18 19:25
amarioguytried an experiment where i disabled SErrors in DAIF, read one of the known bad addresses, it read back 0 for it (i doubt it actually read anything however it works at least for suppressing the problem here)#asahi-re · 2026-07-18 19:24
amarioguyso ummmmmmmmmmm seems like disabling serrors entirely works?