Difference between revisions of "Rock/flash the image"
(→The GUI way) |
(→Linux) |
||
Line 14: | Line 14: | ||
== Linux == | == Linux == | ||
− | The initial RE work of the Rockchip bootloader updating protocol is by naobsd and improved by some others in '''rkflashtool''', linuxerwang made the GUI version of the rkflashtool called '''rkflashkit'''. | + | Rockchip officially doesn't provide the tools of upgrading under Linux. The initial RE work of the Rockchip bootloader updating protocol is by naobsd and improved by some others in '''rkflashtool''', linuxerwang made the GUI version of the rkflashtool called '''rkflashkit'''. Note: both '''rkflashtool''' and '''rkflashkit''' can '''not''' flash the [[rock/update.img]] and can only flash in the [[rock/bootloader]] mode, not [[rock/mask rom]] mode because the [[rock/mask rom]] updating protocol is not RE yet. If you are interested in RE the protocol, ping naobad at #radxa. Since the [[rock/bootloader]] remains unchanged for a long time, it's enough for normal usage. |
=== The GUI way === | === The GUI way === | ||
You can download the prebuilt rkflashkit [http://dl.radxa.com/rock/tools/linux/rkflashkit_0.1.1_all.deb here] or build it yourself with the following command: | You can download the prebuilt rkflashkit [http://dl.radxa.com/rock/tools/linux/rkflashkit_0.1.1_all.deb here] or build it yourself with the following command: |
Revision as of 08:43, 20 November 2013
Contents
This page describe how to install the image to the nand flash of radxa rock, ie, how to flash the board.
Before started
What you need to flash the board is:
- a radxa rock board(full version or lite version)
- a desktop/laptop running Windows(XP 32/64bit, Windows 7 32/64 bit) or Linux(32/64bit)
- a micro usb cable, one side plugged in to the OTG port of radxa rock, the other side plugged in to the usb port on desktop/laptop
Windows
Linux
Rockchip officially doesn't provide the tools of upgrading under Linux. The initial RE work of the Rockchip bootloader updating protocol is by naobsd and improved by some others in rkflashtool, linuxerwang made the GUI version of the rkflashtool called rkflashkit. Note: both rkflashtool and rkflashkit can not flash the rock/update.img and can only flash in the rock/bootloader mode, not rock/mask rom mode because the rock/mask rom updating protocol is not RE yet. If you are interested in RE the protocol, ping naobad at #radxa. Since the rock/bootloader remains unchanged for a long time, it's enough for normal usage.
The GUI way
You can download the prebuilt rkflashkit here or build it yourself with the following command:
git clone https://github.com/linuxerwang/rkflashkit cd rkflashkit ./wap debian
Install it with the following command
sudo apt-get install python-gtk2 sudo dpkg -i rkflashkit_0.1.1_all.deb
Run it with the following command
sudo rkflashkit
You can see the interface like this:
Connect the radxa rock board and the pc/laptop, let the board go to rock/recovery mode, you can see the the program detects the board in recovery mode.
- Click the Nand partition, you will see the partitions of the board listed, choose the one you want to flash.
- Choose the location of the image you want to flash to that partition.
- Click "Flash image" button, it will start flashing
- After done, click "Reboot Device" to reboot the board.