Rock/backup
Backup nand partitions
We can backup the nand flash partitions on PC via the USB otg port with rkflashtool.
sudo apt-get install libusb-1.0-0-dev git clone https://github.com/linux-rockchip/rkflashtool cd rkflashtool make
Put your device into Loader Mode and run the following command
sudo ./rkflashtool p > parameter #fetch parameters
open parameter file and check out all the partitions. It's like this mtdparts=rk29xxnand:0x00008000@0x00002000(boot),-@0x0000A000(linuxroot)
rkflashtool r boot > boot.img rkflashtool r linuxroot > linuxroot.ext4 # This will take a long time
Now you have the parameter and the image for all partitions.
Android Backup
Check out Android backup