By Kevin McAleer, 2 Minutes
Page last updated November 24, 2026

With the hardware fitted, letβs install the software. These commands come straight from the Raspberry Pi AI software documentation at raspberrypi.com/documentation/computers/ai.html. The docs target a Raspberry Pi 5 running 64-bit Raspberry Pi OS (Trixie).
Older kits needed you to switch the PCIe port to Gen 3.0 by hand. The docs say the AI HAT+ and AI HAT+ 2 apply this automatically, so there is nothing to do.
Update the OS and the firmware, then reboot:
sudo apt update
sudo apt full-upgrade -y
sudo rpi-eeprom-update -a
sudo reboot
The AI HAT+ 2 uses a different package from the AI HAT+. This is the one for the AI HAT+ 2:
sudo apt install dkms
sudo apt install hailo-h10-all
Important: the docs warn that hailo-all (for the AI Kit and AI HAT+) and hailo-h10-all cannot co-exist. If you tried an older guide and installed hailo-all, you will need to sort that out before carrying on.
Reboot, then verify.
hailortcli fw-control identify
dmesg | grep -i hailo
The first command asks the HAT to identify itself. The second searches the kernel log for Hailo messages. The docs note that the AI HAT+ and AI HAT+ 2 may show <N/A> for Serial Number, Part Number and Product Name. That is expected, so donβt panic.
sudo apt update && sudo apt install rpicam-apps
rpicam-hello
If the camera works, rpicam-hello shows a preview for five seconds.
hailortcli fw-control identify and read what it prints.dmesg | grep -i hailo and find the line that mentions the device.Problem: hailortcli reports no device.
Solution: Power off, reseat the PCIe ribbon cable at both ends, and check you installed hailo-h10-all, not hailo-all.
Why: The HAT is a PCIe device, so it needs both a good connection and the right driver package.
Problem: The serial number shows <N/A>.
Solution: Nothing, carry on.
Why: The docs say this is expected for the AI HAT+ and AI HAT+ 2.
Comments