Commit Graph

21 Commits

Author SHA1 Message Date
liuyi
ae4252f085 wl to support sparse image
Signed-off-by: liuyi <liuyi@rock-chips.com>
2017-11-15 12:01:30 +08:00
liuyi
3dc7e3ce82 add pgpt command to list gpt info
Signed-off-by: liuyi <liuyi@rock-chips.com>
2017-08-08 09:09:09 +08:00
liuyi
6502326d4d solve the issue that erase flash doesn't work
Signed-off-by: liuyi <liuyi@rock-chips.com>
2017-08-07 17:43:59 +08:00
liuyi
6ae612bebc 1.add "wlx" command support flash image by name
2.flash sparse image by wlx command

Signed-off-by: liuyi <liuyi@rock-chips.com>
2017-08-07 14:39:06 +08:00
liuyi
c29e5f0fb3 1.correct grow partition size error
2.correct backup gpt error
3.add set fixed partition uuid function with parameter_gpt.txt

Signed-off-by: liuyi <liuyi@rock-chips.com>
2017-08-04 16:34:22 +08:00
liuyi
b38fe5fc11 1. idblock support rc4flag in ul handler
2. cut off reset device in ul handler

Signed-off-by: liuyi <liuyi@rock-chips.com>
2017-08-02 10:06:45 +08:00
Eddie Cai
2404a38a33 Merge pull request #11 from afaerber/normal-color
Fix NORMAL_COLOR_ATTR definition
2017-05-16 09:09:56 +08:00
Andreas Färber
9bc231bd38 Show usage on invalid command
Instead of instructing to re-run with -h, just show the usage help.

Signed-off-by: Andreas Färber <afaerber@suse.de>
2017-05-14 19:51:28 +02:00
Andreas Färber
32268622d4 Tweak text output
Add space after comma or colon and before parenthesis and collapse
duplicate space. Don't use parenthesis for progress messages.

Use progressive forms of verbs where suitable.

While at it, replace repetition of function names with macro and rename
one variable.

Signed-off-by: Andreas Färber <afaerber@suse.de>
2017-05-14 19:51:14 +02:00
Andreas Färber
3601cc0888 Fix NORMAL_COLOR_ATTR definition
NORMAL_COLOR_ATTR hardcoded white-on-black text. Fix this to reset to
the actual user-controlled defaults.

This resolves white-on-black text after errors on a black-on-white
terminal (issue #10).

Signed-off-by: Andreas Färber <afaerber@suse.de>
2017-05-14 18:11:47 +02:00
liuyi
e5ee8cc01e main: fix print 'failed to stat config.ini'error
Signed-off-by: liuyi <liuyi@rock-chips.com>
2017-04-25 09:20:40 +08:00
Eddie Cai
d71e8c2048 main: add tag u-boot spl command
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2017-04-18 11:12:05 +08:00
Kever Yang
055958c9e7 main: Do not reset device after ul command success
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-04-18 10:25:58 +08:00
Eddie Cai
641cfa16d6 main: pack command support relative path
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2017-04-18 10:15:19 +08:00
Eddie Cai
78884ef4ba main: add pack and unpack boot loader support
pack and unpack boot loader is very helpful when debug boot loader.
we should support it in rkdeveloptool.

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2017-04-17 18:42:08 +08:00
Eddie Cai
154ee062ef main: modify usage
modify usage to make it more readable

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2017-04-16 21:42:59 +08:00
Eddie Cai
8df2d64a80 main: support lower case command
people use lower case more than upper case. so we should support
lower case command

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2017-04-16 21:39:58 +08:00
Kever Yang
c30d921c26 main: update to version 1.2
- add gpt command to write gpt table
- add ul command, need run db first

Signed-off-by: Liu Yi <liuyi@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: Kever Yang <kever.yang@rock-chips.com>
2017-04-11 18:21:54 +08:00
Trevor Woerner
3af06dfb26 main.cpp: take version information from autotool configuration
The autotool configuration needs to know the version of the project, so
instead of forcing the developer to maintain two version strings and keep them
synchronized, allow the code to take the version string from the autotool
configuration automatically. Hence, only one version needs to be maintained
which is shared between the autotool configuration and the code.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-24 11:00:36 -04:00
Eddie Cai
9908df895e main: fix write_lba fail
the input file of write lba command may not 128 aligned. that may cause write
lba command fail. remove the judge to fix this issue.

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2017-03-15 10:12:30 +08:00
liuyi
76af099afc rkDevelopTool: initial commit
Signed-off-by: liuyi <liuyi@rock-chips.com>
2017-03-07 16:12:52 +08:00