Skip to main content

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.

  1. Installing column step1 step2

  2. Installing an FPC step3 Please note that the black side of the FPC is facing us. step4

  3. Put together step5

  4. Installing disks step6 step7 step8

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.

  1. Open Raspberry Pi Imager step1

  2. Select the device, and select Raspberry Pi5 step2

  3. Select a system, Raspberry Pi OS (64-bit) is recommended step3

  4. Select the microSD card device you want to insert step4

  5. Edit Settings step5

  6. Add user step6

  7. Enable SSH step7

  8. Start write step8

  9. Complete installation step9

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.

step1

Check disk

Use the lsblk command to view disk devices.

lsblk

step2

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

step3

Forcing Gen 3

Adding dtparam=pciex1_gen=3 to /boot/firmware/config.txt will force the Raspberry Pi 5 to use PCIe Gen 3.

step4

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

step5

After seeing the Gen 3 in use, we can measure the write speed again.

step6