How to set up the Hailo on the RPi5?

Hi All,
Any help would be greatly appreciated, I have been trying to get this to work for days.
I recently bought the Hailo 26 TOPS for the NPU inference as I require it for a custom project. I have spent days trying the downloads from the “Developer Zone”, though no option proves sucessful. Where are the new set up files for Raspberry Pi? Why does 4.21 and 4.20 keep giving me errors? Am I missing something? I also tried the most recent v5.0 files from GitHub and it appears to be missing a makefile.

This is a critical project and as said, any assistance with getting the Hailo operating on the Pi5 would be greatly apprecited.

Just follow the official documentation from Raspberry.

Raspberry Pi - AI HAT+ Documentation

Raspberry Pi - AI HAT+ Software

1 Like

Thank you but I have tried that already. I get the below result

$ hailortcli fw-control identify
[HailoRT] [error] CHECK failed - Driver version (4.21.0) is different from library version (4.20.0)
[HailoRT] [error] Driver version mismatch, status HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT CLI] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)

Hi @Troy_McIntyre,

quick question, have you already tried installing hailo-all?

sudo apt update
sudo apt install hailo-all

Additionally, two sanity checks:
are you on Raspberry Pi OS, and may you run apt list | grep hailo to see what you have installed?

On my RP5, hailo-all includes 4.20.0, so I am curious why your driver version is listed as 4.21.0.

Hello @Troy_McIntyre,
The problem you’re seeing is due to your HailoRT (runtime) version being older than the Hailo driver on the system.

You can fix this by simply installing 4.21.0 of HailoRT from here:

Search for ‘Ubuntu’ and make sure you click ‘Search in All Versions’ here:

Find the hailort_4.21.0_arm64.deb, and install it using
sudo dpkg -i hailort_4.21.0_arm64.deb

Let me know if this fixes it