Upgrading to hailort 4.18.0 on Rpi5

Hi,
In order to perform inference via C++ with BatchSize > 1, I need to run HailoRT version 4.18.0 or later, and I’m trying to do this on Rpi5.

I can successfully install the PCIe driver 4.18.0, and HailoRT 4.18.0 via your downloadable .deb packages, but now my firmware is stuck on 4.17.

I see that the ‘hailofw’ apt package seems to come from Raspberry Pi. Can you explain what the setup is here, and how can we can update the firmware to 4.18.0 on Rpi5?

Thanks

Hey @rogojin,

Please use the purge command to remove all of the Hailo packages you installed in version 4.17. To do this, run the following commands:

Copy

sudo dpkg --purge hailort-pcie-driver
sudo dpkg --purge hailort

These commands will completely remove the specified Hailo packages from your system. Let me know if you have any other questions!

Hi @omria,
What is the purpose then of the apt package called “hailofw”? This is the one that is stuck on 4.17 for me.

The firmware is part of the hailort-pcie-driver_4.18.0_all.deb file. The firmware is loaded by the driver to the Hailo-8 device when the driver is loaded.

You should be able to find the firmware file in /lib/firmware/hailo/

There you may also find a link to other hailo firmware files in your system. I have a link

hailo8_fw.bin -> /etc/alternatives/hailo8_fw.bin

That link should point to the latest firmware file. If it does not, delete the link and create a new one to the 4.18.0 firmware file.