Failed to write file hailo/hailo8_fw.4.19.0.bin

Hi Guys, Im facing some issue with firmware version, I’m working in a RPI5 freshly installed, I follow oficial RP doc, I installed driver through apt, it’s installing 4.18 but in the dmesg is showing that hailo is searching for the 4.19, someone can give my a clue on this. I download manually the 4.19 paste it, but when I ran hailocli command it’s failling due to a mismatch version between firmware and cli.

Thanks in advace.

few lines of dmesg
[ 2.370277] hailo 0000:01:00.0: Probing: Force setting max_desc_page_size to 4096 (recommended value is 16384)
[ 2.370286] hailo 0000:01:00.0: Probing: Enabled 64 bit dma
[ 2.370289] hailo 0000:01:00.0: Probing: Using userspace allocated vdma buffers
[ 2.370292] hailo 0000:01:00.0: Disabling ASPM L0s
[ 2.370295] hailo 0000:01:00.0: Successfully disabled ASPM L0s
[ 2.370365] hailo 0000:01:00.0: Writing file hailo/hailo8_fw.4.19.0.bin
[ 2.371660] videodev: Linux video capture interface: v2.00
[ 2.389987] Failed to write file hailo/hailo8_fw.4.19.0.bin
[ 2.389997] hailo 0000:01:00.0: Failed writing firmware files. err -2
[ 2.390001] hailo 0000:01:00.0: Firmware load failed
[ 2.390065] hailo 0000:01:00.0: Failed activating board -2
[ 2.390086] hailo: probe of 0000:01:00.0 failed with error -2
[ 2.426678] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[ 2.427198] rpivid 1000800000.codec: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[ 2.427450] pispbe 1000880000.pisp_be: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[ 2.456213] Bluetooth: Core ver 2.22
[ 2.456233] NET: Registered PF_BLUETOOTH protocol family
[ 2.456235] Bluetooth: HCI device and connection manager in

1 Like

Hey @tommymcphillips ,

Welcome to the Hailo Community!

This issue seems to be from the updating to 4.19 , are you still facing this issue ?

I have the same error. And yes, I’m still facing it.

@omria
Really weird, I solved it by installing a new raspberry OS, double checking all the steps (all the time checking dmesg after a step). but not sure how I installed the version 4.19 through apt if my apt-cache policy was showing 4.18 in my previous raspberry OS instance. the diff between both installation is that in the first I installed the camera, and then the hailo, and now the first thing that I did was Hailo drivers. :person_shrugging:

2 Likes

Howdy;
I cant seem to get rid of this error;
[ 5.049519] hailo: Init module. driver version 4.20.0
[ 5.051910] hailo 0000:01:00.0: Probing on: 1e60:2864…
[ 5.051918] hailo 0000:01:00.0: Probing: Allocate memory for device extension, 13184
[ 5.051935] hailo 0000:01:00.0: enabling device (0000 → 0002)
[ 5.051940] hailo 0000:01:00.0: Probing: Device enabled
[ 5.051955] hailo 0000:01:00.0: Probing: mapped bar 0 - 00000000a9f6be13 16384
[ 5.051960] hailo 0000:01:00.0: Probing: mapped bar 2 - 00000000d0cf6a50 4096
[ 5.051965] hailo 0000:01:00.0: Probing: mapped bar 4 - 0000000053fe0acb 16384
[ 5.051968] hailo 0000:01:00.0: Probing: Force setting max_desc_page_size to 4096 (recommended value is 16384)
[ 5.051981] hailo 0000:01:00.0: Probing: Enabled 64 bit dma
[ 5.051998] hailo 0000:01:00.0: Probing: Using userspace allocated vdma buffers
[ 5.052003] hailo 0000:01:00.0: Disabling ASPM L0s
[ 5.052009] hailo 0000:01:00.0: Successfully disabled ASPM L0s
[ 5.053462] hailo 0000:01:00.0: Writing file hailo/hailo8_fw.bin
[ 5.122185] hailo 0000:01:00.0: File hailo/hailo8_fw.bin written successfully
[ 5.122194] hailo 0000:01:00.0: Writing file hailo/hailo8_board_cfg.bin
[ 5.122227] Failed to write file hailo/hailo8_board_cfg.bin
[ 5.122229] hailo 0000:01:00.0: File hailo/hailo8_board_cfg.bin written successfully
[ 5.122230] hailo 0000:01:00.0: Writing file hailo/hailo8_fw_cfg.bin
[ 5.122238] Failed to write file hailo/hailo8_fw_cfg.bin
[ 5.122239] hailo 0000:01:00.0: File hailo/hailo8_fw_cfg.bin written successfully
[ 5.211577] hailo 0000:01:00.0: NNC Firmware loaded successfully
[ 5.211631] hailo 0000:01:00.0: FW loaded, took 158 ms
[ 5.224621] hailo 0000:01:00.0: Probing: Added board 1e60-2864, /dev/hailo0

Is there a solution for this?
I have updated to the latest firmware; OS is iupto date
Thanks