Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
PCIe To M.2 Adapter Board (E) For Raspberry Pi 5, With Cooling Fan, Compatible With 2242 / 2230 Size NVMe Protocol M.2 SSD, High-speed Reading/Writing, Support Gen2 and Gen3 modes, Support Booting PI5 from SSD, Comes with Mini and Compact Heatsink.
Pay attention to the direction of the cable and connect it as shown in the figure:
1: Enable PCIe Interface:
PCIE interface is enabled on the PI5B by default. If the PCIE interface is not enabled, you add the following content in "/boot/firmware/config.txt": dtparam=pciex1
2: The default mode of PCIe is gen2. If you need to enable PCIe Gen3, you need to add the following content at /boot/firmware/config.txt:
dtparam=pciex1_gen=3
3: After modifying it and restarting PI5, you can recognize the device.
As shown below, the identified SM2263 is my SSD, and the other PI5 is the RPI chip.
4: Note that skip this step if you have partitioned and formatted on other platforms (will delete all data from the SSD and proceed with caution).
lsblk for viewing the disk (If you want to see the details run sudo fdisk -l) Partition sudo fdisk /dev/nvme0n1 The device number is the total device number, don't add p1, that's just one partition How to use fdisk partition tool n New Partition q Exit without saving p Print partition table m Print selection menu d Delete Partition w Save to exit t Modify ID number Execute n to add the partition, and then execute w to save and exit.
5: Format:
sudo mkfs. Then press the tab to see a variety of different suffixes, the different suffixes are the formats you need to format. If I want to format to the ext4 file format, execute the following command: sudo mkfs.ext4 /dev/nvme0n1p1 Wait for a few moments, when done has appeared, it means that the formatting has been carried out.
6: Mount:
Create Mount Directory sudo mkdir toshiba Mount the device sudo mount /dev/nvme0n1p1 ./toshiba Checking disk status df -h
Enter the directory where the disk is mounted:
cd toshiba
sudo sh -c "sync && echo 3 > /proc/sys/vm/drop_caches"
sudo dd if=/dev/zero of=./test_write count=2000 bs=1024k
sudo dd if=./test_write of=/dev/null count=2000 bs=1024k
If the testing is sound and you don't need it as a system disk and only use an extended disk, you can set up an automatic mounting.
sudo nano /etc/fstab #Add the following content at the end: /dev/nvme0n1p1 /home/pi/toshiba ext4 defaults 0 0 #/dev/nvme0n1p1 is the device name, /home/pi/toshiba is the directory to be mounted, ext4 is the file system type, defaults are using the default mounting setting #Make the modification take effect (make sure the test is sound before rebooting, otherwise it will lead to failure to mount or boot; if it cannot boot, you can remove the content added in /etc/fstab) sudo mount -a #And then reboot Check the device through "lsblk"
1: First, you can use an SD card to boot the Raspberry Pi, just test it to make sure the hardware can work properly.
2: Use the SD card to boot the Raspberry Pi and modify the config file, modify BOOT_ORDER:
sudo rpi-eeprom-config --edit
Add:
NVME_CONTROLLER=1
Modify BOOT_ORDER=0xf41 as BOOT_ORDER=0xf416 For more details, you can refer to BOOT_ORDER
3: Reboot the Raspberry Pi:
If you fail after trying several times, you can connect it to the network before modify again (wait for network time synchronization), or set the correct time before modifying the file.
4: Flash the system to NVME, and then connect to the board, remove the SD card, and power it on again.
The PI5 fan works when the temperature reaches 50 degrees by default. If you want to modify it to work at other temperatures. you can add the corresponding demands as shown below at /boot/firmware/config.txt:
dtparam=fan_temp0=36000,fan_temp0_hyst=2000,fan_temp0_speed=90 dtparam=fan_temp1=40000,fan_temp1_hyst=3000,fan_temp1_speed=150 dtparam=fan_temp2=52000,fan_temp2_hyst=4000,fan_temp2_speed=200 dtparam=fan_temp3=58000,fan_temp3_hyst=5000,fan_temp3_speed=255
In which:
fan_temp0/1/2/3 #indicates the temperature (360000 is 36℃) fan_temp0/1/2/3_speed #indicates the corresponding rotation speed (up to 255) fan_temp0/1/2/3_hyst #indicates hysteresis temperature
For more details, you can refer to this link.
Note: It can not be set to other temperatures except four temperatures "0/1/2/3" as shown above. The hysteresis temperature must not exceed the span of two temperatures
It's fine to use it, but the rate is only supported when in GEN2 mode, and the other one has to take up the rate, so the performance will not be perfect.