2017-03-09 08:30:37 +01:00
|
|
|
rkdeveloptool gives you a simple way to read/write rockusb device.let's start.
|
2017-03-07 09:12:52 +01:00
|
|
|
|
|
|
|
compile and install
|
2017-03-09 08:30:37 +01:00
|
|
|
1 install libusb and libudev
|
|
|
|
sudo apt-get install libudev-dev libusb-1.0-0-dev
|
|
|
|
2 go into root of rkdeveloptool
|
|
|
|
3 make && make install
|
2017-03-07 09:12:52 +01:00
|
|
|
|
2017-03-09 08:30:37 +01:00
|
|
|
rkdeveloptool usage,input "rkdeveloptool -h" to see
|
2017-03-07 09:12:52 +01:00
|
|
|
|
|
|
|
example:
|
|
|
|
1.download kernel.img
|
2017-03-09 08:30:37 +01:00
|
|
|
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
|