use ref_name as release name
[mfgtools.git] / uuu / nand_burn_loader.lst
blobd81e3cc6342a99ac572df5348822ca1164cd916c
1 uuu_version 1.2.39
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
10 # i.MX8QXP, i.MX8QM
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
15 # {
16 SDPU: delay 1000
17 SDPU: write -f _flash.bin -offset 0x57c00
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 _flash.bin -skipspl
26 SDPV: jump
27 # }
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}
35 FB: Done