Skip to main content

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 modeScenarioPrerequisite
DFU+FastbootBlank board or system corruption that bricks the deviceSet the DIP switches to put the device into DFU boot mode
FastbootUpdate the system on a non-blank boardRequires a non-blank board whose system can enter U-Boot
Boot disk selection

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.

Prerequisite check

Set the SW3 switch to boot from onboard eMMC. Booting from an M.2 NVMe SSD is not supported.

Enter DFU+Fastboot mode​

  1. Set the SW1 DIP switch to ↑, and power off.

  2. Set the SW2 DIP switch to ↑ to enter Download mode.

  3. Set the SW1 DIP switch to ▽, and power on.

  4. 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 DFU mode

Enter Fastboot mode​

  1. Set the SW1 DIP switch to ↑, and power off.
  2. Set the SW2 DIP switch to ↓ to enter normal boot mode.
  3. 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 0 to 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

selected storage medium
onboard eMMC
and miniboot_flash on NOR Flash.
For Storage, select eMMC (onboard) or NVMe (M.2 expansion) based on your setup.

  1. For Product Type, select RDK S100.

  2. For Link Type, select USB. For Download Mode, select DFU+Fastboot or Fastboot.

  3. For Storage, select

    eMMC or NVMe
    eMMC
    . For Firmware Type, select secure.

  4. To the right of Image Directory, click Browse and select the product folder that contains the firmware.

    Full image flashing
  5. (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.

  6. (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.

  7. Click Start Burn. The device powers on and flashing starts. Wait for the progress to complete.

    Burning progress
  8. After flashing completes, exit the corresponding mode (for DFU mode, toggle the flashing switch down to exit), and power off.

  9. 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.

    S100 system boot desktop

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:

RegionActual storage mediumFirmware contentImage
miniboot_flashNOR FlashBasic boot image on NOR Flash, including images for HSM/MCU0 and other system componentsimg_packages/disk/miniboot_flash.img
miniboot_emmceMMCBasic boot image on eMMC, including images for BL31/U-Boot and other system componentsimg_packages/disk/miniboot_emmc.img
emmceMMCComplete eMMC image, already includes miniboot_emmcimg_packages/disk/emmc_disk.simg
miniboot_nvmeNVMeBasic boot image on NVMe, including images for BL31/U-Boot and other system componentsimg_packages/disk/miniboot_nvme.img
nvmeNVMeComplete NVMe image, already includes miniboot_nvmeimg_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:

RegionActual storage mediumFirmware contentImage
miniboot_flashNOR FlashBasic boot image on NOR Flash, including images for HSM/MCU0 and other system componentsimg_packages/disk/miniboot_flash.img
miniboot_emmceMMCBasic boot image on eMMC, including images for BL31/U-Boot and other system componentsimg_packages/disk/miniboot_emmc.img
emmceMMCComplete eMMC image, already includes miniboot_emmcimg_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

; for NVMe media, miniboot_flash and miniboot_nvme
). Complete the flash and verify the boot.

Flash specific regions

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:

Flash specific partition images