Skip to content

Commit

Permalink
Fine tune help information
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Li <Frank.Li@nxp.com>
  • Loading branch information
nxpfrankli committed Aug 3, 2018
1 parent da4deb2 commit 31db983
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
12 changes: 6 additions & 6 deletions uuu/uuu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,16 @@ void print_help()
printf("\tDownload u-boot.imx\\flash.bin to board by usb\n");
printf("\t -d Deamon mode, wait for forever.\n");
printf("\t Start download once detect known device attached\n");
printf("\t -v Print build in protocal config informaiton");
printf("\t -m USBPATH Only monitor these pathes.");
printf("\t -m 1:2 -m 2:3");
printf("\n");
printf("\t -v Print build in protocal config informaiton\n");
printf("\t -m USBPATH Only monitor these pathes.\n");
printf("\t -m 1:2 -m 2:3");
printf("\n\n");
printf("uuu [-d -m -v] cmdlist\n");
printf("\tRun all commands in file cmdlist\n");
printf("\n");
printf("\n\n");
printf("uuu [-d -m -v] SDPS: boot flash.bin\n");
printf("\tRun command SPDS: boot flash.bin\n");
printf("uuu -s\n");
printf("\nuuu -s\n");
printf("\tEnter shell mode. uuu.inputlog record all input's command\n");
printf("\tyou can use \"uuu uuu.inputlog\" next time to run all commands\n");
printf("\n");
Expand Down
14 changes: 10 additions & 4 deletions uuu/uuu.lst
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,29 @@ uuu_version 1.0.0
# ---------------------------------------------------------------------
# Command Format PROTOCOL COMMAND ARG
# PROTOCOL
# ALL protocol supported common command
# done #last command for whole flow
# delay <ms> # delay ms
#
# CFG: Config protocol of specific usb device vid/pid
# SDPS|SDP|FB\Fastboot|FBK -chip <chip name> -pid <pid> -vid <vid> [-bcdversion <ver>]
#
# SDPS: Stream download after MX8QXPB0
# boot -f <filename>
# done #last command for whole flow
#
# SDP: iMX6/iMX7 HID download protocol.
# dcd -f <filename>
# write -f <filename> [-addr 0x000000] [-ivt 0]
# jump -f <filename> [-ivt 0]
# boot -f <filename> [-nojump]
# done #last command for whole flow
#
# FB:\Fastboot: android fastboot protocol
# getvar
# ucmd <any uboot command>
# acmd <any never returned uboot command, like booti, reboot>
# flash [-raw2sparse] <partition> <filename>
# download -f <filename>
#
# FBK: community with kernel with fastboot protocol. DO NOT compatible with fastboot tools.
# ucmd <any kernel command> and wait for command finish
# acmd <any kernel command> don't wait for command finish
Expand All @@ -31,16 +37,16 @@ uuu_version 1.0.0
# T:- means copy data to target's stdio pipe.
# copy image T:/root/image ;download image to path /root/image
# copy T:/root/image image ;upload /root/image to file image.
#
# Example for transfer big file
# acmd tar - ; run tar background and get data from stdio
# ucp rootfs.tar.gz T:- ; send to target stdio pipe
# sync ; wait for tar process exit.
#
# For example:
# SDPS: boot -f <filename>
# SDP: boot -f <filename>
# CFG: SDP: -chip imx6ull -pid 0x1234 -vid 0x5678

#
# SDP: boot -f u-boot-imx7dsabresd_sd.imx -nojump
# SDP: write -f zImage -addr 0x80800000
# SDP: write -f zImage-imx7d-sdb.dtb -addr 0x83000000
Expand Down

0 comments on commit 31db983

Please sign in to comment.