Hello,
We are working on AM5728 based custom board and trying to load u-boot and kernel filesystem through eMMC.
The following steps were followed:
1. U-boot and kernel images were compiled and created for custom board
2. Boot Mode is kept at SD-Card, the above-generated images were loaded into SD Card.
3. Board is booting up perfectly and working fine through SD-CARD.
4. eMMc partitions was created successfully for both u-boot (mmc1blk1p1) and kernel ( mmc1blk1p2 )
5. Files for uboot were copied from /run/media/mmc1blk0p1/ to mmc1blk1p1 partition after mounting it.
6. Files for kernel were copied from /run/media/mmc1blk0p2 to mmc1blk1p2 after mounting it properly
7. SD Card was removed and reboot the card.
Following errors are coming while booting from eMMc.
U-Boot SPL 2019.01-g82f62fa-dirty (Aug 09 2021 - 16:52:32 +0530) DRA752-GP ES2.0 Card did not respond to voltage select! Firmware loading failed Size get_effective_memsize = 7f000000 , CONFIG_MAX_MEM_MAPPED = ffffffea80000000 , ram size = 100000000 Trying to boot from MMC2_2 env_init: Environment FAT init done (ret=-2) env_init: Environment MMC init done (ret=-2) Loading Environment from FAT... *********env_fat_load() ************ Card did not respond to voltage select! Failed (-5) Loading Environment from MMC... *********** env_mmc_load() env_mmc_load*********** *** Warning - bad CRC, using default environment BAD CRC Failed (-5) ** Partition 1 not valid on device 1 ** spl_register_fat_device: fat register err - -1 spl_load_image_fat_buf: error reading image u-boot.img, err - -1 env_init: Environment FAT init done (ret=-2) env_init: Environment MMC init done (ret=-2) Loading Environment from FAT... *********env_fat_load() ************ Card did not respond to voltage select! Failed (-5) Loading Environment from MMC... *********** env_mmc_load() env_mmc_load*********** *** Warning - bad CRC, using default environment BAD CRC Failed (-5) spl: no partition table found SPL: failed to boot from all boot devices ERROR ### Please RESET the board ###
Regards
Sahil Kalra