Entry 002 setup From published documentation

Booting RK3588 Home Servers From NVMe SSD via SPI Flash

Boot an RK3588 home server from an NVMe SSD using SPI NOR flash, Radxa ROCK 5B rsetup and dd commands, and U-Boot SPI and NVMe checks.

Illustrated title card for the guide: Booting RK3588 Home Servers From NVMe SSD via SPI Flash

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 mediaMainline U-Boot image fileWrite offset
SD cardu-boot-rockchip.binseek=64
SPI NOR flashu-boot-rockchip-spi.binOffset 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.

  1. 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
  2. Open rsetup and select System Maintenance, then Update SPI Bootloader. Select the bootloader option, follow the prompts, and wait for the update to complete.

  3. 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 with wget).

  4. 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 running dd because 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
  5. 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 scan and nvme info to check detection and try fatls nvme 0:1 to list files, per the Das U-Boot NVMe guide.
  • U-Boot build instructions are in the Das U-Boot Rockchip guide, which shows BL31 and ROCKCHIP_TPL from Rockchip rkbin in the RK3588 build example. Browse all RK3588 Guide posts.

Sources

  1. Radxa Docs: ROCK 5B FAQ
  2. Radxa Docs: ROCK 5B Install the System to NVMe
  3. Das U-Boot Documentation: Rockchip Boards
  4. Das U-Boot Documentation: NVMe Support

Continued in other entries

Illustrated title card for the guide: Radxa ROCK 5B+ vs ROCK 5 ITX for NAS Storage storage

Radxa ROCK 5B+ vs ROCK 5 ITX for NAS Storage

Choose between the Radxa ROCK 5B+ and ROCK 5 ITX for a NAS. Compare SATA and NVMe drive fit, board size, Ethernet ports, and Linux images.

Illustrated title card for the guide: Install Proxmox VE on RK3588 Boards: Armbian Debian Bookworm virtualization

Install Proxmox VE on RK3588 Boards: Armbian Debian Bookworm

Install PXVIRT 8 on an RK3588 board running Armbian Debian Bookworm with NetworkManager. Add the APT repository, set up a wired bridge, and sign in.

Illustrated title card for the guide: RK3588 big.LITTLE CPU Affinity in Proxmox virtualization

RK3588 big.LITTLE CPU Affinity in Proxmox

Find your RK3588's Cortex-A76 and Cortex-A55 CPU IDs, pin a PXVIRT VM to one core type, and verify its CPU affinity from the host shell.