i generated a minimal yocto image for efusA9 with .sdimg extension. The image can not be written/flashed on the NAND flash due to the NAND flash size capacity. I need to write/flash the image from uboot to the internal 4Gbytes emmc.
Is there any u-boot command which can flash the image from USB to the emmc?
I know i can perform this from linux using dd command, I simply put the image on the usb, mount the usb and use dd to flash the image on /dev/mmcblk2 which represents the emmc card. However, I need to use u-boot to detect the USB and if it finds an image file, then it flashes it on the emmc.
Thanks in advance,