Rockchip Firmware Upgrade Guide for Linux users
Rockchip provides a command line utility named "upgrade_tool" under Linux, which support flashing of both update.img and partition images.
In addition, we have two choices with regard to open source tools:
- rkflashtool https://github.com/linux-rockchip/rkflashtool
- rkflashkit https://github.com/linuxerwang/rkflashkit
Both of them only support flashing partition images, not update.img. rkflashtool is a command line tool, and flashkit has a nice and easy to use GUI with command line support lately added.
If you use Upgrade Tool:
There is no need to install device driver. Just connect the device and host PC.
Download Linux_Upgrade_Tool, and install it to host filesystem:
tar xf Linux_UpgradeTool_v1.2.tar.gz
sudo mv upgrade_tool /usr/local/bin
sudo chown root:root /usr/local/bin/upgrade_tool
sudo upgrade_tool uf update.img
Flash partition images:
sudo upgrade_tool di -b /path/to/boot.img
sudo upgrade_tool di -k /path/to/kernel.img
sudo upgrade_tool di -s /path/to/system.img
sudo upgrade_tool di -r /path/to/recovery.img
sudo upgrade_tool di -m /path/to/misc.img
sudo upgrade_tool di resource /path/to/resource.img
sudo upgrade_tool di -p paramater # flash parameter
sudo upgrade_tool ul bootloader.bin # flash bootloader
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
Following instruction is for rkflashkit utility.
sudo apt-get install build-essential fakeroot
sudo apt-get install python-gtk2
sudo dpkg -i rkflashkit_0.1.2_all.deb
$ rkflashkit --help
[args] [ [args]...]
part List partition
Flash partition with image file
Compare partition with image file
Backup partition to image file
reboot Reboot device
For example, flash device with boot.img and kernel.img, then reboot:
sudo rkflashkit flash @boot boot.img @kernel.img kernel.img reboot
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.
Important! 0.5.1 firmware is a release candidate! Soon it will be available via OTA when will turn into a stable version. Changelog 16.05.2022 v.0.5.1 1. HDMI CEC fixes 2. Fixed resetting HDMI sound and passthrou ...
Important! 0.5.0 firmware is a release candidate! Soon it will be available via OTA when will turn into a stable version. Changelog 04.05.2022 v.0.5.0 1. Lots of video codec fixes 2. Removed video codec fixes setti ...
Firmware Update v.1.0.7 for Ugoos AM7 and X4 Family models is now a stable release! Changes announce in coming v.1.0.7 for Ugoos AM7 and X4 Family. Changelog v.1.0.7 1. Fixed formatting some SD cards as device storage 2. Fixed e ...
Firmware Update v.1.0.6 for Ugoos AM7 and X4 Family models is now a stable release! Changes announce in coming v.1.0.6 for Ugoos AM7 and X4 Family OTA update should already come to your Ugoos device running Amlogic S905x4 SoC Changelog 13.01.2021 ...