-
Notifications
You must be signed in to change notification settings - Fork 109
/
Readme.txt
28 lines (23 loc) · 910 Bytes
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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.aclocal
4.autoreconf -i
5.autoheader
5.automake --add-missing
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
compile error help
if you encounter the error like below:
./configure: line 4269: syntax error near unexpected token `LIBUSB1,libusb-1.0'
./configure: line 4269: `PKG_CHECK_MODULES(LIBUSB1,libusb-1.0)'
You should install pkg-config libusb-1.0:
sudo apt-get install pkg-config libusb-1.0