Part Number: PROCESSOR-SDK-AM64X
Hi,
We have custom board based on AM6422B. I am trying to flash the emmc from the SD card linux. I have followed below steps from this reference.
echo 0 > /sys/block/mmcblk0boot0/force_ro /* taken u-boot images from the SD card image */ mount -t fat /dev/mmcblk1 dd if=./tiboot3.bin of=/dev/mmcblk0boot0 seek=0 1176+1 records in 1176+1 records out dd if=./tispl.bin of=/dev/mmcblk0boot0 seek=2048 1762+1 records in 1762+1 records out dd if=./u-boot.img of=/dev/mmcblk0boot0 seek=6144 2049+0 records in 2048+0 records out created the mmcblk0p1 partition from the mmcblk0 device and extraxted the rootfs in mmcblkp1 partition
/* Rebooted the board and stopped board at boot prompt and set mmc as below */
mmc partconf 0 1 1 1 mmc bootbus 0 2 0 0
Then changed boot switched to boot the board from emmc. So, I am getting below logs.
U-Boot SPL 2021.01 (Apr 10 2024 - 15:15:46 +0530) EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed 1 Using defaults for SBC Resetting on cold boot to workaround ErrataID:i2331 resetting ... U-Boot SPL 2021.01 (Apr 10 2024 - 15:15:46 +0530) EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed 1 Using defaults for SBC SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar') SPL initial stack usage: 13424 bytes Trying to boot from MMC1
U-boot is not going forward from this point. I tried the steps multiple time but the getting the same issue. Am I doing anything wrong here?
************************************************************************************************************************
Editing my query from here
************************************************************************************************************************
When i try to flash the u-boot, I am getting below error which I didn't noticed before.
# dd if=u-boot.img of=/dev/mmcblk0boot0 seek=6144
dd: error writing '/dev/mmcblk0boot0': No space left on device
2049+0 records in
2048+0 records out
Looks like mmcblk0boot0 is not big enough to hold the u-boot image and giving the space issue error. Is there way to resize the mmcblk0boot0 partition?
Regards,
Jay