Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whats the plan for scarthgap support? #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

om26er
Copy link

@om26er om26er commented Dec 6, 2024

I am interested in scarthgap support. I wanted to know whats the official plan for that?

@om26er
Copy link
Author

om26er commented Dec 6, 2024

I did this patch to support the accelerator for scarthgap branch.

commit 067e1c020456447e0b7d21ed487d72d7869da8be
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/"

@om26er
Copy link
Author

om26er commented Dec 6, 2024

to maintainers: please create a scarthgap branch from the kirkstone branch and I will do PRs to make sure all recipes get compatible with scarthgap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant