xref: /rkdeveloptool/Readme.txt (revision f10e8d327495962afe5bedeebfed510acf7310df)
1rkdeveloptool gives you a simple way to read/write rockusb device.let's start.
2
3compile and install
41. install libusb and libudev
5	sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf
62. go into root of rkdeveloptool
73. ./autogen.sh
84. ./configure
95. make
10
11rkdeveloptool usage,input "rkdeveloptool -h" to see
12
13example:
141.download kernel.img
15sudo ./rkdeveloptool db RKXXLoader.bin    //download usbplug to device
16sudo ./rkdeveloptool wl 0x8000 kernel.img //0x8000 is base of kernel partition,unit is sector.
17sudo ./rkdeveloptool rd                   //reset device
18
19compile error help
20if you encounter the error like below:
21./configure: line 4269: syntax error near unexpected token `LIBUSB1,libusb-1.0'
22./configure: line 4269: `PKG_CHECK_MODULES(LIBUSB1,libusb-1.0)'
23
24You should install pkg-config libusb-1.0:
25	sudo apt-get install pkg-config libusb-1.0
26