Go to file
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
cfg update the build system to use autotools 2017-03-24 11:00:36 -04:00
.gitignore update the build system to use autotools 2017-03-24 11:00:36 -04:00
boot_merger.h boot_merger: modify default config file for boot merger 2017-04-18 10:08:50 +08:00
config.ini main: fix print 'failed to stat config.ini'error 2017-04-25 09:20:40 +08:00
configure.ac main: update to version 1.2 2017-04-11 18:21:54 +08:00
crc.cpp main: update to version 1.2 2017-04-11 18:21:54 +08:00
DefineHeader.h main: update to version 1.2 2017-04-11 18:21:54 +08:00
Endian.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
gpt.h main: update to version 1.2 2017-04-11 18:21:54 +08:00
license.txt rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
main.cpp Show usage on invalid command 2017-05-14 19:51:28 +02:00
Makefile.am main: update to version 1.2 2017-04-11 18:21:54 +08:00
parameter_gpt.txt gpt: add parameter sample file for gpt cmd 2017-04-11 18:34:07 +08:00
Property.hpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
Readme.txt readme: add dh-autoreconf to build environment 2017-04-02 20:42:01 +08:00
RKBoot.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKBoot.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKComm.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKComm.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKDevice.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKDevice.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKImage.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKImage.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKLog.cpp main: fix print 'failed to stat config.ini'error 2017-04-25 09:20:40 +08:00
RKLog.h RKLog: disable record log by default 2017-04-18 10:13:25 +08:00
RKScan.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKScan.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00

rkdeveloptool gives you a simple way to read/write rockusb device.let's start.

compile and install
1 install libusb and libudev
	sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf
2 go into root of rkdeveloptool
3 autoreconf -i
4 ./configure
5 make

rkdeveloptool usage,input "rkdeveloptool -h" to see

example:
1.download kernel.img
sudo ./rkdeveloptool db RKXXLoader.bin    //download usbplug to device
sudo ./rkdeveloptool wl 0x8000 kernel.img //0x8000 is base of kernel partition,unit is sector.
sudo ./rkdeveloptool rd                   //reset device