Hi Lucas,

Lucas Nussbaum <[email protected]> (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/

Attachment: signature.asc
Description: PGP signature

Reply via email to