Introduction

This is a universal flashing guide for Rockchip devices. Simply match the boot (system bootloader file) and system (system image file), and you can easily flash the specified system, such as Armbian, OpenWRT, AndroidTV etc.


Prerequisites

Hardware:

  • Rockchip device (e.g., Panther X2, L1-Pro)
  • USB cable (dual-headed USB-A)
  • Computer (Windows (recommended), macOS, Linux)

Software:

  • DriverAssitant (Rockchip driver)
  • RKDevTool (Rockchip flashing tool)
  • BootLoader (system bootloader file)
  • System (system image file)

Flashing Procedure

This guide uses Panther X2 as an example:

  1. Install the Rockchip driver.

Download File : DriverAssitant_v5.1.1.zip

2023-06-27_050728

2023-06-27_050742

2023-06-27_050752

  1. Run the flashing tool.

panther_x_hotspot_helium

Download File : RKDevTool_Release_v2.84.zip

2023-06-24_190159

When the LOADER device is detected, go to the “Advanced Function” tab and enable “Maskrom” mode.

Note: MaskROM is a special type of read-only memory (ROM) made by Rockchip. It is used as an emergency boot mode for repairing or upgrading Rockchip’s system chips.

2023-06-24_190512

Return to the “Download Image” tab.

Click the “Run” button and wait for Download image OK.

Power off and restart to enter the system.


Armbian System Default Information

NameValue
Default IPObtain IP from router
Default accountroot
Default password1234

2023-06-25_182738

StepsDescription
1Set up root password (needs to be entered twice)
2Select 1) bash
3<Ctrl-C> to cancel creating a new account

2023-06-27_135955

2023-06-27_140122


Fixing the Panther X2 USB Unrecognized Issue

Execute as root user:

sudo -i

The system will prompt for a password.

Run the following commands:

cd /boot/dtb/rockchip
dtc -I dtb -O dts rk3566-panther-x2.dtb > rk3566-panther-x2.dts
sed -i '/usb@fcc00000/{:a;n;/.*dr_mode = "otg";/!ba;s/dr_mode = "otg"/dr_mode = "host"/}' rk3566-panther-x2.dts
dtc -I dts -O dtb rk3566-panther-x2.dts > rk3566-panther-x2.dtb

2023-06-27_140859

This command changes the otg to host within the usb@fcc00000 block, meaning it changes the USB mode from OTG to Host mode. The USB device will act as a host, controlling data read and write operations with external devices.

Once the commands are executed, reboot the device for the changes to take effect:

reboot

After the reboot, the USB issues should be resolved, and the USB ports should function as expected in host mode.

2023-06-27_141139


Conclusion

This guide is for informational purposes only and is intended to make it easier for users to find and save the relevant information.