Skip to content

Compute Module 3/3+ does not boot from eMMC with 1.20250127 or later (U-Boot) #1967

@jens-maus

Description

@jens-maus

Describe the bug
After having received a bug report on one of my public RaspberryPi projects (https://github.com/jens-maus/RaspberryMatic) regarding Compute Module 3/3+ equipped systems not being able to boot anymore (see jens-maus/RaspberryMatic#3046) I investigated the issue myself and found that after simply replacing the start.elf and fixup.dat files in the boot partition with the versions from 1.20241126 the system starts booting correctly again. Further investigation shows that even with the start.elf/fixup.dat of version 1.20250127 Compute Module 3/3+ equipped systems cannot boot anymore and run into the following U-Boot errors and console only:

Image

Please note, that the referenced project (RaspberryMatic) uses U-Boot as a second-level bootloader which supports boot into a recovery partition on GPIO input. This U-Boot boot sequence works fine with rpi-firmware versions older than 1.20250127, Thus, 1.20241126 is the last version allowing to correctly bootup. As soon as start.elf and fixup.dat is used from versions later than 1.20241126 it runs into the shown error messages and cannot obviously load the boot script located on the /boot FAT partition where also config.txt & co are located.

Please note, that the same image boots perfectly with a standard RaspberryPi3(+), so only a Compute Module 3/3+ setup is currently affected as it seems.

To reproduce

  1. Install a latest RaspberryMatic image and try to boot it – note the errors mentioned above
  2. replace start.elf and fixup.dat on the boot partition with the ones from rpi-firmware release 1.20241126
  3. try to perform a boot again and note that U-Boot is now able to find the boot.scr and continues to bootup correctly.

Expected behaviour
Newer rpi-firmware versions > 1.20241126 should still work as expected

Actual behaviour
As mentioned, with rpi-firmware 1.20250127 or newer the included start.elf/fixup.dat combo results in non-bootable U-Boot images.

Logs
see screenshot

Additional context
This issue could be related to #1619 as it shows similar read timeout erros and hsts mentionings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions