aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
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-07 15:52:59 +0100
commit11dc67d2801794368dd7623e88ec42766bc8f118 (patch)
treea1639f41268d33408d76d30a37b92e98f50f1130 /recipes-bsp
parentf99e865f8944bc5a935a87bf289d322e898413cd (diff)
downloadmeta-qcom-11dc67d2801794368dd7623e88ec42766bc8f118.tar.gz
meta-qcom-11dc67d2801794368dd7623e88ec42766bc8f118.tar.bz2
meta-qcom-11dc67d2801794368dd7623e88ec42766bc8f118.zip
firmware-qcom-dragonboard820c: add new recipe
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'recipes-bsp')
-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"