#
#asahi · 2022-08-26 15:32
mpsGlanzmann: yes, keyboard now works but it stuck in some steps, have to press key to actually load kernel
#asahi · 2022-08-26 15:17
Glanzmannmps: Here is the 'whitespace rebased patch' that applies for me: https://tg.st/u/0001-usb-request-on-8-bytes-for-USB_SPEED_FULL-bMaxPacket.patch
#asahi · 2022-08-26 15:17
Glanzmannjannau_: += X-tested-by: Thomas Glanzmann <thomas@glanzmann.de>
#asahi · 2022-08-26 15:12
Glanzmannjannau_: Your patch make all my keyboards work.
#asahi · 2022-08-26 15:11
Glanzmannjannau_: The keychron keyboard works as well.
#asahi · 2022-08-26 15:10
GlanzmannYes, it is.
#asahi · 2022-08-26 15:10
_jannau_isn't that just another issue in the u-boot usb stack? I think it was reported before even after the fix to not poll the usb keyboard that often
#asahi · 2022-08-26 15:05
GlanzmannBy 'm1n1' hangs I mean loading of the kernel is dogslow and I need to press keys so that it loads fast.
#asahi · 2022-08-26 15:04
Glanzmannjannau_: WIth your patch my realforce keyboard works, but the m1n1 hangs. But I think I'm on the wrong u-boot branch because your patch did not apply and I had to apply it manually. I'm using: https://pbot.rmdir.de/dp9BUx3rGpgJkvxiJdYveg
#asahi · 2022-08-26 14:37
rmkexcept no link detected on the tg3 network... although mii-tool says the PHY has detected link.
#asahi · 2022-08-26 14:10
rmkyay, success!
#asahi · 2022-08-26 14:10
svenyeah, i kinda forgot about the dts change when I sent the nvme series...
#asahi · 2022-08-26 14:08
rmkpicks some cherries
#asahi · 2022-08-26 14:07
rmkotherwise, I seem to have a booting kernel through to the initramfs
#asahi · 2022-08-26 14:07
_jannau_dts change is in 6.0-rc1
#asahi · 2022-08-26 14:06
rmkand no nvme support in mainline dtb (but there is a driver)
#asahi · 2022-08-26 13:56
rmkah, missing the samsung serial support
#asahi · 2022-08-26 13:54
rmkhmm, last message was "Vectoring to next stage..."
#asahi · 2022-08-26 13:45
_jannau_I think the cpufreq nodes cause problems without the driver
#asahi · 2022-08-26 13:30
svenhttps://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29
#asahi · 2022-08-26 13:27
svenI use m1n1 has a hypervisor for development which will emulate the uart and expose it as a normal cdc ACM device. There’s a wiki page about that somewhere, let me find it
#asahi · 2022-08-26 13:25
rmksven: correct - can I get at that via the usb-c ports?
#asahi · 2022-08-26 13:22
Glanzmannrmk: If you want I can compile a mainline kernel and let you know if it works for me.
#asahi · 2022-08-26 13:22
Glanzmannrmk: Yep, see https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/bootstrap.sh for an example.
#asahi · 2022-08-26 13:22
svenI guess you don’t have a serial console that shows where it crashed
#asahi · 2022-08-26 13:21
rmkit could be that I've missed something in the mainline kernel config
#asahi · 2022-08-26 13:16
svenI don’t think that’s dwc3’s fault
#asahi · 2022-08-26 13:16
kettenisbut rmk claims it makes the mainline kernel crash
#asahi · 2022-08-26 13:16
svenit’ll still work with just snps,dwc3 you just won’t be able to hotplug anything
#asahi · 2022-08-26 13:15
sven*type c phy
#asahi · 2022-08-26 13:15
svenunclear, I still don’t fully understand the entire type c and the interactions with dwc3
#asahi · 2022-08-26 13:12
kettenisdoesn't this mean we should drop the "snps,dwc3" compatible from the device tree?
#asahi · 2022-08-26 13:09
rmkso I need to regenerate boot.bin with the mainline dtb instead?
#asahi · 2022-08-26 13:08
svenyeah. If it wasn’t for that stupid reset quirk I would’ve upstreamed them already :(
#asahi · 2022-08-26 13:06
_jannau_only usb-a ports will work in mainline
#asahi · 2022-08-26 13:05
_jannau_there are some device classes which won't boot without a driver if there's a matching node in the device tree
#asahi · 2022-08-26 13:05
svenI think mainline dtb doesn’t have the usb-c nodes because dwc3 requires a quirk that interacts with the entire thunderbolt/usb3 phy mess. but pcie (and with that Ethernet), nvme and the usb a ports work
#asahi · 2022-08-26 13:03
rmksven: that'll do for starters :)
#asahi · 2022-08-26 13:02
rmk_jannau_: ah, yes, that's exactly what I tried!
#asahi · 2022-08-26 13:02
svenimho mainline can be used for the minis if you just want a headless machine
#asahi · 2022-08-26 13:02
_jannau_rmk: maz does on the mac mini. first suspicion would be running mainline kernel with the dtb from the asahi kernel
#asahi · 2022-08-26 13:02
j`eythe mini's should be fine
#asahi · 2022-08-26 13:02
svenI’m almost exclusively developing on a mainline kernel
#asahi · 2022-08-26 13:01
ChaosPrincessmakes next to no sense to run a mainline kernel on most machines, a lot of stuff isnt upstreamed yet
#asahi · 2022-08-26 13:00
rmkhas anyone run a mainline kernel on the m1 ? I've just attempted to, and it seems to crash at boot
#asahi · 2022-08-26 10:00
_jannau_that sound similar and should fix the issue as well but will slow down usb probing noticable
#asahi · 2022-08-26 09:45
kettenishttps://lore.kernel.org/u-boot/20220826053533.23805-1-ashok.reddy.soma@amd.com/T/#u
#asahi · 2022-08-26 09:44
kettenisjannau: there was another usb patch posted to the u-boot mailing list today:
#asahi · 2022-08-26 09:08
mpslest try again
#asahi · 2022-08-26 09:07
mpstried u-boot with gaming keyboard and it is detected now, but boot is slow if not stopped, had to press enter key to boot after 'Loading vmlinuz' msg

plus ›