yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
CUBE Pi Case📖
1. Assembly tutorial
  • 1. Installation video
  • 3. Hardware wiring instructions
2. CUBE Pi interface description and precautions
  • CUBE Pi interface description and precautions
3. Chassis driver tutorial
4. RGB light strip driver
  • RGB light strip driver
3. Fan drive
  • Fan drive
2. OLED display
  • OLED display
1. Install driver library
  • Install driver library
5. Set up auto-startup
  • Set up auto-startup
6. M.2 expansion board information (optional)
  • Installation steps
  • System Mount
Download
  • Code
  • System_Image_File
  • Communication Protocol
  • Instruction_Manual
Download ZIP

Welcome to CUBE Pi Case repository

当製品の日本語版マニュアル資料は、こちらからご取得ください。

System Mount

Raspberry mounted PCIE

Hardware connection PCIE

  1. Use the cable to connect the cable interface of the Raspberry Pi, as shown in the figure below image-2024052700001
  2. Connect the solid state drive to the PCIE and fix it on the board. After confirming that it is correct, power the Raspberry Pi 5, as shown in the figure Tips: Remember to connect the SD card that can boot into the system to the Raspberry Pi. image-2024052700002

System mount (used as expansion space)

  1. The PCIE interface is not enabled by default on Raspberry Pi 5. Select one of the statements in /boot/firmware/config.txt and add it to the last file:
​x
sudo nano /boot/firmware/config.txt
​
#Gen2 low speed mode
dtparam=pciex1
​
#Gen3 high speed mode
dtparam=pciex1_gen=3
​

As shown in the figure: image-2024052700015

  1. Then restart the Raspberry Pi
xxxxxxxxxx
sudo reboot
  1. Enter the following command to detect PCIE
xxxxxxxxxx
lspci

As shown below, SM2263 is my SSD solid state, and the other PI5 is the RPI chip

image-2024052700003

  1. Start mounting
xxxxxxxxxx
#Create a mount directory
sudo mkdir yahboomba
#Mount device
sudo mount /dev/nvme0n1p1 ./yahboomba
#Check disk status
df -h

Before mounting image-2024052700004

Successfully mounted image-2024052700005

Difference between Gen2 and Gen3 modes

  • Gen2 mode:

SD card read speed: image-2024052700006

nvme read speed: image-2024052700007

  • Gen3 mode:

SD card read speed: image-2024052700008

nvme read speed: image-2024052700009

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

Use nvme solid state drive as system boot disk

  1. Modify boot information, enter 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 reboot. As shown in the figure: image-2024052700014

Note: If you find that you cannot modify after multiple modifications, please connect to the network before modifying (wait for the network to self-synchronize), or set the correct time before modifying the file.

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

  1. Method of downloading the system from nvme Method 1: Enter the following command
xxxxxxxxxx
sudo apt update
sudo apt install rpi-imager

Then, by clicking on the image installation on the desktop, you can download the system to nvme

image-2024052700016 Specific operation method:

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

Method 2: Or use a solid-state box to burn a Raspberry Pi system to nvme.

  1. Remove the SD card from the Raspberry Pi card slot, install PCIE on the Raspberry Pi 5, and then boot it.

As shown in the figure: image-2024052700012

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

  1. If you want to change back to SD card boot, you can directly remove PCIE and it will return to SD card boot.
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/中文