[SRU][N:raspi][PATCH 0/7] mmc0 error on boot with eMMC CM5 (LP: #2089555)

Juerg Haefliger juerg.haefliger at canonical.com
Wed Mar 19 09:58:24 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2089555

[ Impact ]

When attempting to boot the Ubuntu 24.04 image on an eMMC variant of the CM5, attached to a
CM4 I/O carrier board, the boot hangs fairly early on, just presumably at the point it
attempts to mount the "real" root. The following error message is repeated on the console:

[   14.648143] mmc0: mmc_select_hs400 failed, error -84
[   14.653123] mmc0: error -84 whilst initialising MMC card

This occurs with both the noble release kernel (6.8.0-1004.4), and with an image built from
up to date sources using the noble-updates kernel (6.8.0-1015.17). I haven't managed to test
the noble-proposed kernel (6.8.0-1016.18) yet.

The issue doesn't occur with the oracular image (with kernel 6.11.0-1004.4).

I'll attach the output from the serial console from as far as it got.


[ Fix ]

Update Pi5/CM5 DTB.


[ Test Case ]

Boot CM5 from eMMC. Verify rebooting is working as well.


[ Where Problems Could Occur ]

DTB fixes are Pi5/CM5 specific, so only Pi5/CM5 might exhibit problems introduced by this fix.
Other Pis shouldn't be affected by this change.


Jonathan Bell (3):
  DTS: bcm2712: emmc2 clock frequency is 200MHz
  DTS: bcm2712: defer SDIO1 CQE selection to the board dtb
  dts: bcm2712: cm5: fix typo and declare HS400es support

Phil Elwell (3):
  dts: bcm2712: cm5: There is no card detect signal
  dts: bcm2712: cm5: Add antenna controls
  dts: bcm2712: cm5: Force the ANT pins to GPIOs

Tim Gover (1):
  dts: bcm2712: cm5: Disable HS400

 .../arm/boot/dts/broadcom/bcm2712-rpi-5-b.dts |  1 +
 .../boot/dts/broadcom/bcm2712-rpi-cm5.dtsi    | 44 +++++++++++++++----
 arch/arm/boot/dts/broadcom/bcm2712.dtsi       |  3 +-
 arch/arm/boot/dts/overlays/README             | 10 +++--
 4 files changed, 45 insertions(+), 13 deletions(-)

-- 
2.43.0




More information about the kernel-team mailing list