Part Number: PROCESSOR-SDK-AM64X
Hello,
I'm trying to boot from emmc.
When following the instructions from the Manual (booting from emmc) it boots, when the sd card is still plugged.
After unplugging the sd card the boot fails:
U-Boot 2021.01-g53e79d0e89 (Aug 10 2021 - 21:47:02 +0000) SoC: AM64X SR1.0 Model: Texas Instruments AM642 EVM Board: AM64-GPEVM rev E2 DRAM: 2 GiB MMC: mmc@fa10000: 0, mmc@fa00000: 1 In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000 Hit any key to stop autoboot: 0 MMC: no card present SD/MMC found on device 1 MMC: no card present
I can modify the u-boot env mmcdev=0 and bootpart=0 to get the target booted. But I cannot save the env.
There seem to be a workaround for that in another thread:
u-boot changes to save environment values to root fs in emmc
So far so good.
But now I follow the simple approach to flash the mmc image into the emmc: (xzcat *wic.xz | dd of=/dev/mmcblk0 bs=1M).
That means: SPL and u-boot are located in a fatfs instead of boot-partition of the emmc.
But unfortunally the board is not booting:
U-Boot SPL 2021.01-g53e79d0e89 (Jul 21 2021 - 18:14:50 +0000) SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam') SPL initial stack usage: 13392 bytes Trying to boot from MMC1 init_env from device 9 not supported! Starting ATF on ARM64 core...
Isn't it possible to boot from emmc in fat mode?