3 # @_flexspi.bin | bootloader
4 # @_image [_flexspi.bin] | image burn to fspinand, default is the same as bootloader
6 # This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
7 SDP: boot -f _flexspi.bin
9 # This command will be run when ROM support stream mode
10 # i.MX8QXP, i.MX8QM, skip QSPI header
11 SDPS: boot -f _flexspi.bin -skipfhdr
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 _flexspi.bin -offset 0x10000 -skipfhdr
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 _flexspi.bin -skipspl -skipfhdr
29 FB: ucmd setenv fastboot_buffer ${loadaddr}
30 FB: download -f _image
32 FB: ucmd if test ! -n "$fastboot_bytes"; then setenv fastboot_bytes $filesize; else true; fi
34 FB[-t 60000]: ucmd fspinand init spi-nand0 ${fastboot_buffer} ${fastboot_bytes}