#asahi-dev · 2026-02-06 16:04
sveni'm confused, what is never going to happen?#asahi-dev · 2026-02-06 16:03
svennone#asahi-dev · 2026-02-06 15:18
sveni've tried applying them to see if they help with the 5s delay for usb3 devices but they didn't change anything#asahi-dev · 2026-02-06 15:17
svenyes, one of them is e.g. just "set this documented dwc3 register to host mode" which the driver does anyway#asahi-dev · 2026-02-06 14:42
sveniirc it really should just be different tunables#asahi-dev · 2026-02-06 14:26
svenhuh#asahi-dev · 2026-02-06 14:25
sventhat commandline should literally enable every single debug thing i was able to find related to usb :D#asahi-dev · 2026-02-06 14:23
svenshould be in there i think#asahi-dev · 2026-02-06 12:09
svenwe shouldn't add special support for any OS, just load to u-boot and take it from there#asahi-dev · 2026-02-06 11:19
sven*where#asahi-dev · 2026-02-06 11:18
sventhat's how all the #defines in atcphy come from#asahi-dev · 2026-02-06 11:18
svenyuuup#asahi-dev · 2026-02-06 11:03
svenno idea, that commandline has just been growing from when we did the initial bringup years ago#asahi-dev · 2026-02-06 11:00
svennot sure what's actually required there but that should give you very verbose usb debug output#asahi-dev · 2026-02-06 10:59
svennoopwafel: ^--#asahi-dev · 2026-02-06 10:59
svenAppleTypeCPhyUSBInterface-debug=0xffff AppleUSBHostResourcesTypeC-debug=0xffff#asahi-dev · 2026-02-06 10:59
svendebug=0x14e serial=3 apcie=0xfffffffe wdt=-1 AppleSynopsysDRDUSBXHCI-debug=0xffff AppleT8103TypeCPhy-debug=0xffff AppleT8103USB40XHCITypeCPort-debug=0xffff AppleT8103USBXDCI-debug=0xffff AppleTypeCPhy-debug=0xffff AppleTypeCPhyCIOInterface-debug=0xffff AppleTypeCPhyDisplayPortInterface-debug=0xffffffff AppleTypeCPhyInterface-debug=0xffff#asahi-dev · 2026-02-06 10:59
sven*it#asahi-dev · 2026-02-06 10:59
svenit's definitely can't hurt and if you think it helps other people out go for it#asahi-dev · 2026-02-06 10:56
sventhat’s all the documentation there is #asahi-dev · 2026-02-06 10:56
svenyeah #asahi-dev · 2026-02-06 10:54
svenNot really, there’s usually some python scripts but that’s a similar level of documentation as the drivers #asahi-dev · 2026-02-06 10:48
svenbut other than tunables it’s the same driver essentially #asahi-dev · 2026-02-06 10:48
svenyeah, that’s what I assumed from looking at the adt ages ago #asahi-dev · 2026-02-06 10:47
svenIt’ll tell you which tunables it applies #asahi-dev · 2026-02-06 10:47
svenI can send you xnu bootargs later #asahi-dev · 2026-02-06 10:46
svenMaybe #asahi-dev · 2026-02-06 10:46
svenbut then it’s gonna work once #asahi-dev · 2026-02-06 10:46
svenyou could also use the generic snps,dwc3 or whatever compatible in the dwc3 node and remove all tipd and phy references #asahi-dev · 2026-02-06 10:45
svenlol :D#asahi-dev · 2026-02-06 10:44
sveneasiest way is to add empty tunables, it should fall back to usb2 only then #asahi-dev · 2026-02-03 15:43
svendevice mode hasn’t been well tested outside of cdc acm even on m1/m2 fwiw#asahi-dev · 2026-02-03 13:34
svenFixing tunables then gives you usb3 #asahi-dev · 2026-02-03 13:34
sven*fwiw#asahi-dev · 2026-02-03 13:34
svenif you just ignore tunables in atcphy but get everything else working you’ll end up with usb2 fwi#asahi-dev · 2026-01-30 11:22
svenhttps://github.com/AsahiLinux/m1n1/blob/c3def7d3c4a26d7799ddbcea4ab3ed5ab90a7e6c/src/kboot.c#L178 that one i think#asahi-dev · 2026-01-30 11:21
svenyeah, should be in kboot.c#asahi-dev · 2026-01-30 10:35
svenit gets better and easier later once the foundation is stable but that's still gonna take a while#asahi-dev · 2026-01-30 10:34
svenanother issue is that "very early bringup" and "short on time" usually doesn't go all that great together #asahi-dev · 2026-01-30 09:09
svensounds good to me#asahi-dev · 2026-01-30 09:04
svenwe need to understand why that happens. commenting out functions for testing is fine ofc, but we need to udnerstand why that needs to be commented out#asahi-dev · 2026-01-30 09:01
sveni knew it was emulated but i really didn't expect them to change it#asahi-dev · 2026-01-30 09:01
svenit's annoying that they changed the MMIO interface with a firmware update :/#asahi-dev · 2026-01-30 08:56
svenwhat was the macos that was released with m5?#asahi-dev · 2026-01-30 08:53
svenonce this moves from "early bringup" to "ready for early testers" we need to decide which firmware version we're going to support as well#asahi-dev · 2026-01-30 07:14
svenoh sure, that's fine#asahi-dev · 2026-01-30 07:13
svenwe're trying to decrease the downstream maintenance burden here and not increase it again ;)#asahi-dev · 2026-01-30 07:12
sven(unless it's just adding an odd compatible here and there)#asahi-dev · 2026-01-30 07:12
svenwe've had too much pain with those in the past