We're working with a Kria SOM on a custom carrier board. The boot sequence is a typical one: PMU firmware, FSBL, U-Boot (from MMC FAT partition), and Linux (from MMC EXT4 partition). The MMC can be selected as either SD card or the SOM's eMMC. When the selected MMC is the SOM's eMMC, we see intermittent boot failures, failing at the point when U-Boot attempts to read files from the eMMC. Here are some relevant U-Boot messages:
...
mmc0(part 0) is current device
Scanning mmc 0:1...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@ff160000.blk...
MMC: no card present
...
Scanning mmc 0:1...
Found U-Boot script /boot.scr
Error reading cluster
** Unable to read file /boot.scr **
Failed to load '/boot.scr'
## Executing script at 20000000
Wrong image format for "source" command
SCRIPT FAILED: continuing...
** No partition table - mmc 0 **
...
On any given power-up the boot problem may or may not occur. Seemingly, the eMMC does not need to be reprogrammed because the same image may boot successfully on the next power-up.
Any insight or advice on this intermittent boot problem would be greatly appreciated!!
Thanks, Bruce