Go to file
Trevor Woerner 5b7562f2de update the build system to use autotools
The autotool system provides a high-level way of specifying what to build,
and then generates Makefile templates based on these requirements as well
as a way of generating Makefiles at build time based on what it finds at
build time (i.e. specifics about the system on which it is being built),
and configuration options set by the user at build time. The nice thing
about autotools is that it better encapsulates distro-specific "gotchas"
that make it hard to create a Makefile by hand which will work on a wide
range of different versions of various UNIX distributions. It also includes
built-in support for out-of-tree build (VPATH), cross-development, and DESTDIR
installs.

These generated Makefiles automatically include support for a wide
range of 'make' targets such as: make, make clean, make install, make
uninstall, make check, make distclean, make dist, make strip, make
distcheck, etc. These targets make it easier to follow the "Makefile
Conventions" of "The Release Process" from the "GNU Coding Standards"
(https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html).

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-24 11:00:36 -04:00
cfg update the build system to use autotools 2017-03-24 11:00:36 -04:00
.gitignore update the build system to use autotools 2017-03-24 11:00:36 -04:00
config.ini rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
configure.ac update the build system to use autotools 2017-03-24 11:00:36 -04:00
crc.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
DefineHeader.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
Endian.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
license.txt rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
main.cpp main: fix write_lba fail 2017-03-15 10:12:30 +08:00
Makefile.am update the build system to use autotools 2017-03-24 11:00:36 -04:00
Property.hpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
Readme.txt update the build system to use autotools 2017-03-24 11:00:36 -04:00
RKBoot.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKBoot.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKComm.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKComm.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKDevice.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKDevice.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKImage.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKImage.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKLog.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKLog.h rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKScan.cpp rkDevelopTool: initial commit 2017-03-07 16:12:52 +08:00
RKScan.h rkDevelopTool: initial commit 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
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