Apt install hailo-all FAILED

Hi, Currently im trying to install hailoruntime and dependencies using

apt install hailo-all

Currently the installation is successful, but im facing a error called failed to write to /hailo/hailo8_fw.bin in dmesg | grep hailo

i can run the hailortcli fw-control identify, but i dont get any output

One more thing is I’m using a Raspberry Pi OS Lite. Hope to get response soon

It is recommended to test your system before installing the HailoRT PCIe driver. PCIe capabilities of all devices are negotiated at boot without the need of custom drivers. You should be able to see the Hailo-8 when running lspci command

04:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor (rev 01)

or

04:00.0 Co-processor: Device 1e60:2864 (rev 01)

If that does not work, check your hardware. Did you install the PCIe cable correctly and the GPIO header?

Did you install the 64-bit version of the Raspberry Pi OS?

Hi @KlausK ,

Okkay i have testing it on raspberry pi 64 bit full os and it detect the hailo devices and able to run the .hef model, the problem is when i try to install this on lite version using:

apt install hailo-all

its able to install the drivers and other dependencies but the problem is there is a firmware error you can refer to this post how i manage to solve it.

You can refer to the problem, and you can recreate it by fresh lite os installation and try to install the hailo libraries.

Hi @SAN,

I did a fresh install of Raspberry Pi OS Lite (64-bit). Then I run

sudo apt update
sudo apt upgrade
sudo reboot
sudo apt install hailo-all

Everything seems to work as expected. I tested

hailortcli scan
hailortcli fw-control identify

I also uploaded a HEF file and run inference using the HailoRT CLI.

hailortcli run yolov5m_wo_spp.hef

To finish the tests I run the HailoRT monitor over SSH and inference in the terminal. Worked as expected.

Its so weird i did a fresh install of raspbery pi lite os 64 bit

and also follow your installation step still i have the problem.

lspci

hailortcli fw-control identify
image

there is no output from the above command

dmesg | grep hailo

Following the installation, I’m not sure how did you dint prompt any error

uname -a
image

im not sure why im getting this problem

Hey @SAN,

That’s really strange behavior you’re experiencing. Is this issue still happening on your end?

You might want to try running these commands to see if they help:

sudo apt update
sudo apt full-upgrade
sudo apt install hailo-all

Then restart your system.

If this doesnt work , please run :
apt-cache policy hailo-all or apt policy hailo-all

This will check the packages available to download and install

Hi @omria , yep its still a problem until i change fw file just like in the post . I did follow the step propose by @KlausK still the problem persist. Its okkay i just try to work around