#asahi-dev · 2026-07-29 20:10
svenjust patch them to hvc then i guess :D#asahi-dev · 2026-07-29 20:10
svenugh#asahi-dev · 2026-07-29 20:10
chaos_princessand nv makes them trap to el2#asahi-dev · 2026-07-29 20:09
chaos_princessthere are el2 forms of tlbi that undef at el1#asahi-dev · 2026-07-29 20:09
svenhcr#asahi-dev · 2026-07-29 20:08
chaos_princessvia hcr or patching el1 undef?#asahi-dev · 2026-07-29 20:08
svenhrm, though tlbi might not an issue because i trap all of that already for the sprr/gxf emulation#asahi-dev · 2026-07-29 20:07
svenhm, also true#asahi-dev · 2026-07-29 20:07
chaos_princessnv does give you tlbi and at for free*#asahi-dev · 2026-07-29 20:07
sveni.e. if i have to take care of GL12/GL2 crap i may as well just handle the EL part the same#asahi-dev · 2026-07-29 20:05
svenanother reason against NV: they also use the _GL registers, so that would work on M2/M3 but i'd be stuck again on m4+#asahi-dev · 2026-07-29 20:04
svenyup :D#asahi-dev · 2026-07-29 20:03
chaos_princessoh, now i see why you are so interested in sptm :P#asahi-dev · 2026-07-29 20:01
svencan't be worse than fixing thunderbolt :P#asahi-dev · 2026-07-29 19:55
chaos_princessand also AT#asahi-dev · 2026-07-29 19:54
svenyeah :(#asahi-dev · 2026-07-29 19:53
chaos_princessyou may or may not need to also mess with tlbi instructions#asahi-dev · 2026-07-29 19:49
sveni can probably just patch some _EL12 to just _EL1 and just anything that's truly _EL2-only to a hvc and try to emulate it#asahi-dev · 2026-07-29 19:48
chaos_princessdoes it involve running xnu in el0#asahi-dev · 2026-07-29 19:48
sveni have another very cursed idea, but it's also going to be very annoying#asahi-dev · 2026-07-29 19:48
chaos_princesswhich is m2+ :(#asahi-dev · 2026-07-29 19:48
chaos_princessFEAT_NV#asahi-dev · 2026-07-29 19:46
svenbah, this is going to very annoying. both sptm and xnu now seem to make the hard assumption that they run in EL2/GL2 :(#asahi-dev · 2026-07-29 17:03
sofusyuka: sd card seems to work on t6030, at the least just plugging in and mounting does#asahi-dev · 2026-07-29 16:45
yukaalso conditional to t602x#asahi-dev · 2026-07-29 16:45
yuka0x594004080 (apcie[10], offset 0x80) = 0x1#asahi-dev · 2026-07-29 16:45
yuka0x59400c020 (apcie[7], offset 0x4020) = 0x3#asahi-dev · 2026-07-29 16:45
yukaand these:#asahi-dev · 2026-07-29 16:42
yukaat least the ltssm stuff which is conditional to t602x#asahi-dev · 2026-07-29 16:41
yukaI believe there is a part of pcie init missing on t8122, judging by this trace: https://noopwafel.net/asahi/pcie_m3_trace_notes.txt#asahi-dev · 2026-07-29 16:41
yukaor was that just a pwren thing#asahi-dev · 2026-07-29 16:41
yukajannau: the sd card reader was not working for you on t8122/t6030, right?#asahi-dev · 2026-07-29 15:10
chaos_princessoh, nvm, i had a suspicion, but was reading the wrong part of atcphy.c#asahi-dev · 2026-07-29 15:09
sveni even tried all the cables i have#asahi-dev · 2026-07-29 15:09
svenyes :D#asahi-dev · 2026-07-29 15:08
chaos_princesssven: very stupid question, when you were testing tb, have you tried it with cable in both orientations?#asahi-dev · 2026-07-29 13:04
svenshould probably actually install macos 27 at this point#asahi-dev · 2026-07-29 13:04
sven[cpu0] x0 = "%s: Couldn't find nvme-queue-entries"#asahi-dev · 2026-07-29 13:04
sven[cpu0] SPTM breakpoint: panic at 0xfffffff0270f395c#asahi-dev · 2026-07-29 12:28
fl0_idright. whiile I don't know much about internals of video encoding, it seems like a well enclosed project... to at leat get a little bith further#asahi-dev · 2026-07-29 12:26
chaos_princessasc/mailbox, more specifically the isp-like channel system#asahi-dev · 2026-07-29 12:22
fl0_id(afaik)#asahi-dev · 2026-07-29 12:22
fl0_idI get it might not be as useful as avd, but could maybe also use v4l2#asahi-dev · 2026-07-29 12:22
fl0_iddoes anybody know if somebody previously worked a bit on ave? afaik opposed to avd it is based on asc/mailbox and uses an rtkit os, right#asahi-dev · 2026-07-29 10:47
svenonce that works we can move on to usb 3 tunneling (which is likely the easiest), then pcie tunneling (somewhat harder and won't work with very long chains due to the current linux hotplug code) and finally DP (that's gonna be annoying because DCP)#asahi-dev · 2026-07-29 10:46
svenit doesn't bringup pcie or dpd or anything else yet, but the first step is anyway to make it recognize the connection and setup tunnels#asahi-dev · 2026-07-29 10:46
svenunifiedgravity[m]: fwiw, https://github.com/AsahiLinux/linux/tree/sven/tbt-wip is my current (well... months old) work. it bringsup everything with a mmio trace similar to macos iirc but the co-processor then never sees the cable that's actually connected#asahi-dev · 2026-07-29 08:14
svenyou can also pass -S to run guest and you'll be dropped to a shell before the hv starts#asahi-dev · 2026-07-29 08:11
chadmedhypervisor scripts are loaded by the time xnu starts doing things