215 words
1 minute
Install Hailo-8 on Raspberry Pi 5 Running Ubuntu 24.04
1. Download and Flash Ubuntu
Download Ubuntu
Download Ubuntu 24.04 for Raspberry Pi from the Ubuntu image archive.
Scroll down to find the Preinstalled desktop image.

Flash the image to a microSD card or SSD using Raspberry Pi Imager or another flashing tool.
Verify Installation
cat /etc/os-releaseCheck that the output identifies Ubuntu 24.04 LTS.
2. Enable PCIe Gen3
Edit the firmware configuration file:
sudo nano /boot/firmware/config.txtAdd the following line:
dtparam=pciex1_gen=3Reboot the System
sudo rebootVerify PCIe Link Speed
sudo lspci -vv | grep LnkStaLook for the following link speed and width:
LnkSta: Speed 8GT/s, Width x13. Validate Hardware Detection
Verify PCIe device detection:
lspciExample output (the PCIe address may differ):
06:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor4. Install Dependencies
Update the System
sudo apt updatesudo apt full-upgrade -yInstall Required Packages
sudo apt install -y \ build-essential \ dkms \ linux-headers-$(uname -r)5. Download and Install Hailo Software and Driver
Download Packages
Download the following packages from the Hailo Developer Zone:
- HailoRT
- HailoRT PCIe Driver
- TAPPAS

The commands below install the HailoRT runtime and PCIe driver.
Install the Driver and Runtime
From the directory containing the downloaded packages, run:
sudo dpkg -i \ hailort_*.deb \ hailort-pcie-driver_*.debResolve Dependencies
sudo apt -f installReboot
sudo rebootEnsure that the versions of
hailortandhailort-pcie-drivermatch.
6. Verify Installation
Verify Firmware Communication
hailortcli fw-control identifyVerify Driver Version
modinfo hailo_pci | grep versionInstall Hailo-8 on Raspberry Pi 5 Running Ubuntu 24.04
https://blog.hanzogenji.cn/posts/tutorials/install-hailo-8-raspberry-pi-5-ubuntu-24-04/