yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
PCle to M.2 Adapter📖
01.Installation
  • Installation Steps
02.System mounting
  • 02.System mounting
Download ZIP

Welcome to PCle to M.2 Adapter repository

02.System mounting

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:
​x
sudo nano /boot/firmware/config.txt
​
#Gen2 slow mode 
dtparam=pciex1
​
#Gen3 High speed mode
dtparam=pciex1_gen=3
​

As shown in the figure: image-2024052700015

  1. reboot pi5
xxxxxxxxxx
sudo reboot
  1. Enter the following command to detect PCIE
xxxxxxxxxx
lspci

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
xxxxxxxxxx
#Create mounting directory
sudo mkdir yahboomba
#Mount device
sudo mount /dev/nvme0n1p1 ./yahboomba
#Check disk status
df -h

Before mounting image-2024052700004

After mounting image-2024052700005

The difference between Gen2 and Gen3 modes

  • Gen2 mode:

    TF: image-2024052700006

nvme: image-2024052700007

  • Gen3 mode: SD: image-2024052700008

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
xxxxxxxxxx
sudo rpi-eeprom-config --edit

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:
xxxxxxxxxx
sudo apt update
sudo apt install rpi-imager

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

image-2024052700016 Specific operating methods:

  • https://blog.csdn.net/timelockerCSDN/article/details/135793432

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.
Installation Steps

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文