Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mfgtools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Josh Fleming
mfgtools
Commits
31db983e
Commit
31db983e
authored
Aug 02, 2018
by
Frank Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fine tune help information
Signed-off-by:
Frank Li
<
Frank.Li@nxp.com
>
parent
da4deb2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
uuu/uuu.cpp
uuu/uuu.cpp
+6
-6
uuu/uuu.lst
uuu/uuu.lst
+10
-4
No files found.
uuu/uuu.cpp
View file @
31db983e
...
...
@@ -103,16 +103,16 @@ void print_help()
printf
(
"
\t
Download 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
(
"
\t
Run all commands in file cmdlist
\n
"
);
printf
(
"
\n
"
);
printf
(
"
\n
\n
"
);
printf
(
"uuu [-d -m -v] SDPS: boot flash.bin
\n
"
);
printf
(
"
\t
Run command SPDS: boot flash.bin
\n
"
);
printf
(
"uuu -s
\n
"
);
printf
(
"
\n
uuu -s
\n
"
);
printf
(
"
\t
Enter shell mode. uuu.inputlog record all input's command
\n
"
);
printf
(
"
\t
you can use
\"
uuu uuu.inputlog
\"
next time to run all commands
\n
"
);
printf
(
"
\n
"
);
...
...
uuu/uuu.lst
View file @
31db983e
...
...
@@ -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
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment