#asahi-dev · 2023-02-20 12:03
jannauwe also have to fix bolt on asahi linux (or there's a problem with my kernel config). it doesn't display the host controller. boltd log shows some dmidecode errors. sounds like it might need to learn that thunderbolt is not x86/acpi specific#asahi-dev · 2023-02-20 12:03
svenalso needs resets = <&ps_atc1_pcie>; in the DT #asahi-dev · 2023-02-20 12:02
svenhttps://f.svpe.de/878811a432bd414d3257a1feddc54018b11c000385e39184d74c6c8c4a21a26b_0001-WIP-PCI-apple-PMGR-reset-hack.patch#asahi-dev · 2023-02-20 11:59
sventhat at least fixes the hub being recognized more than once#asahi-dev · 2023-02-20 11:59
svenand I have a rather ugly hack locally that performs a PMGR pcie reset every time the tunnel is brought down#asahi-dev · 2023-02-20 11:59
svenI haven't seen the M3 boot failure ever :/#asahi-dev · 2023-02-20 11:58
jannauyes, I think replugging the hub requires a reset and sometimes results in the M3 failed to boot#asahi-dev · 2023-02-20 11:57
jannauthere is however no nvme block device#asahi-dev · 2023-02-20 11:57
svenmaybe enable nvme debug as well? but I’d expect to see an error #asahi-dev · 2023-02-20 11:57
svenuh. that sounds like it should work :/#asahi-dev · 2023-02-20 11:57
jannaunvme 0000:03:00.0: enabling device (0000 -> 0002)#asahi-dev · 2023-02-20 11:56
jannauthe device is visible in lspci and the kernel detects a nvme device but it ends with#asahi-dev · 2023-02-20 11:56
sveni also can’t get my usb4 hub (goshen ridge) to work twice without manually doing a full pcie reset inbetween #asahi-dev · 2023-02-20 11:55
svenhmm… nvme should just be tunneled pcie as well#asahi-dev · 2023-02-20 11:55
jannauI can't get the nvme to work however#asahi-dev · 2023-02-20 11:54
jannausven: tb seems to work for the most part. connected to the thunderbolt4 hub (goshen ridge) with i225 pcie ethernet and alpine ridge nvme case (directly and through a downstream port on the hub)#asahi-dev · 2023-02-19 21:26
svenor maybe it has to be done after the rtkit stuff#asahi-dev · 2023-02-19 21:25
svenhrm, maybe the timeout is too low#asahi-dev · 2023-02-19 21:25
svenusually the error mode here is just “nhi comes up but can’t establish a connection so that it never sees a hotplug event”#asahi-dev · 2023-02-19 21:25
jannauI see that occasionally#asahi-dev · 2023-02-19 21:24
svenstill weird that it failed with that m3 error though #asahi-dev · 2023-02-19 21:24
svenyeah, those needs special treatment in that vse apple field #asahi-dev · 2023-02-19 21:22
jannausven: works now somewhat. it was an active cable#asahi-dev · 2023-02-19 19:02
ChaosPrincessok#asahi-dev · 2023-02-19 19:02
svenand held together by duct tape #asahi-dev · 2023-02-19 19:01
svenyes#asahi-dev · 2023-02-19 19:01
ChaosPrincessthat is only t8103 rn, no m1 pro/max?#asahi-dev · 2023-02-19 18:59
svenah yes, and now the build bots have started screaming at me :D#asahi-dev · 2023-02-19 18:35
svendunno what’s going on, never saw that here#asahi-dev · 2023-02-19 18:35
svener, wait, it fails even before that#asahi-dev · 2023-02-19 18:34
svenis rtkit debug enabled? #asahi-dev · 2023-02-19 18:33
svenhm, weird #asahi-dev · 2023-02-19 18:30
jannauirqs work now and the thunderbolt connection is detected. it fails with "-ETIMEDOUT: M3 firmware failed to boot"#asahi-dev · 2023-02-19 18:26
svenit still works in usb2 mode here fwiw#asahi-dev · 2023-02-19 18:26
svenbut dwc3 shouldn’t care #asahi-dev · 2023-02-19 18:26
svenyeah, that’s the hack that makes tbt work and breaks everything else :D#asahi-dev · 2023-02-19 18:22
jannauyou changed the default mode from usb to usb4 in tipd#asahi-dev · 2023-02-19 18:21
jannaualready trying that#asahi-dev · 2023-02-19 18:20
svenyou can probably just drop the connection to dwc3 from tipd for now though #asahi-dev · 2023-02-19 18:19
svenstill strange that that happens because I don’t think I changed anything there #asahi-dev · 2023-02-19 18:19
svenI don’t remember which part but if some but in the usb2 phy part isn’t set it cleared the soft reset bit inside dwc3 is stuck #asahi-dev · 2023-02-19 18:18
svensoft reset fail happens when atcphy isn’t fully initialized #asahi-dev · 2023-02-19 18:18
svenI knew that I broke usb but I didn’t expect it to break that badly #asahi-dev · 2023-02-19 18:17
svenuh.. #asahi-dev · 2023-02-19 18:16
jannauno, dwc3 fails to probe with "DWC3 controller soft reset failed."#asahi-dev · 2023-02-19 18:08
svenmaybe nhi fails to probe somehow?#asahi-dev · 2023-02-19 18:07
svenweird that it works for me though #asahi-dev · 2023-02-19 18:07
svenhmm.. it’s connected to that nhi now#asahi-dev · 2023-02-19 18:04
jannauno, I didn't but there is something missing since usb-pd@3f is deferred. I assumed that was the one connected to the hv port#asahi-dev · 2023-02-19 18:01
svenatcphy0 is the one closer to the power plug on the mini iirc