Raspberry Pi 5 and AI Hat +2 5.2 Driver Issues 5.1.1

New to the AI Hat. Having some issues with a new PI5 and an AI HAT+2.

IF i run

sudo apt install hailo-h10-all

It does not install the 5.2 PCI Driver and i get a Version Library Miss Match from 5.1.1 in the Library to the 5.2 Required. I have rebuilt/Step by step re deployed 20 times and i am stumped as to what is going wrong.

I have Updated

I have Upgraded

I have rebooted

I have run the install-hailo-all from however that brakes it and i can no longer find the HAT until i run the sudo apt install hailo-h10-all however that does not deploy the PCI Drivers i need.

HALP! I can post logs if needed.

I get this Error when trying to Install the Hailo10 Package however when i go to update the Eprom it says it is up to date.

Newer kernel available │
│ │
│ The currently running kernel version is 6.12.62+rpt-rpi-2712 which is not the expected kernel version 6.12.62+rpt-rpi-v8. │
│ │
│ Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting. │

Here is the Log from the Hailo10 Install

sudo apt install hailo-h10-all
The following packages were automatically installed and are no longer required:
ieee-data python3-argcomplete python3-netaddr python3-netifaces
Use ‘sudo apt autoremove’ to remove them.

Installing:
hailo-h10-all

Installing dependencies:
h10-hailort python3-h10-hailort

REMOVING:
hailo-gen-ai-model-zoo hailort

Summary:
Upgrading: 0, Installing: 3, Removing: 2, Not Upgrading: 0
Download size: 5,603 kB
Freed space: 4,375 kB

Continue? [Y/n] y
Get:1 https://extranet.raspberrypi.org/hailo trixie/main arm64 h10-hailort arm64 5.1.1 [5,199 kB]
Get:2 https://extranet.raspberrypi.org/hailo trixie/main arm64 python3-h10-hailort arm64 5.1.1-1 [402 kB]
Get:3 https://extranet.raspberrypi.org/hailo trixie/main arm64 hailo-h10-all all 5.1.1 [1,388 B]
Fetched 5,603 kB in 2s (3,535 kB/s)
(Reading database … 159523 files and directories currently installed.)
Removing hailo-gen-ai-model-zoo (5.2.0) …
dpkg: hailort: dependency problems, but removing anyway as you requested:
rpicam-apps-hailo-postprocess depends on h10-hailort (>= 5.1.1) | hailort (>= 4.23.0); however:
Package h10-hailort is not installed.
Package hailort is to be removed.

Removing hailort (4.23.0) …
Selecting previously unselected package h10-hailort.
(Reading database … 159451 files and directories currently installed.)
Preparing to unpack …/h10-hailort_5.1.1_arm64.deb …
Unpacking h10-hailort (5.1.1) …
Selecting previously unselected package python3-h10-hailort.
Preparing to unpack …/python3-h10-hailort_5.1.1-1_arm64.deb …
Unpacking python3-h10-hailort (5.1.1-1) …
Selecting previously unselected package hailo-h10-all.
Preparing to unpack …/hailo-h10-all_5.1.1_all.deb …
Unpacking hailo-h10-all (5.1.1) …
Setting up h10-hailort (5.1.1) …
Setting up python3-h10-hailort (5.1.1-1) …
Setting up hailo-h10-all (5.1.1) …
Processing triggers for libc-bin (2.41-12+rpt1+deb13u1) …
Scanning processes…
Scanning processor microcode…
Scanning linux images…

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.

This is the Install Write up i am using

Hi @user484 ,

Can you please confirm which step following this guide not working? https://www.raspberrypi.com/documentation/computers/ai.html

We are looking into the guide you linked - for time being we recommend Raspberry Pi official guide linked here.

Thanks,

I guess here

Step 1. Install the Hailo Ollama server

The Hailo Ollama server provides:

  • Pre-trained LLMs optimised for the Hailo-10H NPU.

  • The Hailo Ollama server that exposes a REST API for model inference.

To install the Hailo Ollama server, download version 5.1.1 of the Hailo Model Zoo GenAI Debian package for Raspberry Pi 5, and then install it using the following command in a Raspberry Pi Terminal:

sudo dpkg -i hailo_gen_ai_model_zoo_5.1.1_arm64.deb

sudo dpkg -i hailo_gen_ai_model_zoo_5.1.1_arm64.deb
dpkg: error: cannot access archive ‘hailo_gen_ai_model_zoo_5.1.1_arm64.deb’: No such file or directory

I had a similar situation where I followed the raspberry pi 5.1.1 instructions but when trying to upgrade to 5.2 I ran into issues until I did this.

% sudo apt remove h10-hailort-pcie-driver

REMOVING:
h10-hailort-pcie-driver

Summary:
Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
Freed space: 90.7 MB

Continue? [Y/n]

(Reading database … 157480 files and directories currently installed.)
Removing h10-hailort-pcie-driver (5.1.1) …

<< don’t worry about any warnings that directory has other files and isn’t being removed >>

Download the hailort-pcie-driver_5.2.0_all.deb (I followed step 5 here How to Run Local LLMs on Raspberry Pi 5 with AI HAT+ 2 (Hailo-10H)) bc you want to get all three files to be on version 5.2 which includes hailort_5.2.0_arm64.deb, hailort-pcie-driver_5.2.0_all.deb, and hailo_gen_ai_model_zoo_5.2.0_arm64.deb

Assuming you follow that links instructions, then you simply run (and will see a similar status msg):

% sudo dpkg --install hailort-pcie-driver_5.2.0_all.deb

(Reading database … 157406 files and directories currently installed.)
Preparing to unpack hailort-pcie-driver_5.2.0_all.deb …
Could not test for SecureBoot, assuming SecureBoot is disabled on this machine.
Unpacking hailort-pcie-driver (5.2.0) …
Setting up hailort-pcie-driver (5.2.0) …

Good luck!

Hi @user484 ,

It looks like full path to the downloaded location (and file name) is required.

This resolved the PCI Driver error for me as well.