Flash the system image
This page describes system flashing for the RDK S100. Complete flashing preparation before you flash. To back up the current system and restore it, see Back up and restore the image. To flash without a PC, for example in batch or on site, see USB drive upgrade.
Download modes
Before you flash the system image to the RDK S100 with XBurn, select a download mode based on the device state, then enter that mode and start flashing.
| Download mode | Scenario | Prerequisite |
|---|---|---|
| DFU+Fastboot | Blank board or system corruption that bricks the device | Set the DIP switches to put the device into DFU boot mode |
| Fastboot | Update the system on a non-blank board | Requires a non-blank board whose system can enter U-Boot |
The boot disk is determined by the SW3 switch. Set SW3 for the medium you want to boot from. The flashing steps use only SW1 (power) and SW2 (DOWNLOAD) and do not involve SW3. If you flash in Fastboot mode, the device must be able to enter U-Boot from the current boot disk; if the boot disk is not usable, use DFU+Fastboot instead.
- Boot from eMMC:
D13=0, D12=1. - Boot from NVMe:
D13=1, D12=0.
Flashing NVMe requires the NVMe version of the image. D-Robotics provides eMMC images by default, so build the NVMe image yourself (build config RDK_DISK_MEDIUM="nvme"); see Build system development guide · eMMC/UFS/NVMe image build notes. The hardware version requirement for NVMe boot (V0P6 and later) and the miniboot_flash mode constraint are described in "NVMe Boot Notes" at the end of the same section. Flashing an NVMe image requires XBurn 1.1.10 or later.
Set the SW3 switch to boot from onboard eMMC. Booting from an M.2 NVMe SSD is not supported.
Enter DFU+Fastboot mode
-
Set the SW1 DIP switch to ↑, and power off.
-
Set the SW2 DIP switch to ↑ to enter Download mode.
-
Set the SW1 DIP switch to ▽, and power on.
-
Check the DOWNLOAD indicator LED: a lit LED means the device is in DFU mode. If it does not light up, press K1 to reset the system and retry.
Enter Fastboot mode
- Set the SW1 DIP switch to ↑, and power off.
- Set the SW2 DIP switch to ↓ to enter normal boot mode.
- Set the SW1 DIP switch to ▽, and power on.
- Automatic entry: After the board system finishes booting, the ADB service starts automatically. XBurn detects the ADB device and sends a command to put the board into Fastboot.
- Manual entry: Right after power-on, press and hold the spacebar to enter the U-Boot command line, then enter
fastboot 0to enter Fastboot.
Flash the full image
Use this for a first-time flash or system recovery. It flashes the complete system image package and overwrites the
miniboot_flash on NOR Flash.eMMC (onboard) or NVMe (M.2 expansion) based on your setup.-
For Product Type, select
RDK S100. -
For Link Type, select
USB. For Download Mode, selectDFU+FastbootorFastboot. -
For Storage, select
eMMCorNVMe. For Firmware Type, selecteMMCsecure. -
To the right of Image Directory, click Browse and select the product folder that contains the firmware.
-
(Optional) To flash multiple devices at once, see the XBurn Manual Batch flashing (software limit 8 devices, recommended ≤4; the more devices, the higher the failure rate, and stability depends on the cable, USB hub, power supply, and other hardware. The software provides no guarantee). For batch flashing, turn off Reboot after burning so that one device rebooting does not affect the others.
-
(Optional) Expand Advanced Configuration and select Reboot after burning. After flashing, the device reboots automatically, so you do not need to power off, exit download mode, and power on again manually. For details, see the XBurn Manual Auto-reboot and boot check after flashing.
-
Click Start Burn. The device powers on and flashing starts. Wait for the progress to complete.
-
After flashing completes, exit the corresponding mode (for DFU mode, toggle the flashing switch down to exit), and power off.
-
Verify the boot. Keep the device powered off, connect the device to a monitor with an HDMI cable, then power on the device. On first boot, the system performs default environment configuration that takes about 45 seconds, after which the Ubuntu desktop appears on the monitor.
LED indicators- Green LED: Lit means the hardware is powered on normally.
If the device produces no display output for a long time (over 2 minutes) after power-on, the boot failed and you need to debug over a serial cable. For boot failure troubleshooting, see the XBurn Manual Boot issues.
Flash specific regions
Flash only part of the image by region, instead of the complete full-image package. For Storage, select eMMC or NVMe. miniboot_flash is on NOR Flash and is independent of the selected medium; both eMMC and NVMe can select it. Other regions correspond to the selected medium per the "Actual storage medium" column. The supported regions are:
| Region | Actual storage medium | Firmware content | Image |
|---|---|---|---|
| miniboot_flash | NOR Flash | Basic boot image on NOR Flash, including images for HSM/MCU0 and other system components | img_packages/disk/miniboot_flash.img |
| miniboot_emmc | eMMC | Basic boot image on eMMC, including images for BL31/U-Boot and other system components | img_packages/disk/miniboot_emmc.img |
| emmc | eMMC | Complete eMMC image, already includes miniboot_emmc | img_packages/disk/emmc_disk.simg |
| miniboot_nvme | NVMe | Basic boot image on NVMe, including images for BL31/U-Boot and other system components | img_packages/disk/miniboot_nvme.img |
| nvme | NVMe | Complete NVMe image, already includes miniboot_nvme | img_packages/disk/nvme_disk.simg |
Flash only part of the image by region, instead of the complete full-image package. For Storage, select eMMC. The supported regions are:
| Region | Actual storage medium | Firmware content | Image |
|---|---|---|---|
| miniboot_flash | NOR Flash | Basic boot image on NOR Flash, including images for HSM/MCU0 and other system components | img_packages/disk/miniboot_flash.img |
| miniboot_emmc | eMMC | Basic boot image on eMMC, including images for BL31/U-Boot and other system components | img_packages/disk/miniboot_emmc.img |
| emmc | eMMC | Complete eMMC image, already includes miniboot_emmc | img_packages/disk/emmc_disk.simg |
Starting from the steps in Flash the full image, expand Advanced Configuration, select Burn specified area image, and select the target regions (such as miniboot_flash and miniboot_emmc
miniboot_flash and miniboot_nvme
Flash specific partition images
Flash by individual system component partition, at a finer granularity than Flash specific regions. This is partition-level (a single component partition, such as uboot, boot, or system).
Starting from the steps in Flash the full image, expand Advanced Configuration, select Burn specified partition image, and select the target partitions. Complete the flash and verify the boot.
The partition options that appear after selection are:
