[Pkg-raspi-maintainers] Bug#1055084: Bug#1055084: raspi-firmware: Raspberry Pi 4 fails to boot 6.1.0-13-arm64 reliably (detects /dev/mmcblk0 instead of mmcblk1)

Cyril Brulebois cyril at debamax.com
Tue Oct 31 09:44:33 GMT 2023


Hi Lucas,

Lucas Nussbaum <lucas at debian.org> (2023-10-31):
> After upgrading my RPI4 to bookworm, it no longer boots reliably.
> Sometimes the SD card gets detected as mmcblk0, sometimes as mmcblk1,
> causing the initramfs to fail to find the root filesystem.
> 
> Going back to the bullseye kernel (5.10.0-26-arm64) makes it boot
> reliably, detecting the SD card as mmcblk1.

Using label-based booting makes this issue go away:
  https://salsa.debian.org/raspi-team/image-specs/-/commit/f89f71560d2ca1bd60d97dbb26b89782657d56ae

Before this commit, the first few boots would happen with a label-based
booting, but that would go away as soon as the raspi-firmware hook would
run, leaving you to get either mmcblk0 or mmcblk1 at boot-up.

I only observed that on the Pi 4 family (Pi 4 and Compute Module 4), and
I'm not sure this is directly linked to the Linux version. (I've had a
lot of back and forth due to heavy debugging so I don't recall coming to
a conclusion for that one except “use labels, always”.)


Cheers,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-raspi-maintainers/attachments/20231031/120d83c8/attachment.sig>


More information about the Pkg-raspi-maintainers mailing list