3 # @_flash.bin | bootloader
4 # @_image [_flash.bin] | image burn to nand, default is the same as bootloader
6 # This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
7 SDP: boot -f _flash.bin
9 # This command will be run when ROM support stream mode
11 SDPS: boot -f _flash.bin
13 # These commands will be run when use SPL and will be skipped if no spl
14 # SDPU will be deprecated. please use SDPV instead of SDPU
17 SDPU: write -f _flash.bin -offset 0x57c00
21 # These commands will be run when use SPL and will be skipped if no spl
22 # if (SPL support SDPV)
25 SDPV: write -f _flash.bin -skipspl
29 FB: ucmd setenv fastboot_buffer ${loadaddr}
30 FB: download -f _image
31 FB: ucmd if test ! -n "$fastboot_bytes"; then setenv fastboot_bytes $filesize; else true; fi
32 # Burn image to nandfit partition if needed
33 FB: ucmd if env exists nandfit_part; then nand erase.part nandfit; nand write ${fastboot_buffer} nandfit ${fastboot_bytes}; else true; fi;
34 FB: ucmd nandbcb init ${fastboot_buffer} nandboot ${fastboot_bytes}