* Patches to add support for TI Linux Graphics SDK release 04.04.00.02
@ 2011-10-12 9:57 Srinivas, Prathap
2011-10-12 10:06 ` Patches to add support for TI Linux Graphics SDK release04.04.00.02 Hauser, Wolfgang (external)
2011-10-12 10:17 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 Koen Kooi
0 siblings, 2 replies; 16+ messages in thread
From: Srinivas, Prathap @ 2011-10-12 9:57 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 582 bytes --]
Hi All,
Attached are the patches for adding TI Linux Graphics SDK 04.04.00.02 Release support in OE. Please include these patches in the OE.
Details of patches -
1) 0001-libgles-omap3_4.04.00.02-added-support-for-graphics-.patch - Adds support for TI Linux graphics SDK release 04.04.00.02
2) 0002-Fix-for-library-linking-isssue-with-graphics-SDK.patch - Fix to link the appropriate graphics user library with TI Linux graphics SDK release 04.04.00.02.
Since I am sending through outlook, the patches may get mangled. So I am attaching the patches.
Thanks,
Prathap.
[-- Attachment #2: 0001-libgles-omap3_4.04.00.02-added-support-for-graphics-.patch --]
[-- Type: application/octet-stream, Size: 4995 bytes --]
From a11f1ae4c07d09be89be49f9094207abddad854e Mon Sep 17 00:00:00 2001
From: Prathap M S <msprathap@ti.com>
Date: Mon, 10 Oct 2011 15:09:46 +0530
Subject: [PATCH 1/2] libgles-omap3_4.04.00.02: added support for graphics sdk 04.04.00.02
* added support sgx ddk 1.6.16.4117
* included video driver as part of the kernel for accessing the fbdev
in the sgx driver
Signed-off-by: Prathap M S <msprathap@ti.com>
---
classes/kernel.bbclass | 2 +-
.../powervr-drivers/libgles-omap3_4.04.00.02.bb | 29 +++++++++++++
.../omap3-sgx-modules_1.6.16.4117.bb | 44 ++++++++++++++++++++
3 files changed, 74 insertions(+), 1 deletions(-)
create mode 100644 recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
create mode 100644 recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 0109ce6..bf731e6 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -168,7 +168,7 @@ sysroot_stage_all_append() {
mkdir -p $kerneldir/include/asm-generic
cp -fR include/asm-generic/* $kerneldir/include/asm-generic/
- for entry in drivers/crypto drivers/media include/generated include/linux include/net include/pcmcia include/media include/acpi include/sound include/video include/scsi include/trace include/mtd include/rdma include/drm include/xen crypto/ocf; do
+ for entry in drivers/crypto drivers/media drivers/video drivers/gpu drivers/base include/generated include/linux include/net include/pcmcia include/media include/acpi include/sound include/video include/scsi include/trace include/mtd include/rdma include/drm include/xen crypto/ocf; do
if [ -d $entry ]; then
mkdir -p $kerneldir/$entry
cp -fR $entry/* $kerneldir/$entry/
diff --git a/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
new file mode 100644
index 0000000..c5062c1
--- /dev/null
+++ b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
@@ -0,0 +1,29 @@
+BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
+BINLOCATION_ti816x = "${S}/gfx_rel_es6.x"
+
+ES2LOCATION = "${S}/gfx_rel_es2.x"
+ES3LOCATION = "${S}/gfx_rel_es3.x"
+ES5LOCATION = "${S}/gfx_rel_es5.x"
+ES6LOCATION = "${S}/gfx_rel_es6.x"
+
+require libgles-omap3.inc
+
+# download required binary distribution from:
+# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
+# see libgles-omap3.inc for detailed installation instructions
+
+SGXPV = "4_04_00_02"
+IMGPV = "1.6.16.4117"
+BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/Graphics_SDK_setuplinux_${SGXPV}.bin \
+ file://cputype \
+ file://rc.pvr \
+ file://sample.desktop \
+ file://99-bufferclass.rules \
+"
+SRC_URI[md5sum] = "901327765c0991900afda91473f84725"
+SRC_URI[sha256sum] = "2ced2329ec819e42d57eca1a11120b02ec9c332fb63baa0a41285eed07d4b48e"
+
+S = "${WORKDIR}/Graphics_SDK_${SGXPV}"
+
diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb b/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
new file mode 100644
index 0000000..89e0f12
--- /dev/null
+++ b/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
@@ -0,0 +1,44 @@
+DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
+LICENSE = "GPLv2"
+
+# download required binary distribution from:
+# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
+# see libgles-omap3.inc for detailed installation instructions
+
+TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
+require ../ti/ti-eula-unpack.inc
+
+SGXPV = "4_04_00_02"
+IMGPV = "1.6.16.4117"
+BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+inherit module
+
+MACHINE_KERNEL_PR_append = "i"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/Graphics_SDK_setuplinux_${SGXPV}.bin \
+ file://Compile-fixes-for-38-kernel.patch \
+ "
+SRC_URI[md5sum] = "901327765c0991900afda91473f84725"
+SRC_URI[sha256sum] = "2ced2329ec819e42d57eca1a11120b02ec9c332fb63baa0a41285eed07d4b48e"
+
+S = "${WORKDIR}/Graphics_SDK_${SGXPV}/GFX_Linux_KM"
+
+PVRBUILD = "release"
+
+PACKAGE_STRIP = "no"
+
+TI_PLATFORM_omap3 = "omap3630"
+TI_PLATFORM_ti816x = "ti81xx"
+
+MODULESLOCATION_omap3 = "dc_omapfb3_linux"
+MODULESLOCATION_ti816x = "dc_ti81xx_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 ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+ cp ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+ cp ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+}
--
1.7.1
[-- Attachment #3: 0002-Fix-for-library-linking-isssue-with-graphics-SDK.patch --]
[-- Type: application/octet-stream, Size: 1401 bytes --]
From 59227811f6d4364cb8cf254f527efd233bd10827 Mon Sep 17 00:00:00 2001
From: Prathap M S <msprathap@ti.com>
Date: Tue, 11 Oct 2011 10:58:34 +0530
Subject: [PATCH 2/2] Fix for library linking isssue with graphics SDK
Signed-off-by: Prathap M S <msprathap@ti.com>
---
recipes/powervr-drivers/libgles-omap3.inc | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index 36c311d..e605681 100644
--- a/recipes/powervr-drivers/libgles-omap3.inc
+++ b/recipes/powervr-drivers/libgles-omap3.inc
@@ -1,7 +1,7 @@
DESCRIPTION = "libGLES for the omap3"
LICENSE = "proprietary-binary"
-PR = "r15"
+PR = "r16"
COMPATIBLE_MACHINE = "(omap3|ti816x)"
@@ -35,6 +35,13 @@ do_configure() {
for i in $(find ${S} -name "*.h") $(find ${S} -name "*.c") $(find ${S} -name "Make*") ; do
chmod 0644 $i
done
+
+ for drifile in $(find ${S} -name "libsrv_um_dri.so"); do
+ if [ "$drifile" != "" ] ; then
+ dir=$(dirname ${drifile})
+ rm -rf ${dir}/libsrv_um_dri.so
+ fi
+ done
# Attempt to create proper library softlinks
for sofile in $(find ${S} -name "lib*Open*.so") $(find ${S} -name "lib*srv*.so") $(find ${S} -name "lib*gl*.so") $(find ${S} -name "libpvr*.so") $(find ${S} -name "lib*GL*.so"); do
--
1.7.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release04.04.00.02
2011-10-12 9:57 Patches to add support for TI Linux Graphics SDK release 04.04.00.02 Srinivas, Prathap
@ 2011-10-12 10:06 ` Hauser, Wolfgang (external)
2011-10-12 10:45 ` Srinivas, Prathap
2011-10-12 10:17 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 Koen Kooi
1 sibling, 1 reply; 16+ messages in thread
From: Hauser, Wolfgang (external) @ 2011-10-12 10:06 UTC (permalink / raw)
To: openembedded-devel
Hello,
on which kernel version depends this Graphics SDK ?
Regards
Wolfgang
>Attached are the patches for adding TI Linux Graphics SDK 04.04.00.02
Release support in OE. Please include these patches in the OE.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release 04.04.00.02
2011-10-12 9:57 Patches to add support for TI Linux Graphics SDK release 04.04.00.02 Srinivas, Prathap
2011-10-12 10:06 ` Patches to add support for TI Linux Graphics SDK release04.04.00.02 Hauser, Wolfgang (external)
@ 2011-10-12 10:17 ` Koen Kooi
2011-10-12 10:42 ` Srinivas, Prathap
1 sibling, 1 reply; 16+ messages in thread
From: Koen Kooi @ 2011-10-12 10:17 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 12-10-11 11:57, Srinivas, Prathap schreef:
> Hi All, Attached are the patches for adding TI Linux Graphics SDK
> 04.04.00.02 Release support in OE. Please include these patches in the
> OE.
>
> Details of patches - 1)
> 0001-libgles-omap3_4.04.00.02-added-support-for-graphics-.patch - Adds
> support for TI Linux graphics SDK release 04.04.00.02 2)
> 0002-Fix-for-library-linking-isssue-with-graphics-SDK.patch - Fix to link
> the appropriate graphics user library with TI Linux graphics SDK release
> 04.04.00.02.
>
> Since I am sending through outlook, the patches may get mangled. So I am
> attaching the patches.
>
> Thanks, Prathap.
>
>
>
> 0001-libgles-omap3_4.04.00.02-added-support-for-graphics-.patch
>
>
> From a11f1ae4c07d09be89be49f9094207abddad854e Mon Sep 17 00:00:00 2001
> From: Prathap M S <msprathap@ti.com> Date: Mon, 10 Oct 2011 15:09:46
> +0530 Subject: [PATCH 1/2] libgles-omap3_4.04.00.02: added support for
> graphics sdk 04.04.00.02
>
> * added support sgx ddk 1.6.16.4117 * included video driver as part of
> the kernel for accessing the fbdev in the sgx driver
>
> Signed-off-by: Prathap M S <msprathap@ti.com> --- classes/kernel.bbclass
> | 2 +- .../powervr-drivers/libgles-omap3_4.04.00.02.bb | 29
> +++++++++++++ .../omap3-sgx-modules_1.6.16.4117.bb | 44
> ++++++++++++++++++++ 3 files changed, 74 insertions(+), 1 deletions(-)
> create mode 100644 recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
> create mode 100644
> recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
>
> diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index
> 0109ce6..bf731e6 100644 --- a/classes/kernel.bbclass +++
> b/classes/kernel.bbclass @@ -168,7 +168,7 @@ sysroot_stage_all_append()
> { mkdir -p $kerneldir/include/asm-generic cp -fR include/asm-generic/*
> $kerneldir/include/asm-generic/
>
> - for entry in drivers/crypto drivers/media include/generated
> include/linux include/net include/pcmcia include/media include/acpi
> include/sound include/video include/scsi include/trace include/mtd
> include/rdma include/drm include/xen crypto/ocf; do + for entry in
> drivers/crypto drivers/media drivers/video drivers/gpu drivers/base
> include/generated include/linux include/net include/pcmcia include/media
> include/acpi include/sound include/video include/scsi include/trace
> include/mtd include/rdma include/drm include/xen crypto/ocf; do if [ -d
> $entry ]; then mkdir -p $kerneldir/$entry cp -fR $entry/*
> $kerneldir/$entry/
The above needs to be a seperate patch
> diff --git a/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
> b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb new file mode
> 100644 index 0000000..c5062c1 --- /dev/null +++
> b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb @@ -0,0 +1,29 @@
> +BINLOCATION_omap3 = "${S}/gfx_rel_es3.x" +BINLOCATION_ti816x =
> "${S}/gfx_rel_es6.x" + +ES2LOCATION = "${S}/gfx_rel_es2.x" +ES3LOCATION =
> "${S}/gfx_rel_es3.x" +ES5LOCATION = "${S}/gfx_rel_es5.x" +ES6LOCATION =
> "${S}/gfx_rel_es6.x"
Since the above is being repeated in each recipe, shouldn't it move to the .inc?
> --- /dev/null +++
> b/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
> +MACHINE_KERNEL_PR_append = "i"
Start at 'a' please, or remove it
> +TI_PLATFORM_omap3 = "omap3630" +TI_PLATFORM_ti816x = "ti81xx" +
> +MODULESLOCATION_omap3 = "dc_omapfb3_linux" +MODULESLOCATION_ti816x =
> "dc_ti81xx_linux"
Move to .inc?
> From 59227811f6d4364cb8cf254f527efd233bd10827 Mon Sep 17 00:00:00 2001
> From: Prathap M S <msprathap@ti.com> Date: Tue, 11 Oct 2011 10:58:34
> +0530 Subject: [PATCH 2/2] Fix for library linking isssue with graphics
> SDK
please format the summary according to the commit guidelines
> Signed-off-by: Prathap M S <msprathap@ti.com>
>
> --- recipes/powervr-drivers/libgles-omap3.inc | 9 ++++++++- 1 files
> changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/powervr-drivers/libgles-omap3.inc
> b/recipes/powervr-drivers/libgles-omap3.inc index 36c311d..e605681
> 100644 --- a/recipes/powervr-drivers/libgles-omap3.inc +++
> b/recipes/powervr-drivers/libgles-omap3.inc @@ -1,7 +1,7 @@ DESCRIPTION =
> "libGLES for the omap3" LICENSE = "proprietary-binary"
>
> -PR = "r15" +PR = "r16"
>
> COMPATIBLE_MACHINE = "(omap3|ti816x)"
>
> @@ -35,6 +35,13 @@ do_configure() { for i in $(find ${S} -name "*.h")
> $(find ${S} -name "*.c") $(find ${S} -name "Make*") ; do chmod 0644 $i
> done + + for drifile in $(find ${S} -name "libsrv_um_dri.so"); do +
> if [ "$drifile" != "" ] ; then + dir=$(dirname
> ${drifile}) + rm -rf ${dir}/libsrv_um_dri.so +
> fi + done
What does this try to fix exactly?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFOlWk8MkyGM64RGpERAl2qAJsFjMZDHiIY14FPRsWrqg+bIkQAZwCeJqTJ
NHO0BQ5XeErYUttBY44hqGM=
=lbJ/
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release 04.04.00.02
2011-10-12 10:17 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 Koen Kooi
@ 2011-10-12 10:42 ` Srinivas, Prathap
2011-10-12 10:57 ` Koen Kooi
0 siblings, 1 reply; 16+ messages in thread
From: Srinivas, Prathap @ 2011-10-12 10:42 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
Thanks for the comments. Please find my responses inline.
Thanks,
Prathap.
-----Original Message-----
From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
Sent: Wednesday, October 12, 2011 3:48 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 12-10-11 11:57, Srinivas, Prathap schreef:
> Hi All, Attached are the patches for adding TI Linux Graphics SDK
> 04.04.00.02 Release support in OE. Please include these patches in the
> OE.
>
> Details of patches - 1)
> 0001-libgles-omap3_4.04.00.02-added-support-for-graphics-.patch - Adds
> support for TI Linux graphics SDK release 04.04.00.02 2)
> 0002-Fix-for-library-linking-isssue-with-graphics-SDK.patch - Fix to link
> the appropriate graphics user library with TI Linux graphics SDK release
> 04.04.00.02.
>
> Since I am sending through outlook, the patches may get mangled. So I am
> attaching the patches.
>
> Thanks, Prathap.
>
>
>
> 0001-libgles-omap3_4.04.00.02-added-support-for-graphics-.patch
>
>
> From a11f1ae4c07d09be89be49f9094207abddad854e Mon Sep 17 00:00:00 2001
> From: Prathap M S <msprathap@ti.com> Date: Mon, 10 Oct 2011 15:09:46
> +0530 Subject: [PATCH 1/2] libgles-omap3_4.04.00.02: added support for
> graphics sdk 04.04.00.02
>
> * added support sgx ddk 1.6.16.4117 * included video driver as part of
> the kernel for accessing the fbdev in the sgx driver
>
> Signed-off-by: Prathap M S <msprathap@ti.com> --- classes/kernel.bbclass
> | 2 +- .../powervr-drivers/libgles-omap3_4.04.00.02.bb | 29
> +++++++++++++ .../omap3-sgx-modules_1.6.16.4117.bb | 44
> ++++++++++++++++++++ 3 files changed, 74 insertions(+), 1 deletions(-)
> create mode 100644 recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
> create mode 100644
> recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
>
> diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index
> 0109ce6..bf731e6 100644 --- a/classes/kernel.bbclass +++
> b/classes/kernel.bbclass @@ -168,7 +168,7 @@ sysroot_stage_all_append()
> { mkdir -p $kerneldir/include/asm-generic cp -fR include/asm-generic/*
> $kerneldir/include/asm-generic/
>
> - for entry in drivers/crypto drivers/media include/generated
> include/linux include/net include/pcmcia include/media include/acpi
> include/sound include/video include/scsi include/trace include/mtd
> include/rdma include/drm include/xen crypto/ocf; do + for entry in
> drivers/crypto drivers/media drivers/video drivers/gpu drivers/base
> include/generated include/linux include/net include/pcmcia include/media
> include/acpi include/sound include/video include/scsi include/trace
> include/mtd include/rdma include/drm include/xen crypto/ocf; do if [ -d
> $entry ]; then mkdir -p $kerneldir/$entry cp -fR $entry/*
> $kerneldir/$entry/
The above needs to be a seperate patch
- Yes. Will address that.
> diff --git a/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
> b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb new file mode
> 100644 index 0000000..c5062c1 --- /dev/null +++
> b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb @@ -0,0 +1,29 @@
> +BINLOCATION_omap3 = "${S}/gfx_rel_es3.x" +BINLOCATION_ti816x =
> "${S}/gfx_rel_es6.x" + +ES2LOCATION = "${S}/gfx_rel_es2.x" +ES3LOCATION =
> "${S}/gfx_rel_es3.x" +ES5LOCATION = "${S}/gfx_rel_es5.x" +ES6LOCATION =
> "${S}/gfx_rel_es6.x"
Since the above is being repeated in each recipe, shouldn't it move to the .inc?
- I am just following in the way of already existing recipes. Existing recipes have this. If it still needs to be addressed, let me know.
> --- /dev/null +++
> b/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
> +MACHINE_KERNEL_PR_append = "i"
Start at 'a' please, or remove it
- I am just following in the way of already existing recipes. Existing recipes have this way only. If it still needs to be addressed, let me know.
> +TI_PLATFORM_omap3 = "omap3630" +TI_PLATFORM_ti816x = "ti81xx" +
> +MODULESLOCATION_omap3 = "dc_omapfb3_linux" +MODULESLOCATION_ti816x =
> "dc_ti81xx_linux"
Move to .inc?
- I am just following in the way of already existing recipes. Existing recipes have this way only. If it still needs to be addressed, let me know.
> From 59227811f6d4364cb8cf254f527efd233bd10827 Mon Sep 17 00:00:00 2001
> From: Prathap M S <msprathap@ti.com> Date: Tue, 11 Oct 2011 10:58:34
> +0530 Subject: [PATCH 2/2] Fix for library linking isssue with graphics
> SDK
please format the summary according to the commit guidelines
-OK
> Signed-off-by: Prathap M S <msprathap@ti.com>
>
> --- recipes/powervr-drivers/libgles-omap3.inc | 9 ++++++++- 1 files
> changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/powervr-drivers/libgles-omap3.inc
> b/recipes/powervr-drivers/libgles-omap3.inc index 36c311d..e605681
> 100644 --- a/recipes/powervr-drivers/libgles-omap3.inc +++
> b/recipes/powervr-drivers/libgles-omap3.inc @@ -1,7 +1,7 @@ DESCRIPTION =
> "libGLES for the omap3" LICENSE = "proprietary-binary"
>
> -PR = "r15" +PR = "r16"
>
> COMPATIBLE_MACHINE = "(omap3|ti816x)"
>
> @@ -35,6 +35,13 @@ do_configure() { for i in $(find ${S} -name "*.h")
> $(find ${S} -name "*.c") $(find ${S} -name "Make*") ; do chmod 0644 $i
> done + + for drifile in $(find ${S} -name "libsrv_um_dri.so"); do +
> if [ "$drifile" != "" ] ; then + dir=$(dirname
> ${drifile}) + rm -rf ${dir}/libsrv_um_dri.so +
> fi + done
What does this try to fix exactly?
- This fix is for the issue seen with opkg install of libgles-omap3_4.04.00.02-r16.6_armv7a.ipk on target. With Graphics SDK release 04.04.00.02, there are 2 versions of the library libsrv_um.so - one is libsrv_um.so and other is libsrv_um_dri.so (For Xorg driver). What we observed was in presence of libsrv_um_dri.so , the links created under /usr/lib were all by default linking to libsrv_um_dri.so only. Due to this demos used to fail. Now this fix makes sure that only 1 appropriate version of the library libsrv_um.so is present and hence links created will now be proper.
Thanks,
Prathap.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFOlWk8MkyGM64RGpERAl2qAJsFjMZDHiIY14FPRsWrqg+bIkQAZwCeJqTJ
NHO0BQ5XeErYUttBY44hqGM=
=lbJ/
-----END PGP SIGNATURE-----
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release04.04.00.02
2011-10-12 10:06 ` Patches to add support for TI Linux Graphics SDK release04.04.00.02 Hauser, Wolfgang (external)
@ 2011-10-12 10:45 ` Srinivas, Prathap
2011-10-12 11:46 ` Patches to add support for TI Linux GraphicsSDK release04.04.00.02 Hauser, Wolfgang (external)
2011-10-13 15:41 ` Hauser, Wolfgang (external)
0 siblings, 2 replies; 16+ messages in thread
From: Srinivas, Prathap @ 2011-10-12 10:45 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
This depends on 2.6.37 kernel.
http://processors.wiki.ti.com/index.php/RN_4_04_00_02#Kernel.28Linux_PSP.29_versions_used_for_validation
Thanks,
Prathap.
-----Original Message-----
From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of Hauser, Wolfgang (external)
Sent: Wednesday, October 12, 2011 3:37 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Patches to add support for TI Linux Graphics SDK release04.04.00.02
Hello,
on which kernel version depends this Graphics SDK ?
Regards
Wolfgang
>Attached are the patches for adding TI Linux Graphics SDK 04.04.00.02
Release support in OE. Please include these patches in the OE.
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release 04.04.00.02
2011-10-12 10:42 ` Srinivas, Prathap
@ 2011-10-12 10:57 ` Koen Kooi
2011-11-17 10:43 ` Srinivas, Prathap
0 siblings, 1 reply; 16+ messages in thread
From: Koen Kooi @ 2011-10-12 10:57 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 12-10-11 12:42, Srinivas, Prathap schreef:
> Thanks for the comments. Please find my responses inline.
>> diff --git a/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
>> b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb new file mode
>> 100644 index 0000000..c5062c1 --- /dev/null +++
>> b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb @@ -0,0 +1,29 @@
>> +BINLOCATION_omap3 = "${S}/gfx_rel_es3.x" +BINLOCATION_ti816x =
>> "${S}/gfx_rel_es6.x" + +ES2LOCATION = "${S}/gfx_rel_es2.x" +ES3LOCATION
>> = "${S}/gfx_rel_es3.x" +ES5LOCATION = "${S}/gfx_rel_es5.x" +ES6LOCATION
>> = "${S}/gfx_rel_es6.x"
>
> Since the above is being repeated in each recipe, shouldn't it move to
> the .inc? - I am just following in the way of already existing recipes.
> Existing recipes have this. If it still needs to be addressed, let me
> know.
It needs to be addressed, otherwise I wouldn't have mentioned it
>
>> --- /dev/null +++
>> b/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
>
>> +MACHINE_KERNEL_PR_append = "i"
>
> Start at 'a' please, or remove it - I am just following in the way of
> already existing recipes. Existing recipes have this way only. If it
> still needs to be addressed, let me know.
It needs to be addressed, otherwise I wouldn't have mentioned it
>> +TI_PLATFORM_omap3 = "omap3630" +TI_PLATFORM_ti816x = "ti81xx" +
>> +MODULESLOCATION_omap3 = "dc_omapfb3_linux" +MODULESLOCATION_ti816x =
>> "dc_ti81xx_linux"
>
> Move to .inc? - I am just following in the way of already existing
> recipes. Existing recipes have this way only. If it still needs to be
> addressed, let me know.
It needs to be addressed, otherwise I wouldn't have mentioned it
>> diff --git a/recipes/powervr-drivers/libgles-omap3.inc
>> b/recipes/powervr-drivers/libgles-omap3.inc index 36c311d..e605681
>> 100644 --- a/recipes/powervr-drivers/libgles-omap3.inc +++
>> b/recipes/powervr-drivers/libgles-omap3.inc @@ -1,7 +1,7 @@ DESCRIPTION
>> = "libGLES for the omap3" LICENSE = "proprietary-binary"
>
>> -PR = "r15" +PR = "r16"
>
>> COMPATIBLE_MACHINE = "(omap3|ti816x)"
>
>> @@ -35,6 +35,13 @@ do_configure() { for i in $(find ${S} -name "*.h")
>> $(find ${S} -name "*.c") $(find ${S} -name "Make*") ; do chmod 0644 $i
>> done + + for drifile in $(find ${S} -name "libsrv_um_dri.so"); do + if
>> [ "$drifile" != "" ] ; then + dir=$(dirname
>> ${drifile}) + rm -rf ${dir}/libsrv_um_dri.so +
>> fi + done
>
> What does this try to fix exactly? - This fix is for the issue seen with
> opkg install of libgles-omap3_4.04.00.02-r16.6_armv7a.ipk on target. With
> Graphics SDK release 04.04.00.02, there are 2 versions of the library
> libsrv_um.so - one is libsrv_um.so and other is libsrv_um_dri.so (For
> Xorg driver). What we observed was in presence of libsrv_um_dri.so , the
> links created under /usr/lib were all by default linking to
> libsrv_um_dri.so only. Due to this demos used to fail. Now this fix makes
> sure that only 1 appropriate version of the library libsrv_um.so is
> present and hence links created will now be proper.
=
Please put that explanation in both the commit message and as a comment
about the for loop so people won't say "I am just following in the way of
already existing recipes" when this issues has been properly fixed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFOlXKkMkyGM64RGpERAvROAKCCDqURb233i2eJ2mxdCNU2DoyhEACfXQmr
jB2nZhTMFSiQY0LWiRxYedE=
=1KC2
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux GraphicsSDK release04.04.00.02
2011-10-12 10:45 ` Srinivas, Prathap
@ 2011-10-12 11:46 ` Hauser, Wolfgang (external)
2011-10-13 15:41 ` Hauser, Wolfgang (external)
1 sibling, 0 replies; 16+ messages in thread
From: Hauser, Wolfgang (external) @ 2011-10-12 11:46 UTC (permalink / raw)
To: openembedded-devel
Hello,
>This depends on 2.6.37 kernel.
>http://processors.wiki.ti.com/index.php/RN_4_04_00_02#Kernel.28Linux_PS
P.29_versions_used_for_validation
which OpenEmbedded (2011.03-maintenance) kernel recipe builds this
kernel ?
Regards
Wolfgang
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux GraphicsSDK release04.04.00.02
2011-10-12 10:45 ` Srinivas, Prathap
2011-10-12 11:46 ` Patches to add support for TI Linux GraphicsSDK release04.04.00.02 Hauser, Wolfgang (external)
@ 2011-10-13 15:41 ` Hauser, Wolfgang (external)
2011-10-13 18:44 ` Srinivas, Prathap
1 sibling, 1 reply; 16+ messages in thread
From: Hauser, Wolfgang (external) @ 2011-10-13 15:41 UTC (permalink / raw)
To: openembedded-devel
Ping ?
Hello,
>This depends on 2.6.37 kernel.
>http://processors.wiki.ti.com/index.php/RN_4_04_00_02#Kernel.28Linux_PS
P.29_versions_used_for_validation
which OpenEmbedded (2011.03-maintenance) kernel recipe builds this
kernel ?
Regards
Wolfgang
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux GraphicsSDK release04.04.00.02
2011-10-13 15:41 ` Hauser, Wolfgang (external)
@ 2011-10-13 18:44 ` Srinivas, Prathap
0 siblings, 0 replies; 16+ messages in thread
From: Srinivas, Prathap @ 2011-10-13 18:44 UTC (permalink / raw)
To: Hauser, Wolfgang (external),
openembedded-devel@lists.openembedded.org
Hi,
The graphics SDK has been validated with 2.6.32 kernel in OE angstrom environment.
The graphics SDK is also validated in standalone environment as well. In standalone validation it has been validated with 2.6.37 kernel as mentioned in the release notes.
Thanks,
Prathap.
-----Original Message-----
From: Hauser, Wolfgang (external) [mailto:Wolfgang.Hauser.external@cassidian.com]
Sent: Thursday, October 13, 2011 9:12 PM
To: openembedded-devel@lists.openembedded.org
Subject: AW: [oe] Patches to add support for TI Linux GraphicsSDK release04.04.00.02
Ping ?
Hello,
>This depends on 2.6.37 kernel.
>http://processors.wiki.ti.com/index.php/RN_4_04_00_02#Kernel.28Linux_PS
P.29_versions_used_for_validation
which OpenEmbedded (2011.03-maintenance) kernel recipe builds this
kernel ?
Regards
Wolfgang
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release 04.04.00.02
2011-10-12 10:57 ` Koen Kooi
@ 2011-11-17 10:43 ` Srinivas, Prathap
2011-11-17 14:56 ` Koen Kooi
0 siblings, 1 reply; 16+ messages in thread
From: Srinivas, Prathap @ 2011-11-17 10:43 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 4360 bytes --]
The comments provided have been addressed.
Please find the updated patches attached.
Thanks,
Prathap.
-----Original Message-----
From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
Sent: Wednesday, October 12, 2011 4:28 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 12-10-11 12:42, Srinivas, Prathap schreef:
> Thanks for the comments. Please find my responses inline.
>> diff --git a/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
>> b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb new file mode
>> 100644 index 0000000..c5062c1 --- /dev/null +++
>> b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb @@ -0,0 +1,29 @@
>> +BINLOCATION_omap3 = "${S}/gfx_rel_es3.x" +BINLOCATION_ti816x =
>> "${S}/gfx_rel_es6.x" + +ES2LOCATION = "${S}/gfx_rel_es2.x" +ES3LOCATION
>> = "${S}/gfx_rel_es3.x" +ES5LOCATION = "${S}/gfx_rel_es5.x" +ES6LOCATION
>> = "${S}/gfx_rel_es6.x"
>
> Since the above is being repeated in each recipe, shouldn't it move to
> the .inc? - I am just following in the way of already existing recipes.
> Existing recipes have this. If it still needs to be addressed, let me
> know.
It needs to be addressed, otherwise I wouldn't have mentioned it
>
>> --- /dev/null +++
>> b/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
>
>> +MACHINE_KERNEL_PR_append = "i"
>
> Start at 'a' please, or remove it - I am just following in the way of
> already existing recipes. Existing recipes have this way only. If it
> still needs to be addressed, let me know.
It needs to be addressed, otherwise I wouldn't have mentioned it
>> +TI_PLATFORM_omap3 = "omap3630" +TI_PLATFORM_ti816x = "ti81xx" +
>> +MODULESLOCATION_omap3 = "dc_omapfb3_linux" +MODULESLOCATION_ti816x =
>> "dc_ti81xx_linux"
>
> Move to .inc? - I am just following in the way of already existing
> recipes. Existing recipes have this way only. If it still needs to be
> addressed, let me know.
It needs to be addressed, otherwise I wouldn't have mentioned it
>> diff --git a/recipes/powervr-drivers/libgles-omap3.inc
>> b/recipes/powervr-drivers/libgles-omap3.inc index 36c311d..e605681
>> 100644 --- a/recipes/powervr-drivers/libgles-omap3.inc +++
>> b/recipes/powervr-drivers/libgles-omap3.inc @@ -1,7 +1,7 @@ DESCRIPTION
>> = "libGLES for the omap3" LICENSE = "proprietary-binary"
>
>> -PR = "r15" +PR = "r16"
>
>> COMPATIBLE_MACHINE = "(omap3|ti816x)"
>
>> @@ -35,6 +35,13 @@ do_configure() { for i in $(find ${S} -name "*.h")
>> $(find ${S} -name "*.c") $(find ${S} -name "Make*") ; do chmod 0644 $i
>> done + + for drifile in $(find ${S} -name "libsrv_um_dri.so"); do + if
>> [ "$drifile" != "" ] ; then + dir=$(dirname
>> ${drifile}) + rm -rf ${dir}/libsrv_um_dri.so +
>> fi + done
>
> What does this try to fix exactly? - This fix is for the issue seen with
> opkg install of libgles-omap3_4.04.00.02-r16.6_armv7a.ipk on target. With
> Graphics SDK release 04.04.00.02, there are 2 versions of the library
> libsrv_um.so - one is libsrv_um.so and other is libsrv_um_dri.so (For
> Xorg driver). What we observed was in presence of libsrv_um_dri.so , the
> links created under /usr/lib were all by default linking to
> libsrv_um_dri.so only. Due to this demos used to fail. Now this fix makes
> sure that only 1 appropriate version of the library libsrv_um.so is
> present and hence links created will now be proper.
=
Please put that explanation in both the commit message and as a comment
about the for loop so people won't say "I am just following in the way of
already existing recipes" when this issues has been properly fixed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFOlXKkMkyGM64RGpERAvROAKCCDqURb233i2eJ2mxdCNU2DoyhEACfXQmr
jB2nZhTMFSiQY0LWiRxYedE=
=1KC2
-----END PGP SIGNATURE-----
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[-- Attachment #2: 0003-libgles-omap3.inc-Fix-for-library-linking-isssue-wit.patch --]
[-- Type: application/octet-stream, Size: 2351 bytes --]
From 0fda0a917f7918877d6c1a14e93510817c4bf0ec Mon Sep 17 00:00:00 2001
From: Prathap M S <msprathap@ti.com>
Date: Thu, 17 Nov 2011 15:35:08 +0530
Subject: [PATCH v2 3/3] libgles-omap3.inc : Fix for library linking isssue with graphics SDK
* This is the fix for the issue seen with opkg install of libgles-omap3_4.04.00.02-r16.6_armv7a.ipk on target.
* With Graphics SDK release 04.04.00.02 onwards, there are 2 versions of the library libsrv_um.so - one is libsrv_um.so and other is libsrv_um_dri.so (For Xorg driver).In presence of libsrv_um_dri.so , the links created under /usr/lib were all by default linking to libsrv_um_dri.so only. Due to this 3D demos were failing.
* This fix makes sure that only one appropriate version of the library libsrv_um.so is present on target and hence links created will now be proper.
Signed-off-by: Prathap M S <msprathap@ti.com>
---
recipes/powervr-drivers/libgles-omap3.inc | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index f6b94b0..119f74c 100644
--- a/recipes/powervr-drivers/libgles-omap3.inc
+++ b/recipes/powervr-drivers/libgles-omap3.inc
@@ -38,6 +38,18 @@ do_configure() {
chmod 0644 $i
done
+ # The below for loop is the fix for the issue seen with opkg install of libgles-omap3_4.04.00.02-r16.6_armv7a.ipk on target.
+ # With Graphics SDK release 04.04.00.02, there are 2 versions of the library libsrv_um.so - one is libsrv_um.so and other is libsrv_um_dri.so (For Xorg driver).
+ # In presence of libsrv_um_dri.so , the links created under /usr/lib were all by default linking to libsrv_um_dri.so only. Due to this 3D demos were failing.
+ # Now this fix makes sure that only one appropriate version of the library libsrv_um.so is present on target and hence links created will now be proper.
+
+ for drifile in $(find ${S} -name "libsrv_um_dri.so"); do
+ if [ "$drifile" != "" ] ; then
+ dir=$(dirname ${drifile})
+ rm -rf ${dir}/libsrv_um_dri.so
+ fi
+ done
+
# Attempt to create proper library softlinks
for sofile in $(find ${S} -name "lib*Open*.so") $(find ${S} -name "lib*srv*.so") $(find ${S} -name "lib*gl*.so") $(find ${S} -name "libpvr*.so") $(find ${S} -name "lib*GL*.so"); do
if [ "$(readlink -n ${sofile})" = "" ] ; then
--
1.7.1
[-- Attachment #3: 0001-kernel.bbclass-stage-additional-directories.patch --]
[-- Type: application/octet-stream, Size: 1384 bytes --]
From a9836ee6a8f433245cfa746d7c7a4547a311cb55 Mon Sep 17 00:00:00 2001
From: Prathap M S <msprathap@ti.com>
Date: Thu, 17 Nov 2011 14:22:35 +0530
Subject: [PATCH v2 1/3] kernel.bbclass: stage additional directories
* The graphics SDK requires additional directories to be staged
for compilation.
Signed-off-by: Prathap M S <msprathap@ti.com>
---
classes/kernel.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 0109ce6..bf731e6 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -168,7 +168,7 @@ sysroot_stage_all_append() {
mkdir -p $kerneldir/include/asm-generic
cp -fR include/asm-generic/* $kerneldir/include/asm-generic/
- for entry in drivers/crypto drivers/media include/generated include/linux include/net include/pcmcia include/media include/acpi include/sound include/video include/scsi include/trace include/mtd include/rdma include/drm include/xen crypto/ocf; do
+ for entry in drivers/crypto drivers/media drivers/video drivers/gpu drivers/base include/generated include/linux include/net include/pcmcia include/media include/acpi include/sound include/video include/scsi include/trace include/mtd include/rdma include/drm include/xen crypto/ocf; do
if [ -d $entry ]; then
mkdir -p $kerneldir/$entry
cp -fR $entry/* $kerneldir/$entry/
--
1.7.1
[-- Attachment #4: 0002-libgles-omap3_4.04.00.02-added-support-for-graphics-.patch --]
[-- Type: application/octet-stream, Size: 4903 bytes --]
From adb475f389412fe193a654ec008ae49fd7b9ebd5 Mon Sep 17 00:00:00 2001
From: Prathap M S <msprathap@ti.com>
Date: Thu, 17 Nov 2011 14:30:59 +0530
Subject: [PATCH v2 2/3] libgles-omap3_4.04.00.02: added support for graphics sdk 04.04.00.02
* Added support for sgx ddk 1.6.16.4117
* Added powervr.inc to include variables common to graphics SDK recipes
* Bumped up the PR in libgles-omap3.inc
Signed-off-by: Prathap M S <msprathap@ti.com>
---
recipes/powervr-drivers/libgles-omap3.inc | 4 ++-
.../powervr-drivers/libgles-omap3_4.04.00.02.bb | 21 +++++++++++
.../omap3-sgx-modules_1.6.16.4117.bb | 39 ++++++++++++++++++++
recipes/powervr-drivers/powervr.inc | 6 +++
4 files changed, 69 insertions(+), 1 deletions(-)
create mode 100644 recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
create mode 100644 recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
create mode 100644 recipes/powervr-drivers/powervr.inc
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index 36c311d..f6b94b0 100644
--- a/recipes/powervr-drivers/libgles-omap3.inc
+++ b/recipes/powervr-drivers/libgles-omap3.inc
@@ -1,7 +1,7 @@
DESCRIPTION = "libGLES for the omap3"
LICENSE = "proprietary-binary"
-PR = "r15"
+PR = "r16"
COMPATIBLE_MACHINE = "(omap3|ti816x)"
@@ -22,6 +22,8 @@ S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}"
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
require ../ti/ti-eula-unpack.inc
+BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
+BINLOCATION_ti816x = "${S}/gfx_rel_es6.x"
BINLOCATION ?= "${S}/gfx_rel"
ES2LOCATION ?= "${S}/gfx_rel_es2.x"
ES3LOCATION ?= "${S}/gfx_rel_es3.x"
diff --git a/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
new file mode 100644
index 0000000..e95a5d8
--- /dev/null
+++ b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
@@ -0,0 +1,21 @@
+require libgles-omap3.inc
+
+# download required binary distribution from:
+# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
+# see libgles-omap3.inc for detailed installation instructions
+
+SGXPV = "4_04_00_02"
+IMGPV = "1.6.16.4117"
+BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/Graphics_SDK_setuplinux_${SGXPV}.bin \
+ file://cputype \
+ file://rc.pvr \
+ file://sample.desktop \
+ file://99-bufferclass.rules \
+"
+SRC_URI[md5sum] = "901327765c0991900afda91473f84725"
+SRC_URI[sha256sum] = "2ced2329ec819e42d57eca1a11120b02ec9c332fb63baa0a41285eed07d4b48e"
+
+S = "${WORKDIR}/Graphics_SDK_${SGXPV}"
+
diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb b/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
new file mode 100644
index 0000000..4c19368
--- /dev/null
+++ b/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
@@ -0,0 +1,39 @@
+DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
+LICENSE = "GPLv2"
+
+# download required binary distribution from:
+# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
+# see libgles-omap3.inc for detailed installation instructions
+
+TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
+require ../ti/ti-eula-unpack.inc
+require powervr.inc
+
+SGXPV = "4_04_00_02"
+IMGPV = "1.6.16.4117"
+BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+inherit module
+
+MACHINE_KERNEL_PR_append = "a"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/Graphics_SDK_setuplinux_${SGXPV}.bin \
+ file://Compile-fixes-for-38-kernel.patch \
+ "
+SRC_URI[md5sum] = "901327765c0991900afda91473f84725"
+SRC_URI[sha256sum] = "2ced2329ec819e42d57eca1a11120b02ec9c332fb63baa0a41285eed07d4b48e"
+
+S = "${WORKDIR}/Graphics_SDK_${SGXPV}/GFX_Linux_KM"
+
+PVRBUILD = "release"
+
+PACKAGE_STRIP = "no"
+
+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 ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+ cp ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+ cp ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+}
diff --git a/recipes/powervr-drivers/powervr.inc b/recipes/powervr-drivers/powervr.inc
new file mode 100644
index 0000000..5c6379a
--- /dev/null
+++ b/recipes/powervr-drivers/powervr.inc
@@ -0,0 +1,6 @@
+TI_PLATFORM_omap3 = "omap3630"
+TI_PLATFORM_ti816x = "ti81xx"
+
+MODULESLOCATION_omap3 = "dc_omapfb3_linux"
+MODULESLOCATION_ti816x = "dc_ti81xx_linux"
+
--
1.7.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release 04.04.00.02
2011-11-17 10:43 ` Srinivas, Prathap
@ 2011-11-17 14:56 ` Koen Kooi
2011-11-17 16:00 ` Srinivas, Prathap
[not found] ` <C2C4AB609E1BCF4689C1782E8F42E30A027AF8@DBDE01.ent.ti.com>
0 siblings, 2 replies; 16+ messages in thread
From: Koen Kooi @ 2011-11-17 14:56 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 17-11-11 11:43, Srinivas, Prathap schreef:
> The comments provided have been addressed. Please find the updated
> patches attached.
Please send them as seperate patches so that patchwork will pick them up and
people can review them better.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAk7FILgACgkQMkyGM64RGpFoJwCgl3zvY6qDGZK7b/6vIMevNhbp
7kMAn2A9gRnB2Lth+lSYz5vmyfrve+A2
=5YBy
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release 04.04.00.02
2011-11-17 14:56 ` Koen Kooi
@ 2011-11-17 16:00 ` Srinivas, Prathap
2011-11-17 23:09 ` Koen Kooi
[not found] ` <C2C4AB609E1BCF4689C1782E8F42E30A027AF8@DBDE01.ent.ti.com>
1 sibling, 1 reply; 16+ messages in thread
From: Srinivas, Prathap @ 2011-11-17 16:00 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
Patch 2 is dependant on Patch 1 and Patch 3 is dependant on Patch 2.
Anyways, as suggested I will send them separately.
Thanks,
Prathap.
-----Original Message-----
From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
Sent: Thursday, November 17, 2011 8:27 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 17-11-11 11:43, Srinivas, Prathap schreef:
> The comments provided have been addressed. Please find the updated
> patches attached.
Please send them as seperate patches so that patchwork will pick them up and
people can review them better.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAk7FILgACgkQMkyGM64RGpFoJwCgl3zvY6qDGZK7b/6vIMevNhbp
7kMAn2A9gRnB2Lth+lSYz5vmyfrve+A2
=5YBy
-----END PGP SIGNATURE-----
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch1-kernel.bbclass update
[not found] ` <C2C4AB609E1BCF4689C1782E8F42E30A027AF8@DBDE01.ent.ti.com>
@ 2011-11-17 16:09 ` Srinivas, Prathap
2011-11-17 16:12 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch2-Graphics SDK release 04.04.00.02 build support Srinivas, Prathap
2011-11-17 16:16 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch3-Fix for library linking issue with Graphics SDK Release 04.04.00.02 Srinivas, Prathap
2 siblings, 0 replies; 16+ messages in thread
From: Srinivas, Prathap @ 2011-11-17 16:09 UTC (permalink / raw)
To: 'openembedded-devel@lists.openembedded.org'
[-- Attachment #1: Type: text/plain, Size: 1627 bytes --]
Attached is the patch for updating kernel.bbclass to stage additional directories required for Graphics SDK 04.04.00.02 build.
Thanks,
Prathap.
-----Original Message-----
From: Srinivas, Prathap
Sent: Thursday, November 17, 2011 9:31 PM
To: openembedded-devel@lists.openembedded.org
Subject: RE: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02
Patch 2 is dependant on Patch 1 and Patch 3 is dependant on Patch 2.
Anyways, as suggested I will send them separately.
Thanks,
Prathap.
-----Original Message-----
From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
Sent: Thursday, November 17, 2011 8:27 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 17-11-11 11:43, Srinivas, Prathap schreef:
> The comments provided have been addressed. Please find the updated
> patches attached.
Please send them as seperate patches so that patchwork will pick them up and
people can review them better.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAk7FILgACgkQMkyGM64RGpFoJwCgl3zvY6qDGZK7b/6vIMevNhbp
7kMAn2A9gRnB2Lth+lSYz5vmyfrve+A2
=5YBy
-----END PGP SIGNATURE-----
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[-- Attachment #2: 0001-kernel.bbclass-stage-additional-directories.patch --]
[-- Type: application/octet-stream, Size: 1384 bytes --]
From a9836ee6a8f433245cfa746d7c7a4547a311cb55 Mon Sep 17 00:00:00 2001
From: Prathap M S <msprathap@ti.com>
Date: Thu, 17 Nov 2011 14:22:35 +0530
Subject: [PATCH v2 1/3] kernel.bbclass: stage additional directories
* The graphics SDK requires additional directories to be staged
for compilation.
Signed-off-by: Prathap M S <msprathap@ti.com>
---
classes/kernel.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 0109ce6..bf731e6 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -168,7 +168,7 @@ sysroot_stage_all_append() {
mkdir -p $kerneldir/include/asm-generic
cp -fR include/asm-generic/* $kerneldir/include/asm-generic/
- for entry in drivers/crypto drivers/media include/generated include/linux include/net include/pcmcia include/media include/acpi include/sound include/video include/scsi include/trace include/mtd include/rdma include/drm include/xen crypto/ocf; do
+ for entry in drivers/crypto drivers/media drivers/video drivers/gpu drivers/base include/generated include/linux include/net include/pcmcia include/media include/acpi include/sound include/video include/scsi include/trace include/mtd include/rdma include/drm include/xen crypto/ocf; do
if [ -d $entry ]; then
mkdir -p $kerneldir/$entry
cp -fR $entry/* $kerneldir/$entry/
--
1.7.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch2-Graphics SDK release 04.04.00.02 build support
[not found] ` <C2C4AB609E1BCF4689C1782E8F42E30A027AF8@DBDE01.ent.ti.com>
2011-11-17 16:09 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch1-kernel.bbclass update Srinivas, Prathap
@ 2011-11-17 16:12 ` Srinivas, Prathap
2011-11-17 16:16 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch3-Fix for library linking issue with Graphics SDK Release 04.04.00.02 Srinivas, Prathap
2 siblings, 0 replies; 16+ messages in thread
From: Srinivas, Prathap @ 2011-11-17 16:12 UTC (permalink / raw)
To: 'openembedded-devel@lists.openembedded.org'
[-- Attachment #1: Type: text/plain, Size: 2002 bytes --]
Attached is the patch to add support for TI Linux Graphics SDK release 04.04.00.02.
Thanks,
Prathap.
-----Original Message-----
From: Srinivas, Prathap
Sent: Thursday, November 17, 2011 9:40 PM
To: 'openembedded-devel@lists.openembedded.org'
Subject: RE: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch1-kernel.bbclass update
Attached is the patch for updating kernel.bbclass to stage additional directories required for Graphics SDK 04.04.00.02 build.
Thanks,
Prathap.
-----Original Message-----
From: Srinivas, Prathap
Sent: Thursday, November 17, 2011 9:31 PM
To: openembedded-devel@lists.openembedded.org
Subject: RE: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02
Patch 2 is dependant on Patch 1 and Patch 3 is dependant on Patch 2.
Anyways, as suggested I will send them separately.
Thanks,
Prathap.
-----Original Message-----
From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
Sent: Thursday, November 17, 2011 8:27 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 17-11-11 11:43, Srinivas, Prathap schreef:
> The comments provided have been addressed. Please find the updated
> patches attached.
Please send them as seperate patches so that patchwork will pick them up and
people can review them better.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAk7FILgACgkQMkyGM64RGpFoJwCgl3zvY6qDGZK7b/6vIMevNhbp
7kMAn2A9gRnB2Lth+lSYz5vmyfrve+A2
=5YBy
-----END PGP SIGNATURE-----
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[-- Attachment #2: 0002-libgles-omap3_4.04.00.02-added-support-for-graphics-.patch --]
[-- Type: application/octet-stream, Size: 4903 bytes --]
From adb475f389412fe193a654ec008ae49fd7b9ebd5 Mon Sep 17 00:00:00 2001
From: Prathap M S <msprathap@ti.com>
Date: Thu, 17 Nov 2011 14:30:59 +0530
Subject: [PATCH v2 2/3] libgles-omap3_4.04.00.02: added support for graphics sdk 04.04.00.02
* Added support for sgx ddk 1.6.16.4117
* Added powervr.inc to include variables common to graphics SDK recipes
* Bumped up the PR in libgles-omap3.inc
Signed-off-by: Prathap M S <msprathap@ti.com>
---
recipes/powervr-drivers/libgles-omap3.inc | 4 ++-
.../powervr-drivers/libgles-omap3_4.04.00.02.bb | 21 +++++++++++
.../omap3-sgx-modules_1.6.16.4117.bb | 39 ++++++++++++++++++++
recipes/powervr-drivers/powervr.inc | 6 +++
4 files changed, 69 insertions(+), 1 deletions(-)
create mode 100644 recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
create mode 100644 recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
create mode 100644 recipes/powervr-drivers/powervr.inc
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index 36c311d..f6b94b0 100644
--- a/recipes/powervr-drivers/libgles-omap3.inc
+++ b/recipes/powervr-drivers/libgles-omap3.inc
@@ -1,7 +1,7 @@
DESCRIPTION = "libGLES for the omap3"
LICENSE = "proprietary-binary"
-PR = "r15"
+PR = "r16"
COMPATIBLE_MACHINE = "(omap3|ti816x)"
@@ -22,6 +22,8 @@ S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}"
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
require ../ti/ti-eula-unpack.inc
+BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
+BINLOCATION_ti816x = "${S}/gfx_rel_es6.x"
BINLOCATION ?= "${S}/gfx_rel"
ES2LOCATION ?= "${S}/gfx_rel_es2.x"
ES3LOCATION ?= "${S}/gfx_rel_es3.x"
diff --git a/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
new file mode 100644
index 0000000..e95a5d8
--- /dev/null
+++ b/recipes/powervr-drivers/libgles-omap3_4.04.00.02.bb
@@ -0,0 +1,21 @@
+require libgles-omap3.inc
+
+# download required binary distribution from:
+# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
+# see libgles-omap3.inc for detailed installation instructions
+
+SGXPV = "4_04_00_02"
+IMGPV = "1.6.16.4117"
+BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/Graphics_SDK_setuplinux_${SGXPV}.bin \
+ file://cputype \
+ file://rc.pvr \
+ file://sample.desktop \
+ file://99-bufferclass.rules \
+"
+SRC_URI[md5sum] = "901327765c0991900afda91473f84725"
+SRC_URI[sha256sum] = "2ced2329ec819e42d57eca1a11120b02ec9c332fb63baa0a41285eed07d4b48e"
+
+S = "${WORKDIR}/Graphics_SDK_${SGXPV}"
+
diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb b/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
new file mode 100644
index 0000000..4c19368
--- /dev/null
+++ b/recipes/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb
@@ -0,0 +1,39 @@
+DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
+LICENSE = "GPLv2"
+
+# download required binary distribution from:
+# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
+# see libgles-omap3.inc for detailed installation instructions
+
+TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
+require ../ti/ti-eula-unpack.inc
+require powervr.inc
+
+SGXPV = "4_04_00_02"
+IMGPV = "1.6.16.4117"
+BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+inherit module
+
+MACHINE_KERNEL_PR_append = "a"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/Graphics_SDK_setuplinux_${SGXPV}.bin \
+ file://Compile-fixes-for-38-kernel.patch \
+ "
+SRC_URI[md5sum] = "901327765c0991900afda91473f84725"
+SRC_URI[sha256sum] = "2ced2329ec819e42d57eca1a11120b02ec9c332fb63baa0a41285eed07d4b48e"
+
+S = "${WORKDIR}/Graphics_SDK_${SGXPV}/GFX_Linux_KM"
+
+PVRBUILD = "release"
+
+PACKAGE_STRIP = "no"
+
+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 ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+ cp ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+ cp ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+}
diff --git a/recipes/powervr-drivers/powervr.inc b/recipes/powervr-drivers/powervr.inc
new file mode 100644
index 0000000..5c6379a
--- /dev/null
+++ b/recipes/powervr-drivers/powervr.inc
@@ -0,0 +1,6 @@
+TI_PLATFORM_omap3 = "omap3630"
+TI_PLATFORM_ti816x = "ti81xx"
+
+MODULESLOCATION_omap3 = "dc_omapfb3_linux"
+MODULESLOCATION_ti816x = "dc_ti81xx_linux"
+
--
1.7.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch3-Fix for library linking issue with Graphics SDK Release 04.04.00.02
[not found] ` <C2C4AB609E1BCF4689C1782E8F42E30A027AF8@DBDE01.ent.ti.com>
2011-11-17 16:09 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch1-kernel.bbclass update Srinivas, Prathap
2011-11-17 16:12 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch2-Graphics SDK release 04.04.00.02 build support Srinivas, Prathap
@ 2011-11-17 16:16 ` Srinivas, Prathap
2 siblings, 0 replies; 16+ messages in thread
From: Srinivas, Prathap @ 2011-11-17 16:16 UTC (permalink / raw)
To: 'openembedded-devel@lists.openembedded.org'
[-- Attachment #1: Type: text/plain, Size: 2425 bytes --]
Attached is the patch for fixing the library linking issue observed with graphics SDK release 04.04.00.02.
Thanks,
Prathap.
-----Original Message-----
From: Srinivas, Prathap
Sent: Thursday, November 17, 2011 9:43 PM
To: 'openembedded-devel@lists.openembedded.org'
Subject: RE: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch2-Graphics SDK release 04.04.00.02 build support
Attached is the patch to add support for TI Linux Graphics SDK release 04.04.00.02.
Thanks,
Prathap.
-----Original Message-----
From: Srinivas, Prathap
Sent: Thursday, November 17, 2011 9:40 PM
To: 'openembedded-devel@lists.openembedded.org'
Subject: RE: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch1-kernel.bbclass update
Attached is the patch for updating kernel.bbclass to stage additional directories required for Graphics SDK 04.04.00.02 build.
Thanks,
Prathap.
-----Original Message-----
From: Srinivas, Prathap
Sent: Thursday, November 17, 2011 9:31 PM
To: openembedded-devel@lists.openembedded.org
Subject: RE: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02
Patch 2 is dependant on Patch 1 and Patch 3 is dependant on Patch 2.
Anyways, as suggested I will send them separately.
Thanks,
Prathap.
-----Original Message-----
From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of Koen Kooi
Sent: Thursday, November 17, 2011 8:27 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Patches to add support for TI Linux Graphics SDK release 04.04.00.02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 17-11-11 11:43, Srinivas, Prathap schreef:
> The comments provided have been addressed. Please find the updated
> patches attached.
Please send them as seperate patches so that patchwork will pick them up and
people can review them better.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAk7FILgACgkQMkyGM64RGpFoJwCgl3zvY6qDGZK7b/6vIMevNhbp
7kMAn2A9gRnB2Lth+lSYz5vmyfrve+A2
=5YBy
-----END PGP SIGNATURE-----
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[-- Attachment #2: 0003-libgles-omap3.inc-Fix-for-library-linking-isssue-wit.patch --]
[-- Type: application/octet-stream, Size: 2351 bytes --]
From 0fda0a917f7918877d6c1a14e93510817c4bf0ec Mon Sep 17 00:00:00 2001
From: Prathap M S <msprathap@ti.com>
Date: Thu, 17 Nov 2011 15:35:08 +0530
Subject: [PATCH v2 3/3] libgles-omap3.inc : Fix for library linking isssue with graphics SDK
* This is the fix for the issue seen with opkg install of libgles-omap3_4.04.00.02-r16.6_armv7a.ipk on target.
* With Graphics SDK release 04.04.00.02 onwards, there are 2 versions of the library libsrv_um.so - one is libsrv_um.so and other is libsrv_um_dri.so (For Xorg driver).In presence of libsrv_um_dri.so , the links created under /usr/lib were all by default linking to libsrv_um_dri.so only. Due to this 3D demos were failing.
* This fix makes sure that only one appropriate version of the library libsrv_um.so is present on target and hence links created will now be proper.
Signed-off-by: Prathap M S <msprathap@ti.com>
---
recipes/powervr-drivers/libgles-omap3.inc | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index f6b94b0..119f74c 100644
--- a/recipes/powervr-drivers/libgles-omap3.inc
+++ b/recipes/powervr-drivers/libgles-omap3.inc
@@ -38,6 +38,18 @@ do_configure() {
chmod 0644 $i
done
+ # The below for loop is the fix for the issue seen with opkg install of libgles-omap3_4.04.00.02-r16.6_armv7a.ipk on target.
+ # With Graphics SDK release 04.04.00.02, there are 2 versions of the library libsrv_um.so - one is libsrv_um.so and other is libsrv_um_dri.so (For Xorg driver).
+ # In presence of libsrv_um_dri.so , the links created under /usr/lib were all by default linking to libsrv_um_dri.so only. Due to this 3D demos were failing.
+ # Now this fix makes sure that only one appropriate version of the library libsrv_um.so is present on target and hence links created will now be proper.
+
+ for drifile in $(find ${S} -name "libsrv_um_dri.so"); do
+ if [ "$drifile" != "" ] ; then
+ dir=$(dirname ${drifile})
+ rm -rf ${dir}/libsrv_um_dri.so
+ fi
+ done
+
# Attempt to create proper library softlinks
for sofile in $(find ${S} -name "lib*Open*.so") $(find ${S} -name "lib*srv*.so") $(find ${S} -name "lib*gl*.so") $(find ${S} -name "libpvr*.so") $(find ${S} -name "lib*GL*.so"); do
if [ "$(readlink -n ${sofile})" = "" ] ; then
--
1.7.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: Patches to add support for TI Linux Graphics SDK release 04.04.00.02
2011-11-17 16:00 ` Srinivas, Prathap
@ 2011-11-17 23:09 ` Koen Kooi
0 siblings, 0 replies; 16+ messages in thread
From: Koen Kooi @ 2011-11-17 23:09 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 17-11-11 17:00, Srinivas, Prathap schreef:
> Patch 2 is dependant on Patch 1 and Patch 3 is dependant on Patch 2.
> Anyways, as suggested I will send them separately.
And not as attachments, but as real, git-send-emailed patches with proper
subjects otherwise patchwork won't pick them up.
>
> Thanks, Prathap.
>
>
> -----Original Message----- From:
> openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Koen Kooi Sent: Thursday, November 17, 2011 8:27 PM To:
> openembedded-devel@lists.openembedded.org Subject: Re: [oe] Patches to
> add support for TI Linux Graphics SDK release 04.04.00.02
>
> Op 17-11-11 11:43, Srinivas, Prathap schreef:
>> The comments provided have been addressed. Please find the updated
>> patches attached.
>
> Please send them as seperate patches so that patchwork will pick them up
> and people can review them better.
>
>
>
>
> _______________________________________________ Openembedded-devel
> mailing list Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAk7FlBEACgkQMkyGM64RGpEHWgCeKSr2MgTd7AMD0jYvVJ+SdEjQ
MUsAnjZCETLGk+Ebqg5zHceTpUKasHz6
=kJcj
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2011-11-17 23:16 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 9:57 Patches to add support for TI Linux Graphics SDK release 04.04.00.02 Srinivas, Prathap
2011-10-12 10:06 ` Patches to add support for TI Linux Graphics SDK release04.04.00.02 Hauser, Wolfgang (external)
2011-10-12 10:45 ` Srinivas, Prathap
2011-10-12 11:46 ` Patches to add support for TI Linux GraphicsSDK release04.04.00.02 Hauser, Wolfgang (external)
2011-10-13 15:41 ` Hauser, Wolfgang (external)
2011-10-13 18:44 ` Srinivas, Prathap
2011-10-12 10:17 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 Koen Kooi
2011-10-12 10:42 ` Srinivas, Prathap
2011-10-12 10:57 ` Koen Kooi
2011-11-17 10:43 ` Srinivas, Prathap
2011-11-17 14:56 ` Koen Kooi
2011-11-17 16:00 ` Srinivas, Prathap
2011-11-17 23:09 ` Koen Kooi
[not found] ` <C2C4AB609E1BCF4689C1782E8F42E30A027AF8@DBDE01.ent.ti.com>
2011-11-17 16:09 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch1-kernel.bbclass update Srinivas, Prathap
2011-11-17 16:12 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch2-Graphics SDK release 04.04.00.02 build support Srinivas, Prathap
2011-11-17 16:16 ` Patches to add support for TI Linux Graphics SDK release 04.04.00.02 : Patch3-Fix for library linking issue with Graphics SDK Release 04.04.00.02 Srinivas, Prathap
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.