3 # @_flash.bin | bootloader, which can extract from wic image
4 # @_image [_flash.bin] | wic image burn to emmc.
7 # This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
8 SDP: boot -f _flash.bin -scanlimited 0x800000
10 # This command will be run when ROM support stream mode
12 SDPS: boot -scanterm -f _flash.bin -scanlimited 0x800000
14 # These commands will be run when use SPL and will be skipped if no spl
15 # SDPU will be deprecated. please use SDPV instead of SDPU
18 SDPU: write -f _flash.bin -offset 0x57c00 -scanlimited 0x800000
19 SDPU: jump -scanlimited 0x800000
22 # These commands will be run when use SPL and will be skipped if no spl
23 # if (SPL support SDPV)
26 SDPV: write -f _flash.bin -skipspl -scanterm -scanlimited 0x800000
27 SDPV: jump -scanlimited 0x800000
30 FB: ucmd setenv fastboot_dev mmc
31 FB: ucmd setenv mmcdev ${sd_dev}
32 FB: ucmd mmc dev ${sd_dev}
33 FB: flash -raw2sparse all _image
34 FB: flash -scanterm -scanlimited 0x800000 bootloader _flash.bin