[meta-ti] [[thud] PATCH 1/2] ti-img-rogue-driver: add PowerVR Rogue kernel module for J721E
Anand Balagopalakrishnan
anandb at ti.com
Wed Jun 19 04:56:01 PDT 2019
Signed-off-by: Anand Balagopalakrishnan <anandb at ti.com>
---
.../ti-img-rogue-driver_1.10.5187610.bb | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5187610.bb
diff --git a/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5187610.bb b/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5187610.bb
new file mode 100644
index 0000000..a79abfd
--- /dev/null
+++ b/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5187610.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
+HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
+LICENSE = "MIT | GPLv2"
+LIC_FILES_CHKSUM = "file://README;beginline=15;endline=20;md5=0403c7dea01a2b8232261e805325fac2"
+
+inherit module
+
+MACHINE_KERNEL_PR_append = "a"
+PR = "${MACHINE_KERNEL_PR}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "j7-evm"
+
+DEPENDS = "virtual/kernel"
+
+BRANCH = "linux/thud/k4.19/${PV}"
+
+SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH}"
+S = "${WORKDIR}/git"
+
+SRCREV = "4dd7ff1382e7dfe6aaec8cc118b976facbc4b138"
+
+PVR_SOC = "j721e_linux"
+PVR_BVNC = "22.104.208.318"
+PVR_BUILD = "release"
+PVR_WS = "nulldrmws"
+
+EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" RGX_BVNC=${PVR_BVNC} BUILD=${PVR_BUILD} PVR_BUILD_DIR=${PVR_SOC} WINDOW_SYSTEM=${PVR_WS}'
+
+do_install() {
+ make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/binary_${PVR_SOC}_${PVR_WS}_${PVR_BUILD}/target_aarch64/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
+}
--
1.9.1
More information about the meta-ti
mailing list