Enhancing Skills

Raspberry Pi 5 – Boot from NVMe M.2 SSD


Set time format

%a / %h, %d %Y / %I:%M %p

Update PI

Update Pi packages

sudo apt update
sudo apt list --upgradable
sudo apt-get full-upgrade
sudo reboot

If failure

sudo apt --fix-broken install
sudo dpkg --configure -a

Update Pi firmware

sudo rpi-update
sudo apt reinstall raspi-firmware raspberrypi-kernel raspberrypi-bootloader -y
sudo reboot

Verify M.2 is visible

lsblk
lspci

Seup Geekworm X1001

Avoid: Phison controller

config.txt

sudo nano /boot/config.txt
# Enable the PCIe External connector.
dtparam=pciex1
# This line is an alias for above 
# (you can use either/or to enable the port).
dtparam=nvme

# Increase USB current to 1A
max_usb_current=1
usb_max_current_enable=1

Update boot config

sudo rpi-eeprom-config --edit
BOOT_UART=1
POWER_OFF_ON_HALT=0
BOOT_ORDER=0xf416

PCIE_PROBE=1

Testing

htop --d 10
sudo dd if=/dev/nvme0 of=./Testingfile bs=100M count=10 oflag=direct
sudo dd if=/dev/nvme0n1 of=./Testingfile bs=100M count=10 oflag=direct
while true; do sudo dd if=/dev/nvme0n1 of=./testingfile bs=10M count=100 oflag=direct iflag=fullblock; done

rm testingfile
mkdir websites
cd websites/
wget -h
wget -r -np -l 5 -A zip https://toolboxaid.com

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.