Hi All,
I am looking for YOCTO layers to support Hailo for i.MX8M Plus processor with Scarthgap YOCTO version.
But as seen the github, the latest in Mickledore.
So, is there any update on the latest YOCTO support?
Nadav
June 30, 2025, 9:53am
2
Hi @Navya_Dixit ,
Om26er have created this (unofficial) patch to support Scarthgap:
master
← om26er:scarthgap-support
I did this patch to support the accelerator for scarthgap branch.
```
commit 0… 67e1c020456447e0b7d21ed487d72d7869da8be
Author: Omer Akram <omer@thing.com>
Date: Fri Dec 6 18:54:54 2024 +0500
make hailo accelerator scarthgap compatible
diff --git a/meta-hailo-accelerator/conf/layer.conf b/meta-hailo-accelerator/conf/layer.conf
index a74232f..838114d 100644
--- a/meta-hailo-accelerator/conf/layer.conf
+++ b/meta-hailo-accelerator/conf/layer.conf
@@ -10,4 +10,4 @@ BBFILE_PATTERN_meta-hailo-accelerator = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-hailo-accelerator = "8"
LAYERDEPENDS_meta-hailo-accelerator = "core"
-LAYERSERIES_COMPAT_meta-hailo-accelerator = "kirkstone"
+LAYERSERIES_COMPAT_meta-hailo-accelerator = "scarthgap"
diff --git a/meta-hailo-accelerator/recipes-firmware/hailo-firmware/hailo-firmware_4.19.0.bb b/meta-hailo-accelerator/recipes-firmware/hailo-firmware/hailo-firmware_4.19.0.bb
index 618bc9c..56c38f7 100644
--- a/meta-hailo-accelerator/recipes-firmware/hailo-firmware/hailo-firmware_4.19.0.bb
+++ b/meta-hailo-accelerator/recipes-firmware/hailo-firmware/hailo-firmware_4.19.0.bb
@@ -9,15 +9,15 @@ LICENSE_FILE = "LICENSE"
SRC_URI = "${BASE_URI}/${FW_AWS_DIR}/${FW};md5sum=4494928bbf4fea0ed5e52c26fa043e38 \
${BASE_URI}/${FW_AWS_DIR}/${LICENSE_FILE};md5sum=263ee034adc02556d59ab1ebdaea2cda"
-LICENSE = "LICENSE"
+LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://${WORKDIR}/${LICENSE_FILE};md5=263ee034adc02556d59ab1ebdaea2cda"
FW_PATH = "${WORKDIR}/hailo8_fw.${PV}.bin"
do_install() {
- # Stores hailo8_fw.bin in the rootfs under /lib/firmware/hailo
- install -d ${D}/lib/firmware/hailo
- install -m 0755 ${FW_PATH} ${D}/lib/firmware/hailo/hailo8_fw.bin
+ # Stores hailo8_fw.bin in the rootfs under /usr/lib/firmware/hailo
+ install -d ${D}/usr/lib/firmware/hailo
+ install -m 0755 ${FW_PATH} ${D}/usr/lib/firmware/hailo/hailo8_fw.bin
}
-FILES:${PN} += "/lib /lib/* /lib/firmware/hailo/hailo8_fw*"
+FILES:${PN}:append = " /usr/lib/firmware/hailo/"
```
Official support soon to follow.
1 Like