
in fact, on linux there are only a few basic tools, But in fact, you will only need one of them to flash your rockchip tablet : it is named rkflashtool.
You will need to compile it before using it. Here are the steps :
* get the sources :
git clone git://github.com/justgr/arnova-tools.git
* if you don't have gcc installed, install it.
* install libusb :
sudo apt-get install libusb-1.0-0-dev
* go to the sources directory you got with git :
cd arnova-tools/rkflashtool
* compile rkflashtool :
gcc -o rkflashtool rkflashtool.c -lusb-1.0 -O2 -W -Wall -s
If you want to flash boot.img, for example :
* plug your tablet to your PC
* put it in flash mode
* launch the command :
sudo ./rkflashtool w 0x00008000 0x00002000 < boot.img
If you simply launch rkflashtool with no parameter, it tells you its syntax :
rkflashtool b reboot device
rkflashtool r offset size >file read flash
rkflashtool w offset size <file write flash
For the offset and size parameters, you can find them in the "parameter" file of bob's rom kits.
For example, for the 2.2a Pro rom for arnova 10G2, the parameter file looks like :
FIRMWARE_VER:0.2.3
MACHINE_MODEL:AN10G2
MACHINE_ID:007
MANUFACTURER:RK29SDK
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 2929
CHECK_MASK: 0x80
KERNEL_IMG: 0x60408000
#COMBINATION_KEY: 0,6,A,7,0
CMDLINE: console=ttyS1,115200n8n androidboot.console=ttyS1 init=/init initrd=0x62000000,0x500000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x 00004000@0x00004000(kernel),0x00002000@0x00008000( boot),0x00004000@0x0000A000(recovery),0x00082000@0 x0000E000(backup),0x0003a000@0x00090000(cache),0x0 0400000@0x000ca000(userdata),0x00002000@0x004ca000 (kpanic),0x00096000@0x004cc000(system),-@0x00562000(user)
The last part is what we look for here :
If we split it , we get :
0x00002000@0x00002000(misc),
0x00004000@0x00004000(kernel),
0x00002000@0x00008000(boot),
0x00004000@0x0000A000(recovery),
0x00082000@0x0000E000(backup),
0x0003a000@0x00090000(cache),
0x00400000@0x000ca000(userdata),
0x00002000@0x004ca000(kpanic),
0x00096000@0x004cc000(system),
-@0x00562000(user)
Be careful here, the order of size and offset here is not the same as what rkflashtool takes.
For example, the boot partition is declared as :
0x00002000@0x00008000(boot) , which means size@offset(name)
so the command line for flashing it is :
rkflashtool w 0x00008000 0x00002000 < boot.img
Here it is, you can now flash under linux

And after flashing, simply use "rkflashtool b" to reboot
One more thing to notice, though, this tool doesn't perform a check after flashing, like the windows tool does.
That would not be too hard to implement, though. You can read the image back from the tablet, and compare with the original image, for example.
I hope it will be useful

Comment