#asahi-re · 2026-05-10 06:44
svenim not, there’s always fast progress at the beginning and then the second 80% take as much time as the first one :D#asahi-re · 2026-05-10 06:44
svenand getting that instruction emulation upstream would be good anyway #asahi-re · 2026-05-10 06:43
svenit’s gonna happen and emulating those is gonna be useful either way #asahi-re · 2026-05-10 06:43
svenright, probably cause you’re not even in bsd init #asahi-re · 2026-05-10 06:42
svenand did you run into other undef instructions? because a lot of Apple ISAs are disabled and I don’t know which are used by xnu #asahi-re · 2026-05-10 06:42
svenhow far does xnu boot? do you reach userspace?#asahi-re · 2026-05-10 06:41
svenso TXM is just emulated as well?#asahi-re · 2026-05-10 06:41
svenbecause that might be more complicated and is required by xnu as well #asahi-re · 2026-05-10 06:41
svenare you dealing with TXM yet?#asahi-re · 2026-05-10 06:40
sventhat doesn’t sound too bad, we might still want to just have documentation for those few complicated functions and have someone else reimplement them just to be safe #asahi-re · 2026-04-17 06:58
svenThese chat rooms are your best bet but not everyone shares their work all the time #asahi-re · 2026-03-28 08:33
svenand then it just spread everywhere#asahi-re · 2026-03-28 08:33
svenJamesCalligeros[m]> Easier to move it to the remote end of a dart than plug all the leaks in iomfb :p <-- the rumor i've heard is that they added dcp for power-saving so that they could do the always on display on the apple watch fwiw#asahi-re · 2026-02-24 17:23
sveni strongly assume that's only going to be available or useful in debug / development builds#asahi-re · 2026-02-24 16:30
svenare you sure it's not bootlooping 3 times very quickly?#asahi-re · 2026-02-18 17:38
sven*doesnt #asahi-re · 2026-02-18 17:37
svenyeah, we suspect that sysreg just didn’t exist anymore due to some define or comment in the xnu source drop #asahi-re · 2026-02-16 13:28
svenany writes to the gxf or sprr config reg faults on m4#asahi-re · 2026-02-16 13:27
svenyeah, we know that we can’t enable gxf on m4 and we know how to enable it before that, see the m1n1 source code #asahi-re · 2026-02-16 12:47
svenhttps://blog.svenpeter.dev/posts/m1_sprr_gxf/ That explains the gxf basics and I think also contains a link to a PPL writeup somewhere #asahi-re · 2026-02-16 08:28
svenand we virtualize that one on m1/2/3#asahi-re · 2026-02-16 08:28
sventhe previous thing was called PPL#asahi-re · 2026-02-10 13:28
svenhttps://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/osfmk/arm64/sptm/start_sptm.s#L34#asahi-re · 2026-02-10 13:27
svenif you look at the open source xnu repo it'll contain some comments regarding what's going on#asahi-re · 2026-02-10 13:27
sventhe kernel is running under sptm there#asahi-re · 2026-02-10 13:27
svenon m4?#asahi-re · 2026-02-10 07:05
svenmaybe next weekend i'll actually have time for debugusb for real this time....#asahi-re · 2026-02-10 06:40
svensame ;)#asahi-re · 2026-02-10 06:39
sventhough i never tested windows I think :D#asahi-re · 2026-02-10 06:39
svenessentially m1n1 just emulates a usb-to-uart converter using a USB device class that has built-in drivers on windows, mac and linux#asahi-re · 2026-02-10 06:32
sveni precisely wrote that thing years ago to make this work with non-apple computers#asahi-re · 2026-02-10 06:31
svenyeah, that's cdc acm and not thunderbolt#asahi-re · 2026-02-10 06:27
svenor do you mean there's just a CDC ACM connection when m1n1 is running? because that's expected#asahi-re · 2026-02-10 06:27
svencan you show the lsusb output? while m1n1 is runnning there shouldn't be any thunderbolt connection possible#asahi-re · 2026-02-10 06:26
sventhat sounds very odd#asahi-re · 2026-01-29 19:11
svenwould be very helpful if you figure out how pmgr works on m4 though #asahi-re · 2026-01-29 19:11
svenNot yet!#asahi-re · 2026-01-28 08:04
svenmight make sense to dump the entire ans3 region and see if there's something that looks like a version#asahi-re · 2026-01-27 22:19
svenand I don’t think there’s any version register or similar we could use to change the offsets with some patch cc‘ed to stable@#asahi-re · 2026-01-27 22:18
svenit’s very annoying they moved registers :/#asahi-re · 2026-01-27 22:15
sven*others #asahi-re · 2026-01-27 22:15
sventhe other usually have a much more powerful iommu called dart #asahi-re · 2026-01-27 22:14
svenjust for the nvme coprocessor #asahi-re · 2026-01-27 22:14
sventhe m1 co-processors already is ans3 fwiw, I messed the name up because I trusted some string the firmware printed #asahi-re · 2026-01-27 22:13
sven*ans#asahi-re · 2026-01-27 22:12
svenonly things listed there can be reached by the and co-processor #asahi-re · 2026-01-27 22:12
svenit’s a very simple memory protection unit #asahi-re · 2026-01-26 21:22
sveni've tried to look at iboot before and it's just painful#asahi-re · 2026-01-26 21:22
svenyeah, i think this is worth a try#asahi-re · 2026-01-26 21:20
sventhat was my point :D