xref: /rkdeveloptool/Readme.txt (revision 987045955338def83a10e0d352350dcdc72cb79a)
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.aclocal
84.autoreconf -i
95.autoheader
105.automake --add-missing
114 ./configure
125 make
13
14rkdeveloptool usage,input "rkdeveloptool -h" to see
15
16example:
171.download kernel.img
18sudo ./rkdeveloptool db RKXXLoader.bin    //download usbplug to device
19sudo ./rkdeveloptool wl 0x8000 kernel.img //0x8000 is base of kernel partition,unit is sector.
20sudo ./rkdeveloptool rd                   //reset device
21
22compile error help
23if you encounter the error like below:
24./configure: line 4269: syntax error near unexpected token `LIBUSB1,libusb-1.0'
25./configure: line 4269: `PKG_CHECK_MODULES(LIBUSB1,libusb-1.0)'
26
27You should install pkg-config libusb-1.0:
28	sudo apt-get install pkg-config libusb-1.0
29