(07-24-2024, 08:32 PM)bits Wrote: Earlier this month, Debian 12 bookworm updated the Linux kernel to 6.1.0-23-arm64 (Debian 6.1.99-1 from 2024-07-15). Rock64 boards upgraded to this Stable release kernel hang during boot after logging failure of mmc_select_hs200 to switch the eMMC bus width to 8:
...
Other hints in that changelog?
Thank you for responding and providing so much info.
The cause for this seems to be coming together as I also had similar boot problems with current rock64 armbian images.
Now I'm wondering if its possible to perhaps find a release candidate (as mentioned in the linked archlinuxarm thread) kernel and drop it on the emmc to get this working. I'm guessing that the dtb somehow matches the kernel version so maybe that would be required too. Of course, then some further intervention would probably be necessary once the patched/fixed kernel becomes available in the standard repos. I'm not entirely familiar yet how to configure linux boot on boards like this since nearly 100% of my experience is on x86 hardware.
A quick look at that changelog looking for (e)mmc related changes shows quite a few. Your hypothesis about changes meant for other rockchip boards impacting rk3328 functionality seems increasingly plausible. As for how to mitigate and eventually fix this problem, I'm not entirely sure yet. If this is a known problem, then perhaps there are already fixes being worked on upstream. I will try to investigate this further to find out more.
EDIT: It took a little while for my post to get approved so your latest response covers the questions and thoughts I had here. Thanks again for all your help and insights into this issue.