rkdeveloptool/Readme.txt
Eddie Cai 7a9a9fd691 readme: add dh-autoreconf to build environment
as we are using autotools to build rkdevelop. we need to install dh-autoreconf
when setting up build environment.

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2017-04-02 20:42:01 +08:00

18 lines
571 B
Plaintext

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