This is an old revision of the document!
This document mainly introduces how to use the USB flash tool to install the OS image to Khadas SBC onboard eMMC.
Dowload the rk_dev_tool and extract it to somewhere.
DriverAssitant
folder, then run DriverInstall.exe
.Unistall
to uninstall.Install
to install.RKDevTool.exe
. Then clink Upgrade Firmware
→Firmware
to select a image.Upgrade
button of the tool and wait for upgrading to complete.Tools were only verified to function properly on Ubuntu. No guarantees were made for other Linux distributions!
Install the dependencies.
$ sudo apt update $ sudo apt install libusb-dev git parted
$ git clone https://github.com/khadas/utils
Or just pull it (if you have already cloned this repository).
$ cd /path/to/utils $ git pull
You need to install USB rules and create some links.
$ cd /path/to/utils $ sudo ./INSTALL
You will see this print-out if it was successful.
Installing Amlogic flash-tool... =============================================== Host PC: Ubuntu 16.04 =============================================== Installing USB rules... [sudo] password for User: Installing flash-tool... Done! Installing Rockchip flash-tool... =============================================== Host PC: Ubuntu 16.04 =============================================== Installing USB rules... Installing flash-tool... Done! Installing Khadas burn-tool... Done!
Root privilege is required.
You must now put your board into Upgrade Mode.
Check to see if Ubuntu has detected your board as an attached USB device.
$ lsusb | grep Rockchip
Bus 003 Device 117: ID 2207:350b Fuzhou Rockchip Electronics Company
The message above means that your board is connected and recogized by Ubuntu.
$ burn-tool -v rk -i /path/to/image
You will see these teminal logs if successful.
Try to burn Rockchip image... Burn to eMMC... Rockchip Android image (or linux image compatible with AndroidTool one image burning) found! Try to burn Rockchip image... Using /storage/code/git/utils/rk-flash-tool/tools/Linux_Upgrade_Tool/config.ini Program Log will save in the /home/nick/upgrade_tool/log/ Loading firmware... Support Type:RK3588 FW Ver:1.0.00 FW Time:2022-04-08 10:31:34 Loader ver:1.01 Loader Time:2022-04-08 10:23:02 Upgrade firmware ok. Time elapsed: 1 minute(s). Done!
For more information please refer to rk-flash-tool docs.
$ cd /path/to/utils $ sudo ./UNINSTALL