Thursday, November 28, 2013

Write and erase rockchip rk2928 nand partitions

=====ERASE=====
#erase kernel
sudo rkflashtool e 0x00004000 0x00006000
#erase boot
sudo rkflashtool e 0x0000a000 0x00008000
#erase recovery
sudo rkflashtool e 0x00012000 0x00010000
#erase cache
sudo rkflashtool e 0x00042000 0x00040000
#erase userdata
sudo rkflashtool e 0x00082000 0x00200000
#erase system
sudo rkflashtool e 0x00100000 0x00284000
#erase misc
sudo rkflashtool e 0x00002000 0x00002000


=====WRITE=====
#write kernel
sudo rkflashtool w 00004000 0x00006000 < kernel.img
#write boot
sudo rkflashtool w 0x0000a000 0x00008000 < boot.img
#write recovery
sudo rkflashtool w 0x00012000 0x00010000 < recovery.img
#write system
sudo rkflashtool w 0x00100000 0x00284000 < system.img
#write misc
sudo rkflashtool w 0x00002000 0x00002000 < misc.img

No comments:

Post a Comment