I use i.MX8MQ.
I want to flash u-boot to emmc by using uboot.
I run the follow commands:
fatload mmc 0:1 ${loadaddr} flash.bin
mmc write ${loadaddr} 0x21 <u-boot image size in blocks>
but, failed. I also try change 0x21 to 0x42 or 0x2 ,all fails.
Please help me,thank you very much!
Solved! Go to Solution.
Hi 1053387324
for various emmc programming options one can look at
https://boundarydevices.com/programming-emmc-on-i-mx-platforms/
Best regards
igor
I also try the u-boot ums function.
when in host ubuntu, I find the new device /dev/sdb , /dev/sdb1, /dev/sdb2,then I use the fllow command to flash img
sudo dd if=$BOOT_DIR/flash.bin of=/dev/sdb seek=33 bs=1k conv=fsync
the u-boot version is not changed.
Hi 1053387324
for various emmc programming options one can look at
https://boundarydevices.com/programming-emmc-on-i-mx-platforms/
Best regards
igor