Open main menu

Changes

NVMe SSD boot with the Raspberry Pi 5

3,480 bytes removed, 19 April
no edit summary
You also can refer to official documentatio:[https://www.raspberrypi.com/documentation/computers/raspberry-pi-5.html#enabling-pcie Enabling PCIe]
Use After reboot,use the lspci command to display your PCIe devices
sudo lspci
The output is as follows, note that the content of the third line depends on the NVME control you are using.
0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2712 (rev 21)
0001:01:00.0 Ethernet controller: Device 1de4:0001
<span class="tb_red">If your NVMe SSD is not recognized, updating the bootloader firmware is essential!</span>You can either use a terminal, and simply use the following commands Refer to update your firmware: (Firstly the Raspberry Pi 5 needs [[How to be connected to the internet) sudo apt update sudo apt upgrade rpi-eeprom-update -aIf a firmware ]] to update is available you will be prompted to install it and your Raspberry Pi will reboot. More information about updating the firmware on your Raspberry Pi is available in the or [[https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#bootloader_update_stable official documentationFAQ]. After updating the firmware and your SSD is still recognized, Please consider switching ] Q1 to a different brand or model and try againknow more detailsThen run the following command to check the BOOTLOADER version: vcgencmd bootloader_versionMaybe the result is following:<pre>pi@raspberrypi:~ $ vcgencmd bootloader_version2024/04/18 09:45:00version 86ccc427f35fdc604edc511881cdf579df945fb4 (release)timestamp 1713429900update-time 1713493735capabilities 0x0000007f</pre>'2024/04/18' is the firmware version;
==Flash OS onto NVME SSD==
The PCIe connection should work after a reboot, but your Pi won't try booting off an NVMe SSD yet. For that, you need to change the '''BOOT_ORDER''' in the Raspberry Pi's bootloader configuration:
* Use tool '''raspi-config''' to set boot order sudo raspi-configThen select '''6 Advanced Opitions''' => '''A4 Boot Order''' => '''B2 NVMe/USB Boot''' answer '''Yes''', then <code>sudo reboot</code>* Run the following command to edit the EEPROM on the Raspberry Pi 5set boot order.
sudo rpi-eeprom-config --edit
Then change the BOOT_ORDER line to the following:
<references />
==FAQ==
<div class="toccolours mw{{X100x-collapsible mw-collapsed"><div style="font-weight:bold;line-height:1.0; color:red;">Q1: Can't boot/recognize from NVMe SSD?</div><div class="mw-collapsible-content">A: Here are a few steps to help you troubleshoot some issues:# Firstly, you can read [https://geekworm.com/community/forum/topic/120764/geekworm-x1001-for-raspberry-pi-5 this post] to get some help;# Make sure the SSD type you use is correct, only support <span class="tb_red">M.2 NVME (Sata) Key-M SSD '''</span>NOT support''' M.2 NGFF Key-B SSD. Refer to the following diagram (click it to zoom out): [[File:Supported-SSD-1.jpg|100px]]# Check if the FFC is fully inserted. Is the HAT tightly connected? We recommend you to send us the FFC connection schematic as well.# '''Only''' Raspberry Pi OS ('''Bookworm''') supports PCIe, Raspberry Pi OS bullseye is NOT supported, refer to https://www.raspberrypi.com/software/operating-systems/# Although you can also boot from a SD card, Pi OS is required for the NVMe SSD to boot, DON'T forget Flash OS onto NVMe SSD.# If you're flashing a fresh Pi OS into NVME SSD , DON'T forget to '''ENABLE PCIe''' to NVME SSD.# Run the '''lspci''' and'''lsblk''' command to check the NVMe SSD is recognized.# Add '''''PCIE_PROBE=1''''' to the eeprom, (Run '''sudo rpi-eeprom-config --edit''' command, then add this line, then press CTRL+O to write change to file, press CTRL+X to exit, then reboot)# <span class="tb_red">Update the bootloader firmware to the last verson, refer to [[How to update eeprom firmware]], this is very important!!!</span>And finally be sure to run the command ''vcgencmd bootloader_version'' to check if your upgrade was successful!# For [[X1003]], if an error occurs, replace the FFC cable to test.# If your SSD is old and has a '''DOS partition''', delete the DOS partition and repartition the SSD (feedback from buyer)# Contact us at email: support@geekworm.com</div></div> <div class="toccolours mw-collapsible mw-collapsed"><div style="font-weight:bold;line-height:1.0;">Q2: Don't recognize / boot from NVME SSD?</div><div class="mw-collapsible-content">A: If you have '''enabled pcie''' and find that you still cannot boot from NVME SSD, please perform the following actions 1. Follow the picture below to check the version of [[X1001]] or [[X1000]] [[File:X1001-V1.1-IMG-6871-old-new.jpg|600px]] 2. If it is an '''Old Version''', refer to [[How to update eeprom firmware]] to update the firmware with '''pieeprom-2023-10-30.bin file'''. 3. If it is an '''New Version''', refer to [[How to update eeprom firmware]] to update the firmware to '''lasted version'''. 4. '''If you still have not solved the problem, please refer to the next FAQ:Q1'''</div></div>}}
Return to [[X1000]] / [[X1001]] / [[X1002]] / [[X1003]]