I can use uuu to flash i.mx linux bootloader/images, like next:
SDP: boot -f imx-boot-flash_evk
SDPV: delay 100
SDPV: write -f imx-boot-flash_evk -skipspl
SDPV: jump
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: umcd mmc dev ${emmc_dev}
FB: flash -raw2sparse all imx-image.wic
FB: flash bootloader imx-boot-sd.bin-flash_evk
I want to know after device going to "FB" status, can I use fastboot to replace bold part? I mean what's the advantage to use "UUU" compared to use "fastboot tool" after board already in FB status? Thanks.
Hello,
The advantage of the UUU is that it uses ROM api to download bootloader with USB, with the help of which subsequent download functions, such as the fastboot command can be implemented. If there is no bootloader available in the emmc/sd card on the board, then the boot will not be able to start, and the UUU can use the USB to realize the writing in the empty emmc/sd card state. If you have booted on the board and entered uboot cmd then you can use fastboot., but it is not as easy as a few lines of commands in a uuu script.
Best Regards,
Zhiming