#
#asahi-dev · 2023-05-09 12:13
_jannau_doesn't solve the problem of shipping the same problem to users and breaks on the next update
#asahi-dev · 2023-05-09 12:12
chadmed_alyssa: if you dont need any of what u-boot provides you can cat your kernel and initramfs directly to m1n1 stage 2
#asahi-dev · 2023-05-09 12:11
povikso we are probably not clearing the cpu_dai->rate of frontend
#asahi-dev · 2023-05-09 12:11
povikFYI the cpu_dai of BEs and FEs is different
#asahi-dev · 2023-05-09 12:11
povikhttps://github.com/povik/linux/commits/sound/ivsense-improvements
#asahi-dev · 2023-05-09 12:11
povikmarcan: reorganized the hw_params code a bit
#asahi-dev · 2023-05-09 12:06
povikunmaintained, sadly...
#asahi-dev · 2023-05-09 12:06
povikalyssa: https://github.com/povik/petitboot-for-m1-macs :p
#asahi-dev · 2023-05-09 12:05
alyssa(my desktop is tethered boot... m1n1 is excellent and I had no idea how many issues that shielded me from until I got a macbook and installed what we ship and hit boot loops on my first day.)
#asahi-dev · 2023-05-09 12:04
alyssa*sigh
#asahi-dev · 2023-05-09 12:04
alyssaif not for UEFI.. side.
#asahi-dev · 2023-05-09 12:03
alyssamaybe iBoot got this right here.
#asahi-dev · 2023-05-09 12:03
alyssaWondering if u-boot's approach of "be our own kernel and support everyone's hardware" is not great, actually >_>
#asahi-dev · 2023-05-09 12:03
alyssaIt's a shame because the kernels were shipping are rocksolid
#asahi-dev · 2023-05-09 12:00
_jannau_no, probably a different u-boot usb problem
#asahi-dev · 2023-05-09 11:59
_jannau_most recent attempt to get this fixed: https://lore.kernel.org/u-boot/322414817369964463b2ffd89ff1989f@posteo.net/
#asahi-dev · 2023-05-09 11:59
alyssa(a moment passes)
#asahi-dev · 2023-05-09 11:59
alyssaUnexpected XHCI event TBB, skipping... [hex]
#asahi-dev · 2023-05-09 11:59
alyssascanning bus usb@... for devices... WARN halted endpoint, queueing URB anyway
#asahi-dev · 2023-05-09 11:58
kettenisespecially if you can reproduce the issue with u-boot on some other board
#asahi-dev · 2023-05-09 11:58
alyssaDifficult to get good debug output from this since it reboots as soon as it spits out a stack trace, but the problem starts at:
#asahi-dev · 2023-05-09 11:58
povikmarcan: fixup for build failures due to missing thread.atclr: https://github.com/povik/linux/commit/0edfac62e6ee7096aed06869387c28852364de96
#asahi-dev · 2023-05-09 11:58
mpsI'm not using fedora built u-boot but alpine
#asahi-dev · 2023-05-09 11:58
ketteniskeep complaining about this on the u-boot mailing lists ;)
#asahi-dev · 2023-05-09 11:58
alyssa(There's nothing funny about the USB devices, it's a U-Boot bug, so it's unsurprising other devices are affected.)
#asahi-dev · 2023-05-09 11:57
alyssamps: OK
#asahi-dev · 2023-05-09 11:57
mpsalyssa: this also happens to me with one usb-c ssd
#asahi-dev · 2023-05-09 11:56
alyssaSpecifically, if I have plugged in the "Apple USB-C Digital AV Multiport Adapter" ( https://m.media-amazon.com/images/I/31DDmAfrcvL._AC_SL1024_.jpg ), with power plugged connected, a USB Razer mouse plugged in to the type-A port, and no HDMI connection
#asahi-dev · 2023-05-09 11:55
alyssakettenis: With the build of U-Boot that Fedora Asahi is shipping, booting an M1 MacBook Air with certain type-C USB devices plugged in reliably causes a boot loop (requiring me to unplug the devices while booting and then plug back in once booted)
#asahi-dev · 2023-05-09 11:09
marcanfeel free to hack on the code as much as you like
#asahi-dev · 2023-05-09 11:09
marcananyway, going to get some dinner
#asahi-dev · 2023-05-09 11:09
marcan:)
#asahi-dev · 2023-05-09 11:09
povikit just confused me and i was the one who wrote it :D
#asahi-dev · 2023-05-09 11:09
marcanah ok
#asahi-dev · 2023-05-09 11:09
poviki should add a comment
#asahi-dev · 2023-05-09 11:09
povikits not, the bclk_ratio needs to be applied on both frontend and backend
#asahi-dev · 2023-05-09 11:08
marcanseems redundant but I dind't try removing it
#asahi-dev · 2023-05-09 11:08
povikthat explains the name
#asahi-dev · 2023-05-09 11:08
povikah fe_hw_params calls into the general one
#asahi-dev · 2023-05-09 11:08
marcanbut that confused me, I don't get why that calls it
#asahi-dev · 2023-05-09 11:08
marcanvia macaudio_fe_hw_params
#asahi-dev · 2023-05-09 11:07
povikoh it can?
#asahi-dev · 2023-05-09 11:07
poviksince is_sense is a frontend prop and this is hw_params for a backend
#asahi-dev · 2023-05-09 11:07
marcanit can
#asahi-dev · 2023-05-09 11:07
povikmarcan: i think the props->is_sense path in dpcm_hw_params can't get hit
#asahi-dev · 2023-05-09 11:07
marcanwhich is kind of overkill here
#asahi-dev · 2023-05-09 11:07
marcanit's all kind of hacky but at least it fits into the existing framework without major changes, like new UAPI for rate change signaling
#asahi-dev · 2023-05-09 11:06
marcanso it all works out
#asahi-dev · 2023-05-09 11:06
marcanbut the macaudio driver nukes the rate set on the capture path, and if the DAI rate is 0 then the rate equality checks don't apply
#asahi-dev · 2023-05-09 11:06
marcanon the core code (which I ended up not touching)

plus ›