hello everyone
I am using an Orange Pi 5 Plus with Focal and kernel version 5.10.100. After installing linux-headers and the Hailo driver, when I input lspci, the device is detected. Furthermore, after rebooting and running hailortcli scan, the device ID is visible. However, after rebooting and scanning again, the device can no longer be detected. The logs show the following error. How can I resolve this?
What I mean is that the device’s state is different each time it restarts. Sometimes the device can load the firmware normally, but other times it fails to load the firmware properly.
The Hailo PCIe device on your Orange Pi 5 Plus is being inconsistently detected after system reboots. This typically happens due to driver issues, firmware problems, or power management conflicts.
Potential Solutions
1. Verify PCIe Driver Status
First, check if your drivers are properly installed and loaded:
Hi @omria, thank you for your reply. After receiving your message, I followed your instructions. When I booted up the device and couldn’t detect Hailo, I took the following actions:
I want to remind you again that the phenomenon is different each time the device starts up. Sometimes it can detect the device as shown in the picture below, and sometimes it cannot detect it.
Hey @omria
Thank you for your reminder. From now on, I will send you the logs in text . Following your suggestion, I took action, and here is the log:
orangepi@orangepi5plus:/$ ls
bin boot dev etc home lib lost+found media mnt opt proc root run sbin selinux share srv sys tmp usr var
orangepi@orangepi5plus:/$
orangepi@orangepi5plus:/$ cd /lib/firmware/hailo/
orangepi@orangepi5plus:/lib/firmware/hailo$ ls
hailo8_fw.4.19.0.bin hailo8_fw.bin
orangepi@orangepi5plus:/lib/firmware/hailo$
orangepi@orangepi5plus:/lib/firmware/hailo$ ls
hailo8_fw.4.19.0.bin hailo8_fw.bin
orangepi@orangepi5plus:/lib/firmware/hailo$
orangepi@orangepi5plus:/lib/firmware/hailo$
orangepi@orangepi5plus:/lib/firmware/hailo$ sudo chmod 644 /lib/firmware/hailo/hailo8_*.bin
[sudo] password for orangepi:
orangepi@orangepi5plus:/lib/firmware/hailo$
orangepi@orangepi5plus:/lib/firmware/hailo$
Every time I start up, regardless of whether the Hailo module can scan, the files in this path are the same as those shown in the log above. Based on the information you provided, I seem to be missing the hailo8_board_cfg.bin and hailo8_fw_cfg.bin files. How can I recover these files? How can I resolve this issue?
hey @omria
Sorry to bother you. I still haven’t solved this issue; could you please help me take another look? I would really appreciate it. Thank you very much.