Hello everyone,
We are currently developing a system using the Yocto build system, targeting the TI J784S4 EVM. For this project, we are utilizing the kirkstone-v5.2.0 branch of meta-hailo.
meta-hailo/meta-hailo-accelerator at kirkstone-v5.2.0 · hailo-ai/meta-hailo
However, we have identified that this branch does not include a firmware recipe. Consequently, the firmware is not being incorporated during the Yocto build process, leading to a problem where the Hailo-10 device is not recognized after the device boots up.
Specifically, when we attempt to verify the presence of the Hailo-10 device on the booted system, we encounter the following error message.
root@j784s4-evm:/opt/edgeai-gst-apps# hailortcli scan
Hailo devices not found
root@j784s4-evm:/opt/edgeai-gst-apps# dmesg | grep -i hailo
[ 13.745393] hailo1x: Init module. driver version 5.2.0
[ 13.759051] hailo1x 0000:01:00.0: Probing on: 1e60:45c4...
[ 13.764561] hailo1x 0000:01:00.0: Probing: Allocate memory for device extension, 11200
[ 13.764599] hailo1x 0000:01:00.0: enabling device (0000 -> 0002)
[ 13.778506] hailo1x 0000:01:00.0: Probing: Device enabled
[ 13.783944] hailo1x 0000:01:00.0: Probing: mapped bar 0 - 0000000031981185 16384
[ 13.796868] hailo1x 0000:01:00.0: Probing: mapped bar 2 - 000000003c9e9ec7 4096
[ 13.804182] hailo1x 0000:01:00.0: Probing: mapped bar 4 - 0000000005b44bbe 16384
[ 13.813712] hailo1x 0000:01:00.0: Probing: Setting max_desc_page_size to 4096, (PAGE_SIZE=4096)
[ 13.822580] hailo1x 0000:01:00.0: Probing: Enabled 64 bit dma
[ 13.828325] hailo1x 0000:01:00.0: Disabling ASPM L0s
[ 13.833383] hailo1x 0000:01:00.0: Successfully disabled ASPM L0s
[ 13.839833] hailo1x 0000:01:00.0: Writing file hailo/hailo10h/customer_certificate.bin
[ 13.859546] hailo1x 0000:01:00.0: Failed with error -2 to write file hailo/hailo10h/customer_certificate.bin
[ 13.873875] hailo1x 0000:01:00.0: Failed writing firmware files over PCIe bars. err -2
[ 13.883273] hailo1x 0000:01:00.0: Failed writing SOC firmware on stage 1. boot_status 1
[ 13.895740] hailo1x 0000:01:00.0: Firmware load failed
[ 13.901434] hailo1x 0000:01:00.0: Failed activating board -2
[ 13.907273] hailo1x 0000:01:00.0: probe with driver hailo1x failed with error -2
We believe this issue stems from the missing firmware. Could you please advise on the necessary steps to correctly recognize the Hailo-10 device on the TI J784S4 EVM using the kirkstone-v5.2.0 branch?
Any guidance on providing a firmware recipe or the appropriate procedure for incorporating the firmware would be greatly appreciated.