Skip to contentSkip to conversation

omap3-sgx-modules: Upgrade to latest version 4.06.00.02

PATCH In review Franklin S. Cooper Jr 3 participants 4 messages Sep 3, 2012 – Sep 18, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omap3-sgx-modules: Upgrade to latest version 4.06.00.02

* Add the latest version of omap3-sgx-modules.
* Set DEFAULT_PREFERENCE to -1 to match libgles-omap3_4.06.00.02

---
 .../omap3-sgx-modules_4.06.00.02.bb                |   50 ++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)
 create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.06.00.02.bb
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.06.00.02.bb new file +50 -0
new file mode 100644
index 0000000..c31e9f1
@@ -0,0 +1,50 @@
+DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
+
+TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
+require ../../recipes-ti/includes/ti-eula-unpack.inc
+
+SGXPV = "4_06_00_02"
+IMGPV = "1.7.867897"
+BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+inherit module
+
+MACHINE_KERNEL_PR_append = "a"
+PR = "${MACHINE_KERNEL_PR}"
+
+# Not making this the default version to match a similar setting
+# in the matching libgles-omap3_4.06.00.02 recipe.
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
+SRC_URI[md5sum] = "62f0c378e38f8d14e9f184c3836aea21"
+SRC_URI[sha256sum] = "71c8e154484304b3ce32d565557720a96c7ba762e72d7f1e93deeef9f3274402"
+TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
+S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
+
+PVRBUILD = "release"
+export KERNELDIR = "${STAGING_KERNEL_DIR}"
+
+INHIBIT_PACKAGE_STRIP = "1"
+
+TI_PLATFORM_omap3 = "omap3630"
+TI_PLATFORM_ti814x = "ti81xx"
+TI_PLATFORM_ti816x = "ti81xx"
+TI_PLATFORM_ti33x = "ti335x"
+
+MODULESLOCATION_omap3 = "dc_omapfb3_linux"
+MODULESLOCATION_ti814x = "dc_ti81xx_linux"
+MODULESLOCATION_ti816x = "dc_ti81xx_linux"
+MODULESLOCATION_ti33x = "dc_ti335x_linux"
+
+MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"
+
+do_install() {
+    mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+    cp  ${S}/pvrsrvkm.ko \
+        ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko  \
+        ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
+        ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+}
Signature · 1 line
1.7.0.4
#1 lore raw

ping

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Franklin S. Cooper Jr
Sent: Monday, September 03, 2012 2:52 PM
To: [email protected]
Cc: Franklin S. Cooper Jr
Subject: [meta-ti] [PATCH] omap3-sgx-modules: Upgrade to latest version 4.06.00.02

* Add the latest version of omap3-sgx-modules.
* Set DEFAULT_PREFERENCE to -1 to match libgles-omap3_4.06.00.02

---
 .../omap3-sgx-modules_4.06.00.02.bb                |   50 ++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)  create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.06.00.02.bb
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.06.00.02.bb new file +50 -0
new file mode 100644
index 0000000..c31e9f1
@@ -0,0 +1,50 @@
+DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
+
+TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
+require ../../recipes-ti/includes/ti-eula-unpack.inc
+
+SGXPV = "4_06_00_02"
+IMGPV = "1.7.867897"
+BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+inherit module
+
+MACHINE_KERNEL_PR_append = "a"
+PR = "${MACHINE_KERNEL_PR}"
+
+# Not making this the default version to match a similar setting # in 
+the matching libgles-omap3_4.06.00.02 recipe.
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
+SRC_URI[md5sum] = "62f0c378e38f8d14e9f184c3836aea21"
+SRC_URI[sha256sum] = "71c8e154484304b3ce32d565557720a96c7ba762e72d7f1e93deeef9f3274402"
+TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
+S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
+
+PVRBUILD = "release"
+export KERNELDIR = "${STAGING_KERNEL_DIR}"
+
+INHIBIT_PACKAGE_STRIP = "1"
+
+TI_PLATFORM_omap3 = "omap3630"
+TI_PLATFORM_ti814x = "ti81xx"
+TI_PLATFORM_ti816x = "ti81xx"
+TI_PLATFORM_ti33x = "ti335x"
+
+MODULESLOCATION_omap3 = "dc_omapfb3_linux"
+MODULESLOCATION_ti814x = "dc_ti81xx_linux"
+MODULESLOCATION_ti816x = "dc_ti81xx_linux"
+MODULESLOCATION_ti33x = "dc_ti335x_linux"
+
+MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"
+
+do_install() {
+    mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+    cp  ${S}/pvrsrvkm.ko \
+        ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko  \
+        ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
+        ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+}

--
1.7.0.4

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#2 lore raw
Quoted 1 line · Franklin

ping

Let's wait for Roger to enlighten us about the state of X11/DRI in the new Graphics SDK for libgles, to be matched with sgx-modules recipe...

On the other hand, setting it with D_P=-1 should let the previous proven version take precedence. Any objections from anyone?

Signature · 1 line
Denys
Quoted 82 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Franklin S. Cooper Jr
Sent: Monday, September 03, 2012 2:52 PM
To: [email protected]
Cc: Franklin S. Cooper Jr
Subject: [meta-ti] [PATCH] omap3-sgx-modules: Upgrade to latest version 4.06.00.02

* Add the latest version of omap3-sgx-modules.
* Set DEFAULT_PREFERENCE to -1 to match libgles-omap3_4.06.00.02

---
 .../omap3-sgx-modules_4.06.00.02.bb                |   50 ++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)  create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.06.00.02.bb
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.06.00.02.bb new file +50 -1
new file mode 100644
index 0000000..c31e9f1
@@ -0,0 +1,50 @@
+DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
+
+TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
+require ../../recipes-ti/includes/ti-eula-unpack.inc
+
+SGXPV = "4_06_00_02"
+IMGPV = "1.7.867897"
+BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+inherit module
+
+MACHINE_KERNEL_PR_append = "a"
+PR = "${MACHINE_KERNEL_PR}"
+
+# Not making this the default version to match a similar setting # in 
+the matching libgles-omap3_4.06.00.02 recipe.
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
+SRC_URI[md5sum] = "62f0c378e38f8d14e9f184c3836aea21"
+SRC_URI[sha256sum] = "71c8e154484304b3ce32d565557720a96c7ba762e72d7f1e93deeef9f3274402"
+TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
+S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
+
+PVRBUILD = "release"
+export KERNELDIR = "${STAGING_KERNEL_DIR}"
+
+INHIBIT_PACKAGE_STRIP = "1"
+
+TI_PLATFORM_omap3 = "omap3630"
+TI_PLATFORM_ti814x = "ti81xx"
+TI_PLATFORM_ti816x = "ti81xx"
+TI_PLATFORM_ti33x = "ti335x"
+
+MODULESLOCATION_omap3 = "dc_omapfb3_linux"
+MODULESLOCATION_ti814x = "dc_ti81xx_linux"
+MODULESLOCATION_ti816x = "dc_ti81xx_linux"
+MODULESLOCATION_ti33x = "dc_ti335x_linux"
+
+MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"
+
+do_install() {
+    mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+    cp  ${S}/pvrsrvkm.ko \
+        ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko  \
+        ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
+        ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+}
--

1.7.0.4

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#3 lore raw

I just noticed I left out some DRI specific things from this patch. I am going to send a version two of this patch in 1 second.

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, September 17, 2012 7:47 PM
To: Cooper Jr., Franklin
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] omap3-sgx-modules: Upgrade to latest version 4.06.00.02

Quoted 1 line · Franklin

ping

Let's wait for Roger to enlighten us about the state of X11/DRI in the new Graphics SDK for libgles, to be matched with sgx-modules recipe...

On the other hand, setting it with D_P=-1 should let the previous proven version take precedence. Any objections from anyone?

--
Denys

Quoted 82 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Franklin S. Cooper Jr
Sent: Monday, September 03, 2012 2:52 PM
To: [email protected]
Cc: Franklin S. Cooper Jr
Subject: [meta-ti] [PATCH] omap3-sgx-modules: Upgrade to latest version 4.06.00.02

* Add the latest version of omap3-sgx-modules.
* Set DEFAULT_PREFERENCE to -1 to match libgles-omap3_4.06.00.02

---
 .../omap3-sgx-modules_4.06.00.02.bb                |   50 ++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)  create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.06.00.02.bb
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.06.00.02.bb new file +50 -1
new file mode 100644
index 0000000..c31e9f1
@@ -0,0 +1,50 @@
+DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
+
+TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
+require ../../recipes-ti/includes/ti-eula-unpack.inc
+
+SGXPV = "4_06_00_02"
+IMGPV = "1.7.867897"
+BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+inherit module
+
+MACHINE_KERNEL_PR_append = "a"
+PR = "${MACHINE_KERNEL_PR}"
+
+# Not making this the default version to match a similar setting # in 
+the matching libgles-omap3_4.06.00.02 recipe.
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
+SRC_URI[md5sum] = "62f0c378e38f8d14e9f184c3836aea21"
+SRC_URI[sha256sum] = "71c8e154484304b3ce32d565557720a96c7ba762e72d7f1e93deeef9f3274402"
+TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
+S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
+
+PVRBUILD = "release"
+export KERNELDIR = "${STAGING_KERNEL_DIR}"
+
+INHIBIT_PACKAGE_STRIP = "1"
+
+TI_PLATFORM_omap3 = "omap3630"
+TI_PLATFORM_ti814x = "ti81xx"
+TI_PLATFORM_ti816x = "ti81xx"
+TI_PLATFORM_ti33x = "ti335x"
+
+MODULESLOCATION_omap3 = "dc_omapfb3_linux"
+MODULESLOCATION_ti814x = "dc_ti81xx_linux"
+MODULESLOCATION_ti816x = "dc_ti81xx_linux"
+MODULESLOCATION_ti33x = "dc_ti335x_linux"
+
+MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"
+
+do_install() {
+    mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+    cp  ${S}/pvrsrvkm.ko \
+        ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko  \
+        ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
+        ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+}
--

1.7.0.4

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti