On the ROCK 5B, boot from an NVMe SSD without a microSD card or eMMC by storing the bootloader in on-board SPI NOR flash and installing the Linux system image on the NVMe drive. On Radxa OS for the ROCK 5B, flash SPI with rsetup and write the image to the NVMe drive with xzcat and dd. Mainline U-Boot documents flashing u-boot-rockchip-spi.bin at offset 0 from the U-Boot shell.
Evidence and limits: The Radxa ROCK 5B and mainline Das U-Boot documentation was checked on 2026-11-26. The steps were not tested on hardware.
How SPI NOR flash enables NVMe boot on the ROCK 5B
As documented in the Radxa ROCK 5B FAQ, the ROCK 5B includes a 16MB SPI NOR flash chip and a PCIe M.2 M-Key connector. The SPI NOR flash stores the bootloader, while the NVMe SSD holds the system image (at least the kernel and rootfs).
For SD card boot, the Das U-Boot Rockchip board documentation describes a single boot image packaged with binman for Rockchip platforms except rk3128, which does not use SPL. The SD card example writes u-boot-rockchip.bin with seek=64. The SPI NOR instructions write u-boot-rockchip-spi.bin at offset 0.
| Boot media | Mainline U-Boot image file | Write offset |
|---|---|---|
| SD card | u-boot-rockchip.bin | seek=64 |
| SPI NOR flash | u-boot-rockchip-spi.bin | Offset 0 |
The Das U-Boot NVMe support documentation lists CONFIG_NVME for NVMe device support and CONFIG_NVME_PCI for PCIe NVMe device support. CONFIG_CMD_NVME enables the basic NVMe commands.
Prerequisites and NVMe device check
For the ROCK 5B, the Radxa ROCK 5B NVMe installation guide starts from a temporary microSD card before flashing SPI or imaging the SSD.
After installing the NVMe SSD and logging in, confirm Linux detects the drive before writing the system image.
lsblk
In Linux, NVMe drives typically appear as nvmeXnY. The Radxa ROCK 5B NVMe installation guide shows /dev/nvme0n1 as an example. Confirm the exact target device path in lsblk before continuing.
Flash SPI and install the OS to NVMe on Radxa OS (ROCK 5B)
For Radxa OS on a ROCK 5B, the Radxa ROCK 5B NVMe installation guide uses rsetup to flash SPI and starts from a compressed system image for the NVMe write.
-
Start with a temporary microSD card already prepared with Radxa OS. Boot from the card and update system packages:
sudo apt-get update sudo apt-get full-upgrade -
Open
rsetupand select System Maintenance, then Update SPI Bootloader. Select the bootloader option, follow the prompts, and wait for the update to complete. -
Install the NVMe SSD, confirm the device path with
lsblk, and download the system image to the board from Radxa’s Resource Download (for example withwget). -
Write the system image to the NVMe device. Use your image path and confirmed device path in the example below. Double-check the
of=target before runningddbecause the wrong device name can cause data loss.sudo xzcat /home/radxa/rock-5b_xx.img.xz | sudo dd of=/dev/nvme0n1 bs=1M status=progress -
With the board powered off, remove the microSD card, then power on with the 12V/2A PD adapter specified by Radxa.
Manual SPI flashing and NVMe checks in mainline U-Boot
Mainline U-Boot lists RK3588 and RK3588S board targets including evb-rk3588, FriendlyElec cm3588-nas-rk3588, nanopc-t6-rk3588, nanopi-r6c-rk3588s, Firefly roc-pc-rk3588s, and Edgeble neu6a-io-rk3588 and neu6b-io-rk3588. The Das U-Boot Rockchip documentation documents flashing u-boot-rockchip-spi.bin to offset 0 of SPI flash directly from the U-Boot shell.
The documented Rockchip SD example below uses load mmc 1:1. Copy u-boot-rockchip-spi.bin onto the SD card for that example, boot from the card, and run the commands at the U-Boot prompt. Let sf update finish before powering off.
sf probe
load mmc 1:1 $kernel_addr_r u-boot-rockchip-spi.bin
sf update $fileaddr 0 $filesize
Use the Das U-Boot NVMe documentation commands to check SSD detection and try listing files on the drive from the U-Boot shell.
nvme scan
nvme info
nvme detail
fatls nvme 0:1
nvme scan identifies attached NVMe drives, and nvme info lists them. The example output shows the vendor, revision, product string, and capacity. nvme detail prints controller and namespace details, and fatls nvme 0:1 is the documented example for listing files on NVMe.
Post-migration verification checklist
Check the ROCK 5B boot with the temporary microSD card removed and no eMMC module installed.
- Check for the desktop on the ROCK 5B’s HDMI display. Radxa’s instructions describe roughly 40 seconds from power-on to the desktop.
- Check NVMe detection in U-Boot if you can reach the shell. Run
nvme scanandnvme infoto check detection and tryfatls nvme 0:1to list files, per the Das U-Boot NVMe guide. - U-Boot build instructions are in the Das U-Boot Rockchip guide, which shows
BL31andROCKCHIP_TPLfrom Rockchiprkbinin the RK3588 build example. Browse all RK3588 Guide posts.