This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4378: about boot Linux from eMMC

Part Number: AM4378

Hi,

Our customer is trying to boot Linux from eMMC on a custom board. However, he is asking for help because u-boot will not boot up.
This board has SD card in MMC0 and eMMC in MMC1.
When I set SYSBOOT[5:0] to b100100 (MMC0), u-boot and kernel boot from SD card and it recognizes eMMC.
After cutting the eMMC into the same partition as the SD card with the fdisk and mkfs commands, the SD card image is written.
Set SYSBOOT[5:0] to b000100 (MMC1) and turn on the power.
When power is turned on, the following log appears and SPL startup is interrupted.

 U-Boot SPL 2020.01 (May 19 2022 - 20:49:01 +0900)
 WDT:   Not found!
 Trying to boot from MMC2
 spl: could not initialize mmc. error: -19
 SPL: failed to boot from all boot devices
 ### ERROR ### Please RESET the board ###

Since it works from the SD card, it is assumed that MLO/u-boot is ready to boot.
From the log information, it seems that SPL is unable to find u-boot, but it shows MMC2 or something like that.
Is there anything we should notice or try in this situation?

Best Regards,

Kouji Nishigata