Skip to main content

Install OS

This document describes how to install an Android image to the ROCK 5B/5B+.

ROCK 5B/5B+ can be booted from microSD card or EMMC, depending on the boot method, the system will be installed on different media.

Erase SPI Flash

Before using a microSD card/eMMC to boot an SBC with SPI Flash, If there is data in SPI Flash, the SPI Flash needs to be erased. Refer to Erase SPI Flash

When will SPI FLASH have data?

There are generally two scenarios where data will be written:

  • Flash image in MaskROM Mode Without Pressing the MaskROM Button

In the case where both the eMMC and SPI Flash are empty, the board enters Maskrom mode for writing an image to the onboard eMMC via the USB interface. If the specific Maskrom button is not pressed during Maskrom mode, the system will automatically write the data (such as an operating system image) to the SPI Flash instead.

  • Intentional writing, e.g., Booting from NVMe

For scenarios where an NVMe drive is needed to boot the system, the SPI Flash image must first be programmed.

Installation System

Preparation

  • 1x microSD card (capacity >=8GB)
  • 1x microSD card reader
  • 5V power adapter (Recommended Radxa Power PD30W)

Image Download

Please go to Resource Download to download the corresponding image file.

Install the system

Balena Etcher is a cross-platform and user friendly image file burning tool that we recommend you use.

  1. Download Etcher and install it.

Please download balenaEtcher-Setup-1.18.11.exe After the download is complete, there is no need to perform any additional actions. After downloading, you can double click it to open it without any additional operation.

  1. Open Etcher

    rock5b
  2. Open Etcher and click Flash from file to select the image to write to.

    rock5b
  3. Click Select target to select the device, please select carefully.

    rock5b
  4. Click Flash! Start writing and wait for the write progress bar to complete.

    rock5b
  5. When writing the image successfully, Etcher will display Flash Complete!.

    rock5b

If there is an error in flashing, please try again.

Boot the system

  • After successfully burning the microSD card as described above, insert the microSD card into the microSD slot of Radxa ROCK 5B/5B+.
  • The power supply interface of Radxa ROCK 5B is USB 2.0 OTG Type C port, please connect the power supply port and the adapter with Type-C cable.
tip

The ROCK 5B/5B+ supports USB Type-C PD 2.0 at 9V/2A, 12V/2A, 15V/2A and 20V/2A. Radxa recommends using the Radxa Power PD30W.

Reference Documentation

tip

The first startup of the Android system after flashing is often relatively long, please be patient and wait

Frequently asked questions

  • SPI-NVME encountered the following error during system installation: Switching PCIE storage failed, loader does not support switching
    1. Check if the SSD is plugged into the corresponding interface of Radxa SBC. The ROCK 5B+only has one M.2 interface that supports SPI-NVME startup. If the startup fails, try changing the interface
    2. Check if the SSD format is FAT32 format