Skip to main content

Linux Host

File Download

Install rkdeveloptool

rkdeveloptool is Rockchip's software for USB burning on Linux/macOS platforms.

The rkdeveloptool can be thought of as an upgrade_tool for the open source version.

If your operating system does not provide rkdeveloptool, you will need to compile and install it from source.

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/

Enter to Maskrom

  1. Remove the microSD card and power cord
  2. Install the eMMC
  3. Short the Maskrom pin hole with DuPont wire
  4. Connect the USB of the PC host via the USB-A to USB-A cable, and if a device is detected on the PC side, it will enter the Maskrom mode (the OTG connector of the Radxa ROCK 5A is the USB 3.0 port located on the top, which can be connected to the host via the USB-A to USB-A cable to communicate with the host board that enters the Maskrom)
rock 5c maskrom wire

Using rkdeveloptool

Write to a file

tip

rkdeveloptool does not automatically decompress compressed files when writing to them.

You must first extract the used files and specify the extracted files in rkdeveloptool.

tip

rkdeveloptool does not support the selection of a Maskrom device, nor the selection of a storage medium to be written to. Normally, when using rkdeveloptool, only one device and one 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.



1. Extract the image file (see **File Download** above for details of the image file, here rock-5c_debian_bullseye-test_kde_2.img.xz is used as an example)
   xz -d rock-5c_debian_bullseye-test_kde_2.img.xz
2. Flash Loader
   sudo rkdeveloptool db rk3588_spl_loader_v1.08.111.bin
3. Flash System Image
   sudo rkdeveloptool wl 0 rock-5c_debian_bullseye-test_kde_2.img
   

Reboot

sudo rkdeveloptool rd

Login

After rebooting the device, you can log in to the system via HDMI or serial port.

tip

Account and password are both radxa.