aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-11-07 15:52:59 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-11-08 17:48:34 +0100
commit618abbf91a211e3a1298c1c3a19072a6cc97212e (patch)
treea7422efcb9731ddfa90651f567fa9622276e63d6
parent79373d46a8fd205cae21d833d0356d934427b139 (diff)
downloadmeta-qcom-618abbf91a211e3a1298c1c3a19072a6cc97212e.tar.gz
meta-qcom-618abbf91a211e3a1298c1c3a19072a6cc97212e.tar.bz2
meta-qcom-618abbf91a211e3a1298c1c3a19072a6cc97212e.zip
firmware-qcom-dragonboard820c: add new recipe
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 11dc67d2801794368dd7623e88ec42766bc8f118)
-rw-r--r--recipes-bsp/firmware/firmware-qcom-dragonboard820c_01700.1.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-bsp/firmware/firmware-qcom-dragonboard820c_01700.1.bb b/recipes-bsp/firmware/firmware-qcom-dragonboard820c_01700.1.bb
new file mode 100644
index 0000000..859928b
--- /dev/null
+++ b/recipes-bsp/firmware/firmware-qcom-dragonboard820c_01700.1.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "QCOM Firmware for DragonBoard 820c"
+
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4d087ee0965cb059f1b2f9429e166f64"
+
+SRC_URI = "http://builds.96boards.org/snapshots/dragonboard820c/binaries/20171101/linux-board-support-package-r${PV}.zip"
+SRC_URI[md5sum] = "587138c5e677342db9a88d5c8747ec6c"
+SRC_URI[sha256sum] = "6ee9c461b2b5dd2d3bd705bb5ea3f44b319ecb909b2772f305ce12439e089cd9"
+
+COMPATIBLE_MACHINE = "(dragonboard-820c)"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/linux-board-support-package-r${PV}"
+
+do_compile() {
+ :
+}
+
+do_install() {
+ install -d ${D}/lib/firmware/
+ install -d ${D}/lib/firmware/qcom/venus-4.2/
+
+ install -m 0444 ./proprietary-linux/a530*.* ${D}/lib/firmware/
+ install -m 0444 ./proprietary-linux/venus.* ${D}/lib/firmware/qcom/venus-4.2/
+ install -m 0444 ./proprietary-linux/adsp.* ${D}/lib/firmware/
+
+ install -d ${D}${sysconfdir}/
+ install -m 0644 LICENSE ${D}${sysconfdir}/QCOM-LINUX-BOARD-SUPPORT-LICENSE
+}
+
+FILES_${PN} += "/lib/firmware/*"
+INSANE_SKIP_${PN} += "arch"