System Image Flashing
1. Preparation Work
The factory-installed image is mainly used to test whether the interface functions of the development board are normal, and its update frequency is relatively low. To ensure the normal operation of the development board, it is recommended that upon receiving the development board, users use tools such as a USB Type-A to Type-C data cable to flash the system image provided in the network disk by themselves.
2. Image Download
The Luckfox Nova provides the buildroot image. Users can download the image file according to their own needs.
| Version | Description | Download |
|---|---|---|
| Builldroot | Supports flashing to the eMMC storage medium | Google Driver |
3. Driver Installation
- Download the RK Driver Assistant DriverAssitant.
- Open RK Driver Assistant to install the USB driver. No device connection is required during installation. Restart the computer after the installation is complete.
4. Enter the Flashing Mode
The Loader mode and the MaskRom mode are two common device upgrade modes used to load firmware or boot programs.
- The Loader mode loads via the boot program at the software level and is usually used for operations such as firmware upgrades.
- The MaskRom mode is a hardware - level startup mode that operates by directly loading the firmware and is typically used for factory flashing or device repair.
Force the board into MaskRom mode only when it cannot enter Loader mode, for example after flashing an incorrect image or modifying U-Boot.
4.1 Loader Mode
The board comes with a factory-installed test image for verifying its functions. After receiving the board, flash the image provided through the download link. Before flashing the system, switch the board to LOADER or MASKROM mode. LOADER mode is recommended whenever possible.
- Download and open RKDevTool.
- Hold down BOOT while connecting the board to the computer. Release BOOT after
Found One LOADER Deviceappears in RKDevTool. - If the board is already connected, you do not need to disconnect it. Hold down RESET, then hold down BOOT. Release RESET, and release BOOT when the device is detected in LOADER mode.

- If the board is not detected as a Loader device, check Device Manager and verify that the board is recognized correctly in flashing mode:

4.2 Force MaskRom Mode (Use with Caution)
If the device cannot enter Loader mode, try forcing it into MaskRom mode.
- Connect the board to the computer with a USB cable and open RKDevTool.
- Disconnect power from the board. Short the eMMC data pin to GND as shown below, then reconnect the board to the computer.

- Remove the short after RKDevTool displays Found One MASKROM Device.

- Flash the image. After flashing is complete, remove the shorting wire and restart the board.
5. eMMC Image Flashing
Ensure that the development board has entered the Loader mode or the Maskrom mode.
5.1 Image Flashing in the Windows Environment
- Click on "Fiemware", select the path of the system image, and open the update.img image file.

- After opening it, you need to wait until the image is successfully loaded, and then click "Upgrade".

- After the flashing is completed, you will see the message "Download Successful" at this time.

5.2 Image Flashing in the Linux Environment
The Upgrade_Tool is a closed-source command-line tool provided by Rockchip, which is used to flash the raw firmware, RK firmware, or partition image to the eMMC or FLASH under Linux. The rkflash.sh script and the Upgrade_Tool we use have been integrated into the SDK. It is recommended to use it on Ubuntu 22.04, and other system versions may require self-adaptation.
-
Press the
bootbutton and connect to the host. Use thelsusbcommand to check the device. If the device is not recognized, try to solve the problem by replacing the Type-C cable.-
The development board is in the "ADB" mode.

-
The development board is in the "LOADER" mode.

-
The development board is in the "MASKROM" mode.

-
-
The flashing can only be carried out when the development board is in the
LOADERorMASKROMmode. -
Download and extract the SDK. For the specific operation method of obtaining the SDK, refer to the chapter "SDK Development Environment Setup".
-
Execute the script with administrator privileges.
$ sudo ./rkflash.sh update
[sudo] password for ubuntu:
Using /home/ubuntu/sdk/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/config.ini
Loading firmware...
Support Type:350F FW Ver:8.1.00 FW Time:2024-12-13 19:40:06
Loader ver:1.01 Loader Time:2024-12-13 18:35:14
Start to upgrade firmware...
Test Device Start
Test Device Success
Check Chip Start
Check Chip Success
Get FlashInfo Start
Get FlashInfo Success
Prepare IDB Start
Prepare IDB Success
Download IDB Start
Download IDB Success
Download Firmware Start
Download Image... (100%)
Download Firmware Success
Upgrade firmware ok
5.3 Image Flashing in the macOS Environment
-
Download and extract the Upgrade_Tool flashing tool( click here to download ).
-
Run the program to flash the firmware (please modify the path according to the actual storage location of the image):
$ cd upgrade_tool_v2.3_mac
sudo ./upgradetool uf Luckfox-xxx-xxx.img
- The result is as follows:
