This page describes how to flash the image file from the host to the development board's eMMC flash memory, via the Micro USB OTG cable.
Please choose the right way according to the host OS and image file type.
Download The Firmwares
You can download the prebuilt firmwares at
then we need to extract the firmware(in gzip format), and it's always a good habit to check the md5sum before extracting.
What you need:
- miqi board
- Image file
- Host PC
- Good Micro USB OTG Cable
Supported host OS:
- Windows XP （32/64bit）
- Windows 7 (32/64bit)
- Windows 8 (32/64bit)
- Linux (32/64bit)
install RK USB driver
download DriverAssistant，unzip，run the DriverInstall.exe .
In order to use new driver for all the rockchip devices, please select "驱动卸载"(Driver uninstall), then "驱动安装"(Driver install).
- Press and hold RECOVERY key.
- Use micro USB OTG cable to connect host and device together(the device power on.).
- Wait about 3 second, then release the recovery key
as shown below. Return to previous step to reinstall driver if it is not shown.
Note:If device still can not be found after steps above, then try those again.
Flash the firmware
download the AndroidTool，unzip，run the AndroidTool.exe（note，if in Windows 7/8,Need to press the right mouse button, select Run as administrator），
select "Upgrade Firmare",show below：
Steps of flashing update.img:
- Switch to "Upgrade Firmware" tab page.
- Click "Firmware" button and open the image file. Detail information of the image file, like version and chip, is shown.
- Click "Upgrade" button to start flash.
- If upgrade fails, please try "LowerFormat" in the "Download Image" tab page first, then try again.
WARNING: If you flash firmware laoder different version of the original machine, please click "Erase Flash" before upgrading the firmware.
Download Linux_Upgrade_Tool, and install it to host filesystem:
tar xf Linux_UpgradeTool_v1.2.tar.gz cd Linux_UpgradeTool_v1.2 sudo mv upgrade_tool /usr/local/bin sudo chown root:root /usr/local/bin/upgrade_tool
sudo upgrade_tool uf update.img
If errors occur due to flash problem, you can try to low format, or erase the flash:
upgrade_tool lf # low format flash upgrade_tool ef # erase flash
This is a command line tools,if you want to use the GUI Tool(rkflashkit)，follow this:
sudo apt-get install build-essential fakeroot git clone https://github.com/linuxerwang/rkflashkit cd rkflashkit ./waf debian sudo apt-get install python-gtk2 sudo dpkg -i rkflashkit_0.1.2_all.deb
See the example above, which is really handy to flash multiple images then reboot device in one command, especially good for developers who will compile and flash kernel again and again.
where is the recovery key
how to Enter maskrom mode
if you c'an install the new fireware,then you need to enter the maskrom mode,There are many ways to enter maskrom mode. And MiQi will always be able to enter this mode. You can reference to http://wiki.smartfire.cn/Miqipi/Maskrom