#asahi-dev · 2026-11-09 20:47
svenbut it's trying to read stuff from the device tree around that mov w4, #0x9d#asahi-dev · 2026-11-09 20:47
svenbut I think I found what's wrong anyway. or, well, i have an educated guess because I didn't follow the entire path from failure to that exception#asahi-dev · 2026-11-09 20:46
svenbut i trap all exception to EL1 anyway so something like svc #whatever would work i guess but that's annoying#asahi-dev · 2026-11-09 20:46
svenmaybe, i never looked into gpu stuff#asahi-dev · 2026-11-09 20:45
svenif that doesn't work "bootarg" instead of "bootargstring"#asahi-dev · 2026-11-09 20:45
svensnooze6214[m]: ^--#asahi-dev · 2026-11-09 20:45
sventry self.adt.create_node("/chosen/exclave-misc").bootargstring = self.tba.cmdline in proxyclient/m1n1/hv/__init__.py after e.g. self.adt["product"].exclaves_enabled = 1#asahi-dev · 2026-11-09 20:26
svenyeah, but i think you can only jump to EL1 which makes this annoying#asahi-dev · 2026-11-09 20:25
sveni'd try patching that mov w4, #0x9d in the binary to something that escapes to the hv shell#asahi-dev · 2026-11-09 20:25
svenhrm, there's no way to jump from EL0 directly to EL2, is there?#asahi-dev · 2026-11-09 20:23
svenlike for this non-sense which can't be figure out any other way probably#asahi-dev · 2026-11-09 20:22
svenin general it's also always a last resort#asahi-dev · 2026-11-09 20:22
svenfor exclaves that's fairly harmless since these don't contain any hardware drivers I think#asahi-dev · 2026-11-09 20:21
svenonly if you then don't contribute drivers in that area but write documentation instead#asahi-dev · 2026-11-09 20:19
svenuhhh.... wtf#asahi-dev · 2026-11-09 20:15
sveni'm looking for it in the disassembly, i think it's mov w4, #0x9d#asahi-dev · 2026-11-09 20:03
sventhat's how we all start :D#asahi-dev · 2026-11-09 20:02
svenworth a try maybe#asahi-dev · 2026-11-09 20:02
svenonly if TTBR0 is still valid, that's unfortunately a user space address#asahi-dev · 2026-11-09 20:01
svenso I'd have to reverse engineer where it puts 157 into some register to figure out what's going on#asahi-dev · 2026-11-09 20:01
svenyes.. it's even more annoying because it does have that DERComponentGraph.swift string but I think the panic is along the lines of "... %s:%d", "DERComponentGraph.swift", 157#asahi-dev · 2026-11-09 20:00
svenI'm just very confused by that DERComponentGraph.swift#asahi-dev · 2026-11-09 20:00
svenI suspect it doesn't like something in the device tree because those were the early panic I got and they were somewhat similar#asahi-dev · 2026-11-09 19:58
svenI wanna see that because it might print a more descriptive message before that panic#asahi-dev · 2026-11-09 19:58
svenif you run strings on the exclavebundle there's a lot of stuff that looks like very verbose output#asahi-dev · 2026-11-09 19:57
sventhat would've been very useful because it might just tell us what it hates before that panic#asahi-dev · 2026-11-09 19:56
svenlooks like I don't get any exclave serial output either#asahi-dev · 2026-11-09 19:56
svenheh, okay#asahi-dev · 2026-11-09 19:47
svenso you either get that weird exclave panic or it boots to login screen? :d#asahi-dev · 2026-11-09 19:47
svenlol#asahi-dev · 2026-11-09 19:43
svenis this consistent?#asahi-dev · 2026-11-09 19:43
svenhow?!#asahi-dev · 2026-11-09 19:43
sventhe fuck#asahi-dev · 2026-11-09 19:42
svenwtf, what?!#asahi-dev · 2026-11-09 19:24
sveni guess it somehow has to pass that to XNU anyway so we probably wouldn't get anything this early either way :(#asahi-dev · 2026-11-09 19:14
svener.. yes, you doo#asahi-dev · 2026-11-09 19:14
sven"Exclaves serial disabled: set serial=3" do you have serial=3 in your bootargs?#asahi-dev · 2026-11-09 19:13
sveni wonder if it's possible to enable all of that somehow with a bootarg#asahi-dev · 2026-11-09 19:13
svenhrm.. so running strings on that bundle shows a lot of debug crap but i've seen any of that on serial#asahi-dev · 2026-11-09 19:07
svensnooze6214[m]: just to confirm: the files you extracted are from the same macos version that's installed?#asahi-dev · 2026-11-09 18:52
svenhm, that should be correct then#asahi-dev · 2026-11-09 18:00
svenyou got them from the preboot partition and they both share the same prefix?#asahi-dev · 2026-11-09 17:59
svenit’s failing so early that I suspect the trustcache or integrity catalog is wrong #asahi-dev · 2026-11-09 17:59
svenor look for that string in the userspace code#asahi-dev · 2026-11-09 17:58
sven26 should be fine #asahi-dev · 2026-11-09 17:57
svenreadmem doesn’t work because you’d need to translate that PC via cL4’s pagetable to a physical address first #asahi-dev · 2026-11-09 17:57
svenI’ll try to take a look later #asahi-dev · 2026-11-09 17:56
svenwhich macOS version?#asahi-dev · 2026-11-09 17:55
svenDERComponentGraph Sounds like it’s trying to parse some der certificate file, maybe my heuristic for trustcache and integrity-catalog is wrong? they might contain just that #asahi-dev · 2026-11-09 17:54
svenI think cL4 is running and it’s failing somewhere while the exclaves root task is initialized