Hailortcli fw-control identify not returning anything

I had hailo 4.20 installed on my raspberry pi 5, but it had some issues with hailo-rpi5-examples, which required me to use 4.19. I tried completely uninstalling hailo, removed all halo related directories and files, and removed everything hailo related from ~/.bashrc. Then, I tried reinstalling it, both with

sudo apt install hailo-tappas-core=3.30.0-1 hailo-dkms=4.19.0-1 hailort=4.19.0-3

to install hailo 4.19, and

sudo apt install hailo-all

Before each time I completely removed hailo, and started with a fresh installation, and both times running

hailortcli fw-control identify

returned nothing at all.

I did not try this on the first reinstallation attempt, but on the second I also tried

dmesg | grep -i hailo

which returned

[ 2.358289] hailo: Init module. driver version 4.20.0

[ 2.358365] hailo 0000:01:00.0: Probing on: 1e60:2864…

[ 2.358368] hailo 0000:01:00.0: Probing: Allocate memory for device extension, 13184

[ 2.358380] hailo 0000:01:00.0: enabling device (0000 → 0002)

[ 2.358385] hailo 0000:01:00.0: Probing: Device enabled

[ 2.358400] hailo 0000:01:00.0: Probing: mapped bar 0 - 0000000092794423 16384

[ 2.358405] hailo 0000:01:00.0: Probing: mapped bar 2 - 000000005966366f 4096

[ 2.358407] hailo 0000:01:00.0: Probing: mapped bar 4 - 0000000065d73ea7 16384

[ 2.358411] hailo 0000:01:00.0: Probing: Setting max_desc_page_size to 16384, (page_size=16384)

[ 2.358418] hailo 0000:01:00.0: Probing: Enabled 64 bit dma

[ 2.358420] hailo 0000:01:00.0: Probing: Using userspace allocated vdma buffers

[ 2.358423] hailo 0000:01:00.0: Disabling ASPM L0s

[ 2.358426] hailo 0000:01:00.0: Successfully disabled ASPM L0s

[ 2.358492] hailo 0000:01:00.0: Writing file hailo/hailo8_fw.bin

[ 2.362404] Failed to write file hailo/hailo8_fw.bin

[ 2.362412] hailo 0000:01:00.0: Failed writing NNC firmware files. err -2

[ 2.362415] hailo 0000:01:00.0: FW loaded, took 3 ms

[ 2.362474] hailo 0000:01:00.0: Firmware load failed

[ 2.362476] hailo 0000:01:00.0: Failed activating board -2

[ 2.362492] hailo: probe of 0000:01:00.0 failed with error -2

I don’t know what to do, and I don’t want to have to wipe my SD card and re-flash RPi OS.

I’m not entirely sure what I did, but it is working fine now. It may have just needed a power cycle.

Hey @joshhtgould,

Usually we run reboot right after running the installation. In your case, the Max_desc_page_size wasn’t set because the driver wasn’t up (my guess). Happy to hear it worked!