Install an operating system
1. Equipment Preparation
- Luckfox-Aura
- USB Type-A to Type-C data cable
- 5V/3A Type-C power adapter (to prevent insufficient power, the RV1126B must be powered on with the adapter)

- 100M/1000M Ethernet cable and router
- USB wireless/wired mouse/keyboard
- Serial to USB module
The default baud rate for RV1126B is 1500000. Some USB to serial chips may not support this baud rate, and different series of the same chip may also have variations. Therefore, be sure to confirm support before purchasing. It is recommended to use CH343, FT232, or CP2102 serial modules, while PL2303 and CH340 serial modules are not recommended.
2. 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.
3. Image Download
Luckfox-Aura supports system images based on Buildroot and Debian 13.Users can download the appropriate image file according to their needs. The image naming convention is as follows:(Board Model) - (Operating System) - (Storage Medium) - (Update Date)
-
Board Model: Luckfox-Aura
-
Operating System: Debian 13, Buildroot
-
Storage Medium: eMMC, MicroSD
Version Description Download Debian13 Image for eMMC and TF card Image Google Cloud Download Link Builldroot Image for eMMC and TF card Image Google Cloud Download Link
4. Enter Upgrade Mode
Loader mode and MaskRom mode are two common device upgrade modes used for loading firmware or boot programs.
- Loader mode loads via a software-level boot program, typically used for firmware upgrades.
- MaskRom mode is a hardware-level boot mode that operates by directly loading firmware, usually used for factory programming or device recovery.
4.1 Loader Mode
Before flashing the system, put the board into LOADER or MASKROM mode. Try LOADER mode first. Open the flashing tool on your computer, then choose the method below based on whether the board is already powered on.
4.1.1 Board Not Yet Powered On
Follow these three steps:
- Connect the data cable first: Connect your computer to the board's USB Type-C data port using a USB data cable. Leave the power adapter disconnected for now.
- Hold the BOOT button: Press and hold BOOT without releasing it.
- Connect the power supply: Keep holding BOOT and connect the 5V/3A power adapter to the board's power input. Release BOOT only after the flashing tool detects a LOADER device.
4.1.2 Board Already Running: Use the Buttons to Re-enter Loader Mode
If the board is already powered on and running, you can use RESET and BOOT to re-enter LOADER mode before flashing again. Keep both the data cable and power supply connected; there is no need to unplug the power supply.
- Press and hold RESET.
- While holding RESET, press and hold BOOT. Both buttons should now be held down.
- Release RESET to restart the board, while continuing to hold BOOT.
- Release BOOT after the flashing tool detects a LOADER device.
The BOOT and RESET buttons are shown below:

4.2 MaskRom Mode
If the device cannot enter Loader mode, you can then try to forcibly enter MaskRom mode.
- Connect the USB data cable and open the Rockchip flashing tool RKDevTool.
- Disconnect the Aura power supply and short-circuit the two pads on the development board.

- Reconnect the power supply, and you should see the prompt
Found One MASKROM Device.
5. Image Flashing (Windows Environment)
5.1 Image Flashing (eMMC/Flash)
The SocToolKit software supports two flashing modes for eMMC or Flash:
-
One-click full image flashing: This mode uses a pre-packaged full system image containing all required partitions. It is suitable for rapid deployment and enables quick system setup.
-
Selective partition flashing: This allows updating specific system modules, offering a flexible flashing solution for users with advanced customization needs.
- Download and extract the SocToolKit flashing tool.
- Launch the software(Right-click and run as administrator).

- Flash the image.
- These two flashing modes are independent of each other. In actual operation, simply choose one based on your needs.
- If the development board is already successfully connected via ADB, you can directly run the command
reboot loaderto quickly enter flashing mode without pressing any physical buttons.
- Device connection and partition-based image flashing.
① Connect the device to your computer using a USB-C data cable, and hold down the BOOT button while powering on.Once the Rockchip flashing tool shows the Loader device (the device ID may vary), you can release the BOOT button.

② Click Search Path to select the firmware directory, check all the partitions you want to flash, and then click the Download button to start flashing.

- Device connection and one-click full image flashing.
① Connect the device to your computer using a USB-C data cable, and hold down the BOOT button while powering on.Once the Rockchip flashing tool shows the Loader device (the device ID may vary), you can release the BOOT button.
② Click Firmware to select the firmware directory, then click the Upgrade button to start flashing.

5.2 Image Flashing (MicroSD)
- The MicroSD card flashing feature of balenaEtcher only supports one-click image flashing.
- Please ensure that the TF card is of reliable quality. It is recommended to use a Class 10 or higher TF card to ensure sufficient read/write speed and stability. We have verified that TF cards from SanDisk and SmartQuickly work properly. Due to the wide variety of brands and models on the market, it is not possible to test them all, so the above brands are recommended.
- Download the TF card formatting tool SD Card Formatter, unzip and install with one click.
- Select the correct TF card drive letter and click "Format". Make sure to remove any other TF cards to avoid accidental data loss.

- Download and extract the balenaEtcher flashing tool from the Tools section of the Downloads page.
- Flashing steps.
① Open the balenaEtcher flashing tool and select the image fileFlash from file.
② Select the image file sd_update.img and click Open.

③ Ignore the partition table warning and choose Continue.

④ Insert the SD card into the card reader and connect it to the computer. At this point, the SD card capacity will be displayed under USB storage.
⑤ Click Flash to create the SD card.
⑥ When Flash Completed is displayed, the image has been flashed successfully.

6. Image Flashing (Ubuntu22.04 X86-64)
- Currently supported only on Ubuntu 22.04 x86_64. Other platforms or architectures are not compatible at this time.
- upgrade_tool is a closed-source command-line flashing utility provided by Rockchip, supporting only SPI NAND Flash and eMMC as target storage media.
6.1 Entering Flash Mode on the Development Board
Follow the steps in Loader Mode to put the board into flash mode.
After running the lsusb command, you can compare the device recognition results between flash mode and normal operating mode, as shown below:
- Board in flash mode:

- Board successfully booted into the system:

If the virtual machine cannot recognize the board, it is usually caused by one of the following reasons:
- Faulty USB cable: If replugging the cable causes no response and no system or VMware popup appears, the cable is likely damaged or has a poor connection. Try replacing the USB cable and reconnecting the board.
- Device not assigned in VMware popup: When plugging in the board, VMware will prompt you to choose whether to connect the device to the “Host” or “Virtual Machine.” If no selection is made before the popup disappears and VMware’s auto-connect policy is not properly configured, the device remains unassigned, meaning it is neither controlled by the host nor mounted to the VM. In this case, replug the device to reassign control.
6.2 Flashing Standalone Image (Without SDK)
- Download, extract, and install upgrade_tool :
sudo unzip upgrade_tool_v2.17.zip
cd upgrade_tool_v2.17_for_linux/
sudo cp upgrade_tool /usr/local/bin
sudo chmod +x /usr/local/bin/upgrade_tool
-
Verify installation success:
ubuntu@ubuntu:~$ sudo upgrade_tool -vUpgrade Tool v2.17 -
Run the tool to flash the firmware:
luckfox@luckfox:~$ sudo upgrade_tool uf update.imgLoading firmware...Support Type:1106 FW Ver:0.0.00 FW Time:2023-11-16 16:24:18Loader ver:1.01 Loader Time:2023-11-16 16:22:58Start to upgrade firmware...Download Boot StartDownload Boot SuccessWait For Maskrom StartWait For Maskrom SuccessTest Device StartTest Device SuccessCheck Chip StartCheck Chip SuccessGet FlashInfo StartGet FlashInfo SuccessPrepare IDB StartPrepare IDB SuccessDownload IDB StartDownload IDB SuccessDownload Firmware StartDownload Image... (100%)Download Firmware SuccessUpgrade firmware ok. -
Result preview:

6.3 Flashing the Image via SDK Script
The output/image directory must contain the update.img file, which is automatically generated when compiling the SDK. If you have not compiled the SDK yet, manually create the output/image directory and place the downloaded firmware inside it, renaming the file to update.img.
- Follow the steps in Loader Mode to put the board into flash mode.
- Run the flashing script with administrator privileges:
$ sudo ./rkflash.sh update[sudo] password for ubuntu:Using /home/ubuntu/Luckfox/ubuntu-bluetooth/luckfox-pico/tools/linux/Linux_Upgrade_Tool/config.iniLoading firmware...Support Type:1106 FW Ver:0.0.00 FW Time:2024-09-27 14:22:59Loader ver:1.01 Loader Time:2024-09-27 14:17:09Start to upgrade firmware...Download Boot StartDownload Boot SuccessWait For Maskrom StartWait For Maskrom SuccessTest Device StartTest Device SuccessCheck Chip StartCheck Chip SuccessGet FlashInfo StartGet FlashInfo SuccessPrepare IDB StartPrepare IDB SuccessDownload IDB StartDownload IDB SuccessDownload Firmware StartDownload Image... (100%)Download Firmware SuccessUpgrade firmware ok
- Result preview:

7. Image Flashing (macOS Environment)
The upgrade_tool is available not only for Linux but also supports the macOS platform.
- Download and extract the appropriate version of the Upgrade Tool flashing utility according to your Mac’s processor architecture.
| OS Version | Upgrade Tool Version | Download |
|---|---|---|
| MacOS 12.7 | upgrade_tool_v2.25_for_mac.zip | Download |
| MacOS 26.1 | upgrade_tool_v2.44_for_mac.zip | Download |
-
Put the board into flashing mode using the method described at the beginning of the current product tutorial. For an enclosed Luckfox Pico 86-Panel that can boot normally, log in and run
reboot loader. -
Run the tool to flash the firmware:
The following command is only an example. Please modify the image file name and path according to the actual image file you are using.
cd upgrade_tool_v2.44_mac
sudo ./upgrade_tool uf Luckfox-xxx-xxx.img
- The result is shown below.

8. Erase All
- Click Search Path to select the firmware storage directory, and check Download.bin.
- Switch to Advanced Feature, click Download.bin to start flashing. Once the download is complete, click Erase to perform the erase operation.
