Ubuntu 25.04, RPI5, and hailortctfw-control identify

I am running Ubuntu Server 25.04 on RPI5.

uname -a output

Linux picam 6.17.0-1003-raspi #3-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 19:28:02 UTC 2025 aarch64 GNU/Linux

Hailo M.2

Hailo: HNC 18BI 11BH
2144

Compiled from source

I have compiled and installed compiled hailo drivers from source following instructions provided.

git clone GitHub - hailo-ai/hailort-drivers: The Hailo PCIe driver is required for interacting with a Hailo device over the PCIe interface

lspci output

sudo lspci -v -s 03:00.0
0001:03:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor (rev 01)
Subsystem: Hailo Technologies Ltd. Hailo-8 AI Processor
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at 1800000000 (64-bit, prefetchable) [size=16K]
Memory at 1800008000 (64-bit, prefetchable) [size=4K]
Memory at 1800004000 (64-bit, prefetchable) [size=16K]
Capabilities: [80] Express Endpoint, IntMsgNum 0
Capabilities: [e0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [f8] Power Management version 3
Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?>
Capabilities: [108] Latency Tolerance Reporting
Capabilities: [110] L1 PM Substates
Capabilities: [128] Alternative Routing-ID Interpretation (ARI)
Capabilities: [200] Advanced Error Reporting
Capabilities: [300] Secondary PCI Express
Kernel driver in use: hailo
Kernel modules: hailo_pci

lsmod output

lsmod | grep hailo_pci
hailo_pci 118784 0

hailortcli scan output

hailortcli scan
Hailo Devices:
[-] Device: 0001:03:00.0

hailortcli output

hailortcli fw-control identify
[HailoRT] [error] Ioctl HAILO_QUERY_DRIVER_INFO failed due to inappropriate ioctl for device (can happen due to version mismatch or unsupported feature)
[HailoRT] [error] Failed to query driver info with HAILO_DRIVER_INVALID_IOCTL(86)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_INVALID_IOCTL(86)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_INVALID_IOCTL(86)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_INVALID_IOCTL(86)
[HailoRT CLI] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_INVALID_IOCTL(86)
[HailoRT CLI] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_INVALID_IOCTL(86)

I have searched forum and internet for a solutin, but I do not see one. I have recompiled and reinstall drivers, but still have an issue with hailortcli error output.

I understand that Ubuntu Server 25.04 is not yet support, but I am looking for a solution. I have my home lab running on Ubuntu Server 25.04 on RPIs (3,4,5). My goal is to have my Frigate and Homeassistant RPI5 integrated with Hailo. I would appreciate any guidance. Please let me know if additional information is needed.

emphasized text

After a nights sleep, its a new day. I decided to recompile hailort drivers. I uses the same git clone, but I made sure to change the branch using: bit switch hailo8. I recomipiled and reinstalled per Hailo install from source instruction.

~/src/hailort$ cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DHAILOR_BUILD_EXAMPLES=1 && sudo cmake --build build --config release --target install

Success!. hailortcli

hailortcli fw-control identify
Executing on device: 0001:03:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.23.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8
Serial Number: HLLWMEA222700448
Part Number: HM218B1C2KAE
Product Name: HAILO-8 AI ACC M.2 A+E KEY MODULE EXT TEMP

Forward to Frigate and Homeassistant integration.

1 Like