Go to file
liuyi 76af099afc rkDevelopTool: initial commit
Signed-off-by: liuyi <liuyi@rock-chips.com>
2017-03-07 16:12:52 +08:00
config.ini rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
crc.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
DefineHeader.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
Endian.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
license.txt rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
main.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
Makefile rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
Property.hpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
Readme.txt rkDevelopTool: initial commit 2017-03-07 16:12:52 +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 rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKLog.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +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 download libusb source from https://github.com/libusb/libusb.git
2 go into root of libusb
3 ./autogen.sh (libudev must be installed by apt-get install libudev1 or run cmd "./configure --disable-udev")
4 make && make install
5 go into root of rkDevelopTool
6 make && make install

rkDeveloptool usage,input "rkDevelopTool -h" to see

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