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
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
31 FB: ucmd setenv fastboot_dev mmc
32 FB: ucmd setenv mmcdev ${emmc_dev}
33 FB: ucmd mmc dev ${emmc_dev}
34 FB: flash -raw2sparse all _image
35 FB: flash -scanterm -scanlimited 0x800000 bootloader _flash.bin
36 FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
37 FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0