Raspberry Pi 5 Use Penta
The Raspberry Pi 5 has a PCIe port that works well with the Radxa Penta SATA HAT.
Assemble
Please assemble in the order shown in the picture below.
Installing column
Installing an FPC Please note that the black side of the FPC is facing us.
Put together
Installing disks
Install the system
Please go to https://www.raspberrypi.com/software/ to download Raspberry Pi Imager and install. Insert the microSD card into the USB port on your computer.
Open Raspberry Pi Imager
Select the device, and select Raspberry Pi5
Select a system, Raspberry Pi OS (64-bit) is recommended
Select the microSD card device you want to insert
Edit Settings
Add user
Enable SSH
Start write
Complete installation
Start Use
Insert the installed system microSD card into the Raspberry Pi and use 12V/5A power supply from the Radxa Penta SATA HAT DC seat. Let's ssh into Raspberry Pi.
Enable PCIe
Edit /boot/firmware/config.txt
and add dtparam=pciex1
to the end of the file, save and reboot.
Check disk
Use the lsblk
command to view disk devices.
lsblk
Speed test
Here is a simple speed test, which is relatively low due to the use of a mechanical hard disk.
sudo dd if=/dev/zero of=/dev/sda bs=32M status=progress count=100 oflag=direct
Forcing Gen 3
Adding dtparam=pciex1_gen=3
to /boot/firmware/config.txt
will force the Raspberry Pi 5 to use PCIe Gen 3.
After adding and rebooting, you can use the following command to check the link status of the Radxa Penta HAT.
sudo lspci
sudo lspci -vvv -s 0000:01:00.1 | grep LnkSta
After seeing the Gen 3 in use, we can measure the write speed again.