Peter Robinson aca206f7e9 Use signed char for variable
Architectures other than x86 don't by default treat char as signed so
be explicit so the build doesn't fail when building on other arches
such as Arm.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2019-06-28 12:06:34 +01:00
2018-03-18 04:32:46 +08:00
2018-04-30 22:37:31 +08:00
2018-04-30 22:37:31 +08:00
2018-09-06 21:57:26 -07:00
2017-04-11 18:21:54 +08:00
2017-03-07 16:12:52 +08:00
2017-04-11 18:21:54 +08:00
2017-03-07 16:12:52 +08:00
2019-06-28 12:06:34 +01:00
2017-03-07 16:12:52 +08:00
2017-03-07 16:12:52 +08:00
2017-03-07 16:12:52 +08:00
2018-03-28 09:22:40 +08:00
2018-03-28 09:22:40 +08:00
2018-03-28 09:22:40 +08:00
2018-03-28 09:22:40 +08:00
2017-03-07 16:12:52 +08:00
2017-03-07 16:12:52 +08:00
2017-04-18 10:13:25 +08:00
2018-03-18 04:32:46 +08:00
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 install libusb and libudev
	sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf
2 go into root of rkdeveloptool
3 autoreconf -i
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 
Description
No description provided
Readme 216 KiB
Languages
C++ 94.8%
C 3.9%
CMake 0.7%
M4 0.3%
Makefile 0.3%