[meta-ti] [PATCH] goodix-fw: add Goodix GT9271 config firmware

Denys Dmytriyenko denis at denix.org
Fri Dec 9 13:48:17 PST 2016


From: Denys Dmytriyenko <denys at ti.com>

Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
 recipes-bsp/goodix-fw/goodix-fw_git.bb       | 29 ++++++++++++++++++++++++++++
 recipes-kernel/linux/linux-ti-staging_4.4.bb |  9 +++++----
 2 files changed, 34 insertions(+), 4 deletions(-)
 create mode 100644 recipes-bsp/goodix-fw/goodix-fw_git.bb

diff --git a/recipes-bsp/goodix-fw/goodix-fw_git.bb b/recipes-bsp/goodix-fw/goodix-fw_git.bb
new file mode 100644
index 0000000..815466b
--- /dev/null
+++ b/recipes-bsp/goodix-fw/goodix-fw_git.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "Goodix GT9271 config firmware"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENCE.Spectrum-GT9271;md5=2a6de6be7af1fe46370c684daf27c852"
+
+PV = "1.0.0.0"
+PR = "r0"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "dra7xx"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRCREV = "f1a8d1d0131f83bd1a775cde7075eb67c070892c"
+BRANCH ?= "ti-linux-firmware-4.1.y"
+
+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+ORIGIN = "DRA71x-RevA-GT9271_SpecDig_Config.bin"
+TARGET = "goodix_9271_cfg.bin"
+
+do_install() {
+	install -d ${D}${base_libdir}/firmware
+	install -m 0644 ${S}/ti-evm/${ORIGIN} ${D}${base_libdir}/firmware/${TARGET}
+}
+
+FILES_${PN} = "${base_libdir}/firmware"
diff --git a/recipes-kernel/linux/linux-ti-staging_4.4.bb b/recipes-kernel/linux/linux-ti-staging_4.4.bb
index a2f3a32..67ed01e 100644
--- a/recipes-kernel/linux/linux-ti-staging_4.4.bb
+++ b/recipes-kernel/linux/linux-ti-staging_4.4.bb
@@ -16,15 +16,16 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.4:"
 # Pull in the devicetree files into the rootfs
 RDEPENDS_kernel-base += "kernel-devicetree"
 
-# Add a run-time dependency for the PM firmware to be installed
-# on the target file system.
+# Add run-time dependency for PM firmware to the rootfs
 RDEPENDS_kernel-base_append_ti33x = " amx3-cm3"
 RDEPENDS_kernel-base_append_ti43x = " amx3-cm3"
 
-# Add a run-time dependency for the VPE VPDMA firmware to be installed
-# on the target file system.
+# Add run-time dependency for VPE VPDMA firmware to the rootfs
 RDEPENDS_kernel-base_append_dra7xx = " vpdma-fw"
 
+# Add run-time dependency for Goodix firmware to the rootfs
+RDEPENDS_kernel-base_append_dra7xx = " goodix-fw"
+
 # Install boot-monitor skern file into /boot dir of rootfs
 RDEPENDS_kernel-base_append_keystone = " boot-monitor"
 
-- 
2.7.4



More information about the meta-ti mailing list