#
#asahi-dev · 2026-05-17 19:17
jannaularge pauses seem evenly spaced. I can't imagine that it so slow that it can't even reach 115200bps
#asahi-dev · 2026-05-17 19:15
svenmaybe whatever co-proc runs that debugusb stuff is just busy with something sometimes? or maybe it's just slow? :/
#asahi-dev · 2026-05-17 19:14
jannauI'd expect chainload to work with a very large timeout
#asahi-dev · 2026-05-17 19:08
jannaunot sure why it would do that. maybe there are some fifo maintenance ops required
#asahi-dev · 2026-05-17 19:06
jannaunot sure about that. the chainload issue I've seen was dockchannel_uart_getbyte() spending hundreds of milliseconds in the DATA_RX_COUNT loop every 2048 byte
#asahi-dev · 2026-05-17 18:42
sventhat code is fairly dumb so should hopefully be easy enough to spot the bug
#asahi-dev · 2026-05-17 18:42
yukaAnd otherwise I will try to get it working on my other devices
#asahi-dev · 2026-05-17 18:41
svencould be
#asahi-dev · 2026-05-17 18:41
yukaI think that is a bug in the dockchannel uart code on the m1n1 side
#asahi-dev · 2026-05-17 18:41
yukachainload does not work just like from mac os
#asahi-dev · 2026-05-17 18:41
yukaAppreciated
#asahi-dev · 2026-05-17 18:40
sveni'll try getting some with wireshark and the latest macos
#asahi-dev · 2026-05-17 18:40
svendon't have them because i couldn't easily get the m3 pro into debugusb mode while having my usb sniffer connected. the m3 is my $work machine with MDM crap :(
#asahi-dev · 2026-05-17 18:40
yukaI have read and write working on my neo now, to the point that proxyclient shell works
#asahi-dev · 2026-05-17 18:39
yukasven: debugusb dumps for the m3 (/pro) would be appreciated
#asahi-dev · 2026-05-17 14:57
tryhard[m]this ERROR = 0x4000000 (FLAG=0, STREAM=0x4, CODE=0x0, NO_DAPF_MATCH=0, WRITE=0, SUBPAGE_PROT=0, PTE_READ_FAULT=0, READ_FAULT=0, WRITE_FAULT=0, NO_PTE=0, NO_PMD=0, NO_TTBR=0)
#asahi-dev · 2026-05-17 14:57
tryhard[m]chaos_princess: maybe apple-dart shouldn't be accessing stream 4. anyway this error is not something harmful,
#asahi-dev · 2026-05-17 13:51
sven*replay
#asahi-dev · 2026-05-17 13:51
svenbut that would prove that the issue is inside atcphy somewhere
#asahi-dev · 2026-05-17 13:51
sventhat's gonna be annoying
#asahi-dev · 2026-05-17 13:51
svenone thing i wanted to try is reply the macos atcphy/dwc3/etc. trace while commenting out all of that inside linux and just triggering the acio manually somehow but ugh...
#asahi-dev · 2026-05-17 13:50
svenyeah, i tried hacking around quite a bit and never got anywhere as well :/
#asahi-dev · 2026-05-17 13:48
jannauthere are subtle differences in atcphy. tryting to hack around them hasn't change behavior
#asahi-dev · 2026-05-17 13:47
svenso that leaves something subtle in atcphy i think :(
#asahi-dev · 2026-05-17 13:46
svenwhich i think is confirmed with that new acio log message now
#asahi-dev · 2026-05-17 13:46
sveni think it's atcphy because i went through all commits that touched thunderbolt/ since the last branch that worked and there wasn't anything suspicious there
#asahi-dev · 2026-05-17 13:45
jannautrace diff against macos looks ok-ish. hard to say since macos does on connect a USB3 -> USB3_DP transition
#asahi-dev · 2026-05-17 13:44
sveni think this is an issue inside atcphy fwiw
#asahi-dev · 2026-05-17 13:41
svenpity
#asahi-dev · 2026-05-17 13:41
svenaw... i was hoping they included all the asserts now
#asahi-dev · 2026-05-17 13:40
jannauhttps://paste.debian.net/hidden/1cae8b10
#asahi-dev · 2026-05-17 13:37
svencan you run strings on the acio fw?
#asahi-dev · 2026-05-17 13:37
svenmore verbose logging would've saved me a lot of headaches when i did the initial bringup
#asahi-dev · 2026-05-17 13:36
svenguess i'll have to upgrade my mini to that one
#asahi-dev · 2026-05-17 13:35
jannausven: "System FW version: unknown (mBoot-18000.120.36)" I assume that is 26.5
#asahi-dev · 2026-05-17 13:35
svenhah, so that unknown apple VSE thing is actually called "Lane init parmas" :D
#asahi-dev · 2026-05-17 13:34
chaos_princessno, you call the ioremap or similar with what needs mapping where
#asahi-dev · 2026-05-17 13:34
tryhard[m]chaos_princess: that should happen in apple-dart driver right? or is there someplace else
#asahi-dev · 2026-05-17 13:32
svenwhich macos firmware is that?
#asahi-dev · 2026-05-17 13:32
svenacio used to only contain a single "assert %d violated" string
#asahi-dev · 2026-05-17 13:32
sventhat's new
#asahi-dev · 2026-05-17 13:32
svenhuh, yeah
#asahi-dev · 2026-05-17 13:30
jannauhttps://paste.debian.net/hidden/a67d4eef
#asahi-dev · 2026-05-17 13:29
jannaumaybe just newer ACIO FW with more logging? I have "AppleCIOFirmware-475~290__2026-04-18-18:18" despite the latest installed macOS being 13.5
#asahi-dev · 2026-05-17 13:27
jannauthis isn't much further
#asahi-dev · 2026-05-17 13:26
sveni.e. after writing to that apple VSE register nothing happened
#asahi-dev · 2026-05-17 13:26
svenso before that
#asahi-dev · 2026-05-17 13:26
svenjannau: uh.. i don't quite remember, but I think it didn't even see the connection
#asahi-dev · 2026-05-17 13:24
chaos_princessso just program stream 4 the way it expects
#asahi-dev · 2026-05-17 13:21
tryhard[m]while macos doesnt

plus ›