How to install Hailo-8 on Orange pi 5 plus?

I am planning to purchase the Hailo-8™ M.2 2280 model and use it on my Orange Pi 5 Plus.

When I searched, there were no installation instructions for Orange Pi, so I followed the installation instructions for Raspberry Pi.

Then, I entered sudo apt update && sudo apt full-upgrade and sudo apt install hailo-all in the terminal.

Then, an error saying E: Unable to locate package hailo-all occurs and installation fails.

If you know how to install Hailo-8 on Orange Pi, I would greatly appreciate your help.

Hey @jsbf,

“sudo apt install hailo-all” is integrated into the Raspberry Pi OS.

If you want to install the Hailo packages on Orange Pi or any other Linux-based system, you have to do it manually.

You need to install:

  1. PCIe driver
  2. HailoRT

The downloads and the guide are available here: https://hailo.ai/developer-zone/software-downloads/

If you need any further assistance or have any questions, please don’t hesitate to ask.

Thank you so much for your reply.

I proceeded with installing the PCIe driver as instructed.
However, an unknown error occurred.

-------------------Terminal------------------
sudo dpkg -i hailort-pcie-driver_4.17.0_all.deb
[sudo] password for orangepi:
Selecting previously unselected package hailort-pcie-driver.
(Reading database … 150360 files and directories currently installed.)
Preparing to unpack hailort-pcie-driver_4.17.0_all.deb …
Could not test for SecureBoot, assuming SecureBoot is disabled on this machine.
Unpacking hailort-pcie-driver (4.17.0) …
Setting up hailort-pcie-driver (4.17.0) …

WARNING: apt does not have a stable CLI interface. Use caution in scripts.

build-essential/jammy,now 12.9ubuntu3 arm64 [installed]
Do you wish to use DKMS? [Y/n]:
Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log
dpkg: error processing package hailort-pcie-driver (–install):
installed hailort-pcie-driver package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
hailort-pcie-driver


I checked /var/log/hailort-pcie-drvier.deb.log.

cat /var/log/hailort-pcie-driver.deb.log
######### Tue Jul 2 06:38:19 PM KST 2024 #########
Could not test for SecureBoot, assuming SecureBoot is disabled on this machine.
######### Tue Jul 2 06:38:19 PM KST 2024 #########
/share/opt/hailo/linux/pcie /
make[1]: *** /lib/modules/5.10.110-rockchip-rk3588//build: No such file or directory. Stop.
make: *** [Makefile:110: clean] Error 2
Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log
Failed at 40
37 }
38
39 function compile_and_install_pcie_driver_with_dkms() {
40 make clean &>> $LOG
41 make install_dkms &>> $LOG || {
42 echo “Failed to install PCIe driver to the DKMS tree. Trying to install PCIe driver without DKMS”
43 compile_and_install_pcie_driver_without_dkms

thank you

Hey @jsbf

Run the following command then try and reinstall without DKMS

sudo dpkg --purge hailort-pcie-driver