aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <ndechesne@users.noreply.github.com>2019-07-03 22:15:10 +0200
committerGitHub <noreply@github.com>2019-07-03 22:15:10 +0200
commit08d1e760a73ff6c665af211c402cc1a7cf93264f (patch)
treefa77d7c525ab49b602ca49de1f245bf495bdd605
parentab6b8c90bfa5aa6602ca305ca2c8104d8a9c0b2c (diff)
parent829116f8803376340c0e2893a27540f7b3eb481b (diff)
downloadmeta-qcom-08d1e760a73ff6c665af211c402cc1a7cf93264f.tar.gz
meta-qcom-08d1e760a73ff6c665af211c402cc1a7cf93264f.tar.bz2
meta-qcom-08d1e760a73ff6c665af211c402cc1a7cf93264f.zip
Merge pull request #107 from alimon/warrior_db845c
dragonboard-845c: Add firmware recipe and kernel bump
-rw-r--r--conf/machine/dragonboard-845c.conf1
-rw-r--r--recipes-bsp/firmware/firmware-qcom-dragonboard845c_20190529180356-v2.bb48
-rw-r--r--recipes-kernel/linux/linux-linaro-qcomlt_5.1.bb2
3 files changed, 50 insertions, 1 deletions
diff --git a/conf/machine/dragonboard-845c.conf b/conf/machine/dragonboard-845c.conf
index 95ec197..e849f99 100644
--- a/conf/machine/dragonboard-845c.conf
+++ b/conf/machine/dragonboard-845c.conf
@@ -12,6 +12,7 @@ KERNEL_DEVICETREE ?= "qcom/sdm845-db845c.dtb"
SERIAL_CONSOLE ?= "115200 ttyMSM0"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
+ firmware-qcom-dragonboard845c \
kernel-modules \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-msm', '', d)} \
"
diff --git a/recipes-bsp/firmware/firmware-qcom-dragonboard845c_20190529180356-v2.bb b/recipes-bsp/firmware/firmware-qcom-dragonboard845c_20190529180356-v2.bb
new file mode 100644
index 0000000..4857794
--- /dev/null
+++ b/recipes-bsp/firmware/firmware-qcom-dragonboard845c_20190529180356-v2.bb
@@ -0,0 +1,48 @@
+DESCRIPTION = "QCOM Firmware for DragonBoard 845c"
+
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://LICENSE.qcom.txt;md5=cbbe399f2c983ad51768f4561587f000"
+
+SRC_URI = "https://releases.linaro.org/96boards/dragonboard845c/qualcomm/firmware/RB3_firmware_${PV}.zip"
+SRC_URI[md5sum] = "8e9489a4bdfd3738ce4683a970b49f42"
+SRC_URI[sha256sum] = "d88ad0873792687b2906107b3244da874264c19384e49f2c4aec6768081cd29a"
+
+COMPATIBLE_MACHINE = "(dragonboard-845c)"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/RB3_firmware_${PV}"
+
+do_compile() {
+ :
+}
+
+do_install() {
+ install -d ${D}${nonarch_base_libdir}/firmware/
+ install -d ${D}${nonarch_base_libdir}/firmware/qcom/venus-5.2/
+
+ install -m 0444 ./17-USB3-201-202-FW/K2026090.mem ${D}${nonarch_base_libdir}/firmware/
+ install -m 0444 ./18-adreno-fw/a630*.* ${D}${nonarch_base_libdir}/firmware/
+ install -m 0444 ./20-adsp_split/firmware/adsp*.* ${D}${nonarch_base_libdir}/firmware/
+ install -m 0444 ./21-cdsp_split/firmware/cdsp*.* ${D}${nonarch_base_libdir}/firmware/
+ install -m 0444 ./33-venus_split/venus.* ${D}${nonarch_base_libdir}/firmware/qcom/venus-5.2/
+ install -m 0444 ./37-wlan_FW/wlanmdsp.mbn ${D}${nonarch_base_libdir}/firmware/
+ install -m 0444 ./38-bdwlan_split/bdwlan*.* ${D}${nonarch_base_libdir}/firmware/
+
+ install -d ${D}${sysconfdir}/
+ install -m 0644 LICENSE.qcom.txt ${D}${sysconfdir}/QCOM-LINUX-BOARD-SUPPORT-LICENSE
+}
+
+FILES_${PN} += "${nonarch_base_libdir}/firmware/*"
+INSANE_SKIP_${PN} += "arch"
+
+RPROVIDES_${PN} += "linux-firmware-qcom-adreno-a630"
+RREPLACES_${PN} += "linux-firmware-qcom-adreno-a630"
+RCONFLICTS_${PN} += "linux-firmware-qcom-adreno-a630"
+
+RPROVIDES_${PN} += "linux-firmware-qcom-venus-5.2"
+RREPLACES_${PN} += "linux-firmware-qcom-venus-5.2"
+RCONFLICTS_${PN} += "linux-firmware-qcom-venus-5.2"
+
+RPROVIDES_${PN} += "linux-firmware-qcom-license"
+RREPLACES_${PN} += "linux-firmware-qcom-license"
+RCONFLICTS_${PN} += "linux-firmware-qcom-license"
diff --git a/recipes-kernel/linux/linux-linaro-qcomlt_5.1.bb b/recipes-kernel/linux/linux-linaro-qcomlt_5.1.bb
index c0f0652..7a85c39 100644
--- a/recipes-kernel/linux/linux-linaro-qcomlt_5.1.bb
+++ b/recipes-kernel/linux/linux-linaro-qcomlt_5.1.bb
@@ -11,7 +11,7 @@ require recipes-kernel/linux/linux-qcom-bootimg.inc
LOCALVERSION ?= "-linaro-lt-qcom"
SRCBRANCH ?= "release/db845c/qcomlt-5.1"
-SRCREV ?= "830dde589168e3ae46f2ff606de59972a69e868a"
+SRCREV ?= "269afa82ce428ba37323c1fe7572943eccab9e71"
COMPATIBLE_MACHINE = "(sdm845)"