• sales

    +86-0755-88291180

Raspberry Pi 5 PCIE User Guide

Step 1 Enabling PCIe】
By default the PCIe connector is not enabled. To enable it you should add the following option into /boot/firmware/config.txt and reboot:

# Enable the PCIe External connector.
dtparam=pciex1
A more memorable alias for pciex1 exists, so you can alternatively add dtparam=nvme to the /boot/firmware/config.txt file.

NOTE
Enumeration of PCIe devices behind a switch is not currently supported.

Step 2 PCIe Gen 3.0】
The connection is certified for Gen 2.0 speeds (5 GT/sec), but you can force it to Gen 3.0 (10 GT/sec) if you add the following lines to your /boot/firmware/config.txt.

# Enable the PCIe external connector
dtparam=pciex1

# Force Gen 3.0 speeds
dtparam=pciex1_gen=3
WARNING
The Raspberry Pi 5 is not certified for Gen 3.0 speeds, and connections to PCIe devices at these speeds may be unstable.
You should then reboot your Raspberry Pi for these settings to take effect.

Step 3 Booting from PCIe】
Once enabled, and after you reboot, an NVMe disk attached via the PCIe should be visible. However, your Raspberry Pi won’t try to boot off the NVMe drive. If you wish to enable boot support you will need to change the BOOT_ORDER in the bootloader configuration. Edit the EEPROM configuration by,

sudo rpi-eeprom-config --edit
and change the BOOT_ORDER line to be as below.

BOOT_ORDER=0xf416
after saving your changes, reboot your Raspberry Pi to update the EEPROM.

NOTE】
Your Raspberry Pi will not boot from an attached NVMe drive unless you have the external PCIe port enabledd, and there’s a NVMe drive with a valid boot partition attached to the PCIe bus.

TAG: Raspberry Pi 15.6 inch FHD Monitor (C) LCD 1080P Capacitive TouchScreen Display Type-C/HDMI For Computer PC SpotPear here User Guide Raspberry Pi 8inch LCD 768x1024 Capacitive TouchScreen HDMI Display Raspberry Pi LCD MP2.5GD Raspberry Pi 5 PCIe to Dual 2.5G Double Ethernet HAT Pi5 RTL8125 Raspberry Pi Pico 2 RP2350 Pico2 ARM Cortex-M33 And RISC-V Hazard3 520KByte 4MByte QSPI Flash Milk-V Duo S WIFI Configuration Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board (D) HAT Pi5-2280-2242-2230 and Audio Speaker X1006 Raspberry Pi 5 PCIe To 2.5 SATA And M.2 KEY-B 2280 SSD/HDD Double-SATA (NOT BOOT From SATA/SSD RV1106 GC9107 Raspberry Pi Pico 2 Tiny RP2350B RP2350-Linux Mini Development Board with PSRAM-8MB Or Without PSRAM ESP32-C5 WIFI6 Development Board ESP32-C5-WROOM-1 N16R4/N16R8 128x128 Raspberry Pi 5 PCIE to MiniPCIe For wireless network WIFI Card USB Bluetooth DDSM400 Direct Drive Servo Motor All-In-One Design Hub Serial -LIN Bus Motor Raspberry Pi display Raspberry Pi 5 PD Activation