rkdeveloptool
rkdeveloptool
This article is not about RKDevTool (for Windows).
rkdeveloptool is a USB flashing software developed by Rockchip for Linux/macOS platforms.
rkdeveloptool can be thought of as upgrade_tool for open source version.
Installation for rkdeveloptool
If your operating system does not provide rkdeveloptool, you will need to compile and install it from source.
- Arch Linux
- Debian
- macOS
The rkdeveloptool can be installed from AUR.
Execute the following command from the command line to install:
sudo apt-get update
sudo apt-get install -y libudev-dev libusb-1.0-0-dev dh-autoreconf pkg-config libusb-1.0 build-essential git wget
git clone https://github.com/rockchip-linux/rkdeveloptool
cd rkdeveloptool
wget https://patch-diff.githubusercontent.com/raw/rockchip-linux/rkdeveloptool/pull/73.patch
wget https://patch-diff.githubusercontent.com/raw/rockchip-linux/rkdeveloptool/pull/85.patch
git am *.patch
autoreconf -i
./configure
make -j $(nproc)
sudo cp rkdeveloptool /usr/local/sbin/
Please install Homebrew first, then run the following command from the command line to install it:
brew install automake autoconf libusb pkg-config git wget
git clone https://github.com/rockchip-linux/rkdeveloptool
cd rkdeveloptool
wget https://patch-diff.githubusercontent.com/raw/rockchip-linux/rkdeveloptool/pull/73.patch
wget https://patch-diff.githubusercontent.com/raw/rockchip-linux/rkdeveloptool/pull/85.patch
git am *.patch
autoreconf -i
./configure
make -j $(nproc)
cp rkdeveloptool /opt/homebrew/bin/
Usage for rkdeveloptool
View connected Maskrom devices
rkdeveloptool ld
Write file
rkdeveloptool does not automatically decompress compressed files when writing to them.
First extract the used files and specify the extracted files in rkdeveloptool.
rkdeveloptool does not support the selection of Maskrom devices, nor can it select the storage media to be written to. Normally when using rkdeveloptool, only a device and a storage medium are connected in hardware. This step cannot be controlled by software.
If you need to write to multiple devices at the same time, use upgrade_tool.
sudo rkdeveloptool db <loader>
sudo rkdeveloptool wl 0 <image>
Download links for the required Loader and Image files can be found below.
SPI U-Boot and Loader
The SPI/U-boot/loader file is related to the SoC model, you can find it in the following list according to the corresponding SoC model of the product.
-
ROCK 3 Family: (Corresponding SoC models: RK3566/RK3568/RK3568J)
-
ROCK 4 Family: (Corresponding SoC models: RK3399/RK3399-T/RK3399(Rockchip OP1))
-
ROCK 5 Family: (Corresponding SoC models: RK3588/RK3588S/RK3588S2)
Reboot device
sudo rkdeveloptool rd