Hello Hailo Community,
I am using a Raspberry Pi 5 for my project, and my operating system is Ubuntu 24.04. I am trying to use the Hailo AI kit for AI processing, but the installation is not working properly.
I have successfully completed some installations. Below are the outputs of some commands
dpkg -l | fgrep -i hailo
ii hailort 4.20.0 arm64 HailoRT
ii hailort-pcie-driver 4.20.0 all Hailo PCIe driver and firmware
sudo dmesg | fgrep hailo
[sudo] password for ari:
[ 8.045010] hailo_pci: loading out-of-tree module taints kernel.
[ 8.045025] hailo_pci: module verification failed: signature and/or required key missing - tainting kernel
[ 8.058708] hailo: Init module. driver version 4.20.0
[ 8.058840] hailo 0000:01:00.0: Probing on: 1e60:2864...
[ 8.058845] hailo 0000:01:00.0: Probing: Allocate memory for device extension, 13184
[ 8.058857] hailo 0000:01:00.0: enabling device (0000 -> 0002)
[ 8.058864] hailo 0000:01:00.0: Probing: Device enabled
[ 8.058883] hailo 0000:01:00.0: Probing: mapped bar 0 - 00000000b3403613 16384
[ 8.058887] hailo 0000:01:00.0: Probing: mapped bar 2 - 0000000078205b27 4096
[ 8.058891] hailo 0000:01:00.0: Probing: mapped bar 4 - 000000007fa11e18 16384
[ 8.058896] hailo 0000:01:00.0: Probing: Setting max_desc_page_size to 4096, (page_size=4096)
[ 8.058904] hailo 0000:01:00.0: Probing: Enabled 64 bit dma
[ 8.058907] hailo 0000:01:00.0: Probing: Using userspace allocated vdma buffers
[ 8.058912] hailo 0000:01:00.0: Disabling ASPM L0s
[ 8.058917] hailo 0000:01:00.0: Successfully disabled ASPM L0s
[ 8.059004] hailo 0000:01:00.0: Writing file hailo/hailo8_fw.bin
[ 8.125454] hailo 0000:01:00.0: File hailo/hailo8_fw.bin written successfully
[ 8.125463] hailo 0000:01:00.0: Writing file hailo/hailo8_board_cfg.bin
[ 8.125563] Failed to write file hailo/hailo8_board_cfg.bin
[ 8.125567] hailo 0000:01:00.0: File hailo/hailo8_board_cfg.bin written successfully
[ 8.125569] hailo 0000:01:00.0: Writing file hailo/hailo8_fw_cfg.bin
[ 8.125626] Failed to write file hailo/hailo8_fw_cfg.bin
[ 8.125628] hailo 0000:01:00.0: File hailo/hailo8_fw_cfg.bin written successfully
[ 8.256026] hailo 0000:01:00.0: NNC Firmware loaded successfully
[ 8.256041] hailo 0000:01:00.0: FW loaded, took 197 ms
[ 8.267686] hailo 0000:01:00.0: Probing: Added board 1e60-2864, /dev/hailo0
ls /dev/hailo*
/dev/hailo0
hailortcli
A subcommand is required
Run with --help for more information.
hailocli scan
Hailo Devices:
[-] Device: 0000:01:00.0
hailortcli fw-control identify
Executing on device: 0000:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.20.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8L
Serial Number: <N/A>
Part Number: <N/A>
Product Name: <N/A>
The outputs of the commands above are as shown. As far as I understand, the hailort-drivers and hailort libraries seem to have been installed successfully.
However, when I try to run the example scripts for Raspberry Pi, I get the following error:
File "/home/ari/test/hailo-rpi5-examples/basic_pipelines/detection.py", line 9, in <module>
from hailo_apps_infra.hailo_rpi_common import (
ModuleNotFoundError: No module named 'hailo_apps_infra'
I couldn’t figure out what is missing in this part.
I have completed the installations mentioned in Tappas_v3.31.0, but how can I test whether the installation was successful?
The pages I followed during the installation are as follows: