Hi,
I encounted some problem when I tried to boot device from EMMC boot partition 0. Here is my trying steps:
Platform: AM6412
The SDK version: Processor SDK Linux for AM64X 08_06_00_42
1. I created SDCard with tiboot3.bin / tispl.bin / u-boot.img and then boot the device with the following boot mode configuration.
2. Boot device and enter u-boot shell
3. Flash tiboot3.bin / tispl.bin to eMMC boot partition 0
=> mmc dev 0 1 => fatload mmc 1 ${loadaddr} tiboot3.bin => mmc write ${loadaddr} 0x0 0x800 => fatload mmc 1 ${loadaddr} tispl.bin => mmc write ${loadaddr} 0x800 0x1000
Note: u-boot.img is skipped as the eMMC boot partition has 4MB size limitation. Anyway, it's just a scheme verification, and in this case is
device is expected to boot normally (run R5 spl and A53 spl and stop on loading u-boot.img)
4. Set eMMC boot options
=> mmc partconf 0 1 1 1
=> mmc bootbus 0 2 0 0
5. Power off device and configure the boot mode as:
6. Power on device, monitor the output from serial ouput:
U-Boot SPL 2021.01-gf2a47cd70e-dirty (Oct 31 2023 - 17:09:31 +0800)
EEPROM not available at 80, trying to read at 81
Reading on-board EEPROM at 0x51 failed -1
Resetting on cold boot to workaround ErrataID:i2331
resetting ...
7. Devcie stopped after resetting...
According to the log, device can load and run firmware tiboot3 and R5 spl, but failed to boot anything after soft reset that caused by the Errata i2331 patch.
So, my question is that how to configure device to boot from eMMC boot partition 0/1?
Thanks.