2026-01-25 8:27 AM - edited 2026-01-25 8:29 AM
I have a custom board based on STM32MP157FAA.
The SD card boots perfectly in:
ROM boot
TF-A BL2 (FSBL)
But once control reaches U-Boot, the SD card becomes completely unusable and U-Boot shows continuous:
U-Boot cannot read environment, cannot rescan the card, and reports “No block device”.
This is very confusing because the same SD card and hardware clearly work during ROM and TF-A stages.
No SD errors at all.
Also in U-Boot:
No external level shifter
No SD direction pin used
SD is wired directly to SDMMC1
Fixed 3.3V I/O
No card detect pin
PMIC regulator:
No special SDMMC settings exist in the *-u-boot.dtsi.
You can check the included log for more infomations