Raspberry mounted PCIE

Hardware connection PCIE

  1. Connect the Raspberry Pi's ribbon cable interface using ribbon cables, as shown in the following figure image-2024052700001
  2. Connect the solid state to PCIE and secure it onto the board. After confirming its accuracy, power supply Raspberry Pi 5 as shown in the figure Reminder: Remember to connect the Raspberry Pi to an SD card that can boot into the system. image-2024052700002

System mounting (used as expansion space)

  1. Raspberry Pi 5 does not have the PCIE interface enabled by default,Select one of the statements in /boot/firmware/config.txt and add it under the last file:

As shown in the figure: image-2024052700015

  1. reboot pi5
  1. Enter the following command to detect PCIE

As shown in the figure below, it is recognized that SM2263 is my SSD solid-state, and the other PI5 is an RPI chip

image-2024052700003

  1. Start mounting

Before mounting image-2024052700004

After mounting image-2024052700005

The difference between Gen2 and Gen3 modes

nvme: image-2024052700007

nvme: image-2024052700009

Conclusion: The SD card slot is not affected by the mode, The PCIE board is influenced by the mode, Gen3 mode is much faster than Gen2 mode.

Using NVME solid-state as the system boot disk

  1. Modify the boot information by entering the following command

Modify BOOT-ORDER to:BOOT_ORDER=0xf416 Enable PCIE_PROBE: PCIE_PROBE=1 Then save, exit, and restart. As shown in the figure: image-2024052700014

Attention: If multiple modifications are found to be unable to be made, please connect to the network before making the changes (wait for network self calibration), or set the correct time before making the changes to the file.

The following is a screenshot of the successful modification: image-2024052700013

  1. The method of NVME downloading system way 1:

Then, by clicking on the image installation on the desktop, the system can be downloaded into NVME

image-2024052700016 Specific operating methods:

way 2: Alternatively, use a solid-state box to create a Raspberry Pi system for NVME.

  1. Remove the SD card from the Raspberry Pi Card slot, Install PCIE on Raspberry Pi 5 and then turn it on.

As shown in the figure:

image-2024052700011

You can see that the startup disk of Raspberry Pi 5 is nvme. image-2024052700010

  1. If you want to switch back to SD card startup, you can simply unplug the PCIE and it will return to SD card startup.