added tinyxml2 to macOS.yaml
[mfgtools.git] / uuu / fspinand_burn_loader.lst
blob2a31f63e2f62d54a6fdad914bb48ae66411706eb
1 uuu_version 1.2.39
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
15 # {
16 SDPU: delay 1000
17 SDPU: write -f _flexspi.bin -offset 0x10000 -skipfhdr
18 SDPU: jump
19 # }
21 # These commands will be run when use SPL and will be skipped if no spl
22 # if (SPL support SDPV)
23 # {
24 SDPV: delay 1000
25 SDPV: write -f _flexspi.bin -skipspl -skipfhdr
26 SDPV: jump
27 # }
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}
36 FB: done