How the slot is wired
The M.2-SSD slot takes a standard NVMe SSD, but the SSD does not use the Raspberry Pi 5 PCIe link: that link is reserved for the DX-M1. The SSD sits behind a Realtek RTL9210B-CG USB-to-NVMe bridge on the board’s USB 3.0 (5 Gbps) hub, which reaches the Raspberry Pi 5 through the USB Bridge in one of its blue USB 3.0 ports:
- M.2 slot: NVMe SSD · M-Key · 2230 to 2280
- Bridge IC: RTL9210B-CG · USB ↔ NVMe · UASP
- On-board: USB 3.0 hub · 5 Gbps · shared with cellular
- Carrier: USB Bridge PCBA · Pi 5 USB 3.0 port
- Host: Raspberry Pi 5 · /dev/sda
Raspberry Pi OS sees a USB mass storage device: lsblk shows /dev/sda, lsusb lists 0bda:9210 Realtek Semiconductor Corp. RTL9210 NVMe Bridge, and nvme list does not see it. Use the USB storage tools (lsblk, fdisk, mount, fstab). The bridge supports UASP, so the SSD runs at the full USB 3.0 rate.
Throughput envelope
The 5 Gbps USB bus (with 8b/10b encoding) sets the ceiling, not the SSD: a PCIe Gen 4 SSD is no faster here than a Gen 3 one. Measured by Sixfab:
Compatible SSDs
The slot takes M.2 M-Key NVMe SSDs in 2230, 2242, 2260, and 2280 lengths. M.2 SATA SSDs do not enumerate; B+M-keyed NVMe SSDs work; B-keyed drives are not NVMe and do not work.
| SSD class | Compatibility | Notes |
|---|---|---|
| M.2 M-Key NVMe (PCIe) | Supported | Standard configuration. 2230, 2242, 2260, and 2280 lengths all fit; up to 2 TB validated. |
| M.2 B+M-Key NVMe | Supported | Mechanically and electrically equivalent to M-Key NVMe in this slot. |
| M.2 SATA SSD | Not supported | SATA-only M.2 drives will not enumerate. The slot is NVMe-only via the USB-to-NVMe bridge. |
| Older / high-end power-hungry SSDs | Use with care | Some firmware or power profiles can trigger instability under burst loads. Pair with a USB-C PD supply that meets the 27 W minimum (45 W recommended). |
Validated SSDs
Sixfab validated the Raspberry Pi 256 GB and 512 GB NVMe SSDs; they are the recommended drives. Other current NVMe SSDs should work: the list is what was tested, not what is excluded.
Under-voltage warnings point at supply
Some high-end or older SSDs draw current bursts that a weak supply cannot deliver: under-voltage warnings and disconnects that look like SSD failures. Use a 27 W USB-C PD supply or more (45 W with the NPU and modem fitted), and replace the supply before the SSD.
Partition, format, and mount
To prepare a new SSD as a data drive (not the boot drive): find it with lsblk, write a GPT partition table with fdisk, format it with mkfs.ext4, mount it under /mnt, and add it to /etc/fstab by UUID.
This procedure erases everything on SSD
Partitioning and formatting destroys any existing data on the SSD. Before running fdisk or mkfs, confirm that /dev/sda is the Edge AI Expansion Board’s NVMe SSD and not a different USB drive you have plugged into the Raspberry Pi 5. lsblk and lsusb together confirm which device is which: the NVMe bridge always shows up as 0bda:9210 Realtek Semiconductor Corp. RTL9210 NVMe Bridge in lsusb.
-
Identify device
Confirm that the SSD is enumerated as
/dev/sdaand check that the RTL9210 bridge is visible inlsusb. If the SSD does not appear, stop here: re-seat the M.2 module (30° insertion, M2 flat-head screw, finger-tight) and the USB Bridge PCBA before running anything else.# 1. Block-device tree: the SSD should show as /dev/sda lsblk # 2. USB-side view: the RTL9210 NVMe Bridge should be listed lsusb# lsblk (example with a 256 GB SSD, no partitions yet) NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 238.5G 0 disk mmcblk0 179:0 0 29.7G 0 disk ├─mmcblk0p1 179:1 0 512M 0 part /boot/firmware └─mmcblk0p2 179:2 0 29.2G 0 part / # lsusb Bus 002 Device 002: ID 0bda:9210 Realtek Semiconductor Corp. RTL9210 NVMe Bridge Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubIf other USB storage is connected, the device name may shift (
/dev/sdb,/dev/sdc, …). Match the size and the RTL9210 entry fromlsusbto identify the correct disk before partitioning. The UUID-basedfstabentry in step 5 immunises the mount against device-name reshuffling. -
Write GPT partition table
A new SSD has no usable partition layout. Use
fdiskto write a fresh GPT table and create a single primary partition that spans the entire disk. GPT is the recommended layout for any drive larger than 2 TB and is the default Sixfab documents for the Edge AI Expansion Board.# Open fdisk on the NVMe SSD sudo fdisk /dev/sda # Inside the fdisk prompt, type each letter then press Enter: # g create a new empty GPT partition table # n add a new partition # press Enter to accept defaults (partition 1, full disk) # w write the table to disk and exitAfter
fdiskexits, runlsblkagain. The SSD should now have a child partitionsda1taking up the full disk:# lsblk after fdisk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 238.5G 0 disk └─sda1 8:1 0 238.5G 0 part -
Format partition as ext4
ext4 is the recommended filesystem for a secondary data drive on Raspberry Pi OS: stable, journaled, well-supported, and matches the rest of the system’s tooling. The format runs on the partition (
sda1), not the whole disk (sda).# Format the new partition with ext4 sudo mkfs.ext4 /dev/sda1For a brand-new SSD this completes in seconds. For a previously-used SSD
mkfs.ext4may ask to overwrite an existing filesystem; typeyto confirm only after you have re-verified that/dev/sda1is the correct device. -
Create mount point and mount
Mount the freshly formatted partition under a stable directory below
/mnt./mnt/nvmeis the convention used elsewhere in Sixfab’s documentation; the path is not magical, anything you pick can be used consistently afterwards.# 1. Make the mount point sudo mkdir -p /mnt/nvme # 2. Mount the partition there for the current boot sudo mount /dev/sda1 /mnt/nvme # 3. Give your user ownership so applications can write without sudo sudo chown -R "$USER": /mnt/nvme # 4. Confirm it's mounted and writable df -hT /mnt/nvme -
Mount automatically at boot via
/etc/fstabThe manual mount above survives until the next reboot. To bring the SSD up automatically every boot, add it to
/etc/fstab. Reference the partition by its UUID, not by/dev/sda1: the device name can shift if other USB drives are connected and the boot will fail when it does.# 1. Read the UUID of the partition sudo blkid /dev/sda1/dev/sda1: UUID="a1b2c3d4-e5f6-7890-1234-567890abcdef" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="..."Then edit
/etc/fstabwithsudo nano /etc/fstaband add a single line, substituting the UUID printed byblkid:# NVMe SSD on Edge AI Expansion Board (USB-attached via RTL9210B-CG) UUID=<your-uuid-here> /mnt/nvme ext4 defaults,nofail,x-systemd.device-timeout=10 0 2Test the entry without rebooting:
# 1. Unmount the partition (if currently mounted from step 4) sudo umount /mnt/nvme # 2. Mount everything in fstab: should remount /mnt/nvme cleanly sudo mount -a # 3. Verify df -hT /mnt/nvmeThe
nofailoption means Raspberry Pi OS will continue to boot even if the SSD is temporarily missing, which is important in field deployments where you do not want a single hardware issue to leave the unit stuck at the boot prompt.x-systemd.device-timeout=10caps the wait at 10 seconds on each boot.
Boot Raspberry Pi OS from NVMe
Booting Raspberry Pi OS from the SSD works. The SSD is behind the USB bridge, so this is a USB boot, not a native NVMe boot, and the bootloader’s USB entry in BOOT_ORDER controls it:
- Update the bootloader:
sudo rpi-eeprom-update. - Set
BOOT_ORDERto try USB first:sudo raspi-config→ Advanced Options → Boot Order, orsudo rpi-eeprom-config --edit. - Write Raspberry Pi OS to the SSD with Raspberry Pi Imager, as for any USB SSD.
- Add
usb_max_current_enable=1to/boot/firmware/config.txton the SSD (see Enable PCIe Gen 3). Without it, the Raspberry Pi 5 stops at boot and asks you to press its button to allow more than 1.6 A of USB current. - Power off, fit the SSD in the
M.2-SSDslot, and power on.
Power-loss during writes can corrupt the filesystem
Pulling the USB-C PD cable while the SSD is writing does not cause physical damage to the SSD, but unsaved data is lost and the ext4 journal may report inconsistencies on the next boot. There is no power button on the Expansion Board: use a clean shutdown (sudo shutdown -h now) before disconnecting power, especially when the SSD is the boot device.
Concurrent operation
The SSD and the LTE/5G modem are independent devices on the same USB hub and can be used at the same time. The DX-M1 has its own PCIe link and never shares bandwidth with them: Sixfab measured no notable drop in AI throughput with inference, logging to the SSD, and an LTE uplink running together.
The dxrt-runtime does not write to disk by itself; your inference application owns the storage policy. Point your inference code’s log path, captured-frame folder, or detection-output sink at the mount location, for example /mnt/nvme/inference-logs/, and the SSD will absorb the write pressure without slowing down the NPU pipeline. For monitoring tools and the documented healthy dxrt-cli -s output, see System Monitoring.
Extra USB drives share 5 Gbps ceiling
The USB Bridge PCBA occupies one of Raspberry Pi 5’s two blue USB 3.0 ports. Plugging another high-speed USB drive into the remaining USB 3.0 port forces all USB devices to share the Raspberry Pi 5’s 5 Gbps USB bandwidth, and the total current budget across all USB ports is capped at 1.6 A: adding a second power-hungry drive alongside an NVMe SSD and an LTE/5G modem may cause instability. Low-power peripherals (keyboard, mouse, UVC camera) are not a concern.