Add option force use OldUSB to compatiable with ubuntun18.04
[mfgtools.git] / uuu / uuu.lst
blob65d5900f3b3ef6956b28eff52ce79bce078f720b
1 uuu_version 1.0.0
3 # uuu(universal update utility) command list file
4 # Firstly line must be uuu_version show minimize uuu host version number
5 # ---------------------------------------------------------------------
6 # Command Format PROTOCOL COMMAND ARG
7 # PROTOCOL
8 #          ALL protocol supported common command
9 #                      done        #last command for whole flow
10 #                      delay <ms>  # delay ms
11 #                      sh\shell <any shell command> #Run shell command, such as wget to file from network
12 #                      <        <any shell command> #use shell command's output as uuu command
13 #                               this command generally used for burn some sequence number, such production id, mac address
14 #                               for example:   
15 #                                      FB:< echo ucmd print
17 #          CFG:  Config protocol of specific usb device vid/pid
18 #                SDPS|SDP|FB\Fastboot|FBK -chip <chip name> -pid <pid> -vid <vid> [-bcdversion <ver>]
20 #          SDPS: Stream download after MX8QXPB0
21 #                      boot  -f  <filename> [-offset 0x0000]
23 #          SDP:  iMX6/iMX7 HID download protocol.
24 #                      dcd   -f  <filename>
25 #                      write -f  <filename> [-addr 0x000000] [-ivt 0]
26 #                      jump  -f  <filename> [-ivt 0]
27 #                      boot  -f  <filename> [-nojump]
28 #                      rdmem -addr <mem_address> -format <8|16|32>
29 #                      wrmem -addr <mem_address> -format <8|16|32> -value <mem_value>
31 #          FB[-t timeout]:\Fastboot: android fastboot protocol. unit of timeout is ms
32 #                      getvar
33 #                      ucmd <any uboot command>
34 #                      acmd <any never returned uboot command, like booti, reboot>
35 #                      flash [-raw2sparse] <partition> <filename>
36 #                      download -f <filename>
37 #                      crc -f <filename> [-format "mmc read $loadaddr"] [-blksz 512] [-each 0x4000000]
38 #                                        [-seek 0] [-skip 0] [-nostop]
39 #                                          each          CRC size each loop
40 #                                          seek          skip bytes from storage
41 #                                          skip          skip bytes from -f
42 #                                          nostop        continue check even if found mismatch
43 #                      write -f <filename> [-format "mmc write $loadaddr"] [-blksz 512] [-each 0x4000000]
44 #                                        [-seek 0] [-skip 0] [-nostop]
45 #                                          each          write size each loop
46 #                                          seek          skip bytes from storage
47 #                                          skip          skip bytes from -f
48 #                                          nostop        continue write even if error occurs
51 #          FBK: community with kernel with fastboot protocol. DO NOT compatible with fastboot tools.
52 #                      ucmd <any kernel command> and wait for command finish
53 #                      acmd <any kernel command> don't wait for command finish
54 #                      sync                      wait for acmd process finish.
55 #                      ucp <soure> <destinate>   copy file from/to target
56 #                                                T:<filename> means target board file.
57 #                                                T:- means copy data to target's stdio pipe.
58 #                                                copy image T:/root/image ;download image to path /root/image
59 #                                                copy T:/root/image image ;upload /root/image to file image.
60 #                      Example for transfer big file
61 #                              acmd tar -            ; run tar background and get data from stdio
62 #                              ucp rootfs.tar.gz T:- ; send to target stdio pipe
63 #                              sync                  ; wait for tar process exit.
65 # For example:
66 #          SDPS: boot -f <filename>
67 #          SDP:  boot -f <filename>
68 #          CFG: SDP: -chip imx6ull -pid 0x1234 -vid 0x5678
70 # SDP: boot -f u-boot-imx7dsabresd_sd.imx -nojump
71 # SDP: write -f zImage -addr 0x80800000
72 # SDP: write -f zImage-imx7d-sdb.dtb -addr 0x83000000
73 # SDP: write -f fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot -addr 0x83800000
74 # SDP: jump -f u-boot-dtb.imx -ivt
76 CFG: FB:  -vid 0x18D1 -pid 0x0D02
77 SDP: boot -f u-boot-dtb.imx
78 FB: getvar version
79 FB: ucmd setenv fastboot_buffer 0x80800000
80 FB: download -f zImage
81 FB: ucmd setenv fastboot_buffer 0x83000000
82 FB: download -f zImage-imx7d-sdb.dtb
83 FB: ucmd bootz 0x80800000 - 0x83000000