#
✕ nick:kettenis
#asahi · 2021-05-25 13:37
kettenisis there a particular reason why usb_init() is only called if there is no payload?
#asahi · 2021-05-25 10:55
kettenisthe i2c controller that has the type-C PD chips on it is shared
#asahi · 2021-05-24 19:01
kettenisin that case adding a snps,dwc3 node to the dart diff may not be a bad idea after all
#asahi · 2021-05-24 19:01
kettenisI suppose we can always add one later if it turns out we need it
#asahi · 2021-05-24 18:59
ketteniscorellium needs it for tunables playback
#asahi · 2021-05-24 18:59
kettenismybe not
#asahi · 2021-05-24 18:46
kettenisfor the dwc3 usb controller we probably need a "glue" node that has a "snps,dwc3" node as a child
#asahi · 2021-05-24 18:33
kettenisI wouldn't mix the usb stuff in the dart diff though
#asahi · 2021-05-24 18:33
kettenisseems to be happy with whatever m1n1 has done
#asahi · 2021-05-24 18:32
kettenissven: u-boot doesn't really do any apple-specific stuff for dwc3
#asahi · 2021-05-24 17:55
kettenislooks good to me
#asahi · 2021-05-24 17:12
kettenisoh, that might be interesting for u-boot
#asahi · 2021-05-24 17:10
kettenisto make it work I had to tackkle the dual DART issue
#asahi · 2021-05-24 17:07
kettenisbut plugging the dongle back in doesn't do anything
#asahi · 2021-05-24 17:07
kettenisif I unplug the dongle from the machine devices detach like they should
#asahi · 2021-05-24 17:06
kettenisif I unplug and replug on the type-A side everything works like charm
#asahi · 2021-05-24 17:05
kettenisI have a type-C to type-A dongle in the mix
#asahi · 2021-05-24 17:05
kettenissven: got dwc3 working in OpenBSD as well
#asahi · 2021-05-24 14:46
kettenisplug/unplug and rescan works in u-boot, but I guess rescanning invokes a dwc3 reset
#asahi · 2021-05-24 14:03
kettenisneed to do some shopping first
#asahi · 2021-05-24 14:03
ketteniswill look at that in a bit
#asahi · 2021-05-24 14:01
kettenisthat apparently takes it out of "boot" mode and into normal "S0" mode
#asahi · 2021-05-24 14:00
kettenispart of the magic to getting it work is sending a 'SSPS' command to the type-C PD controller
#asahi · 2021-05-24 13:59
kettenisI can try that in a bit
#asahi · 2021-05-24 13:59
kettenisso you'd have to run a command to rescan the usb bus
#asahi · 2021-05-24 13:58
kettenisu-boot I mean
#asahi · 2021-05-24 13:58
kettenisusb doesn't really support hotplug
#asahi · 2021-05-24 13:57
kettenisprobably not
#asahi · 2021-05-24 13:56
kettenismanaged to get the dwc3 controller working (in host mode) in u-boot
#asahi · 2021-05-22 17:58
ketteniswith the keyboard it takes much longer to time out and boot
#asahi · 2021-05-22 17:58
ketteniswithout the keyboard u-boot boots normally
#asahi · 2021-05-22 17:58
kettenisoh, the weird u-boot/EFI timeout behaviour is related to having a usb keyboard plugged in
#asahi · 2021-05-20 09:50
kettenisonly to realize that the alx.sh link redirects to the new ones and was staring me in the face all along
#asahi · 2021-05-20 09:50
kettenisDuh, had to guess the link to the new logs
#asahi · 2021-05-16 21:22
kettenistogether with a v2 of the pinctrl bindings
#asahi · 2021-05-16 21:20
kettenisok, first attempt at pcie bindings sent to the linux lists
#asahi · 2021-05-15 19:41
kettenisyeah, probably the universe changed around you ;)
#asahi · 2021-05-15 19:32
kettenisissued a PR to fix that
#asahi · 2021-05-15 19:31
kettenissven's PR also broke loading a kernel without explicitly specifying a tty on the command line
#asahi · 2021-05-15 19:11
kettenisyou can't agree on a standard way to boot an OS ;)
#asahi · 2021-05-15 19:10
ketteniswell, that's the problem with you linux people
#asahi · 2021-05-15 19:08
kettenisbut once debian ships with a 5.13 kernel it should at least print some stuff on the console
#asahi · 2021-05-15 19:07
kettenisof course the kernel didn't work because it doesn't have any support for the M1
#asahi · 2021-05-15 19:07
kettenisU-Boot boots GRUB and GRUB boots the kernel
#asahi · 2021-05-15 19:07
kettenisI've already loaded a Linux kernel from a standard arm64 debian installer written to a usb stick
#asahi · 2021-05-15 19:05
kettenisa standard arm64 image should just work
#asahi · 2021-05-15 19:03
kettenisonce evrything works, any linux distro should just work
#asahi · 2021-05-15 18:59
ketteniswonder if that fixes the slowness of netbooting that was reported the other day
#asahi · 2021-05-15 18:58
kettenisjust chain loaded
#asahi · 2021-05-15 18:57
ketteniswonder what changed there

plus ›