libgles-omap3: fix some conflicts between X11 and Raw versions
PATCH 1/5 libgles-omap3: fix some conflicts between X11 and Raw versions
From: Denys Dmytriyenko <[email protected]>
* Properly define all PROVIDES, RPROVIDES, RCONFLICTS and RREPLACES variables.
* Skip X11 recipe altogether in non-X11 distros to avoid broken dependencies for missing X libraries.
--- recipes-graphics/libgles/libgles-omap3-no-x.inc | 14 ++++++++++++-- recipes-graphics/libgles/libgles-omap3-x11.inc | 17 ++++++++++++----- 2 files changed, 24 insertions(+), 7 deletions(-)
recipes-graphics/libgles/libgles-omap3-no-x.inc +12 -2
@@ -3,7 +3,9 @@ LICENSE = "proprietary-binary" # 'TSPA.txt' might not be the best file to md5sum LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" -PR = "r35" +PR = "r36" + +EXCLUDE_FROM_WORLD = "1" COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)"
@@ -13,7 +15,15 @@ PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2" RREPLACES_${PN} = "libegl libgles1 libgles2" RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" -RREPLACES_${PN}-dbg = "libegl-dbg" +RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" + +RPROVIDES_${PN} = "libegl libgles1 libgles2" +RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" +RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" + +RCONFLICTS_${PN} = "libegl libgles1 libgles2" +RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" +RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \ file://cputype \
recipes-graphics/libgles/libgles-omap3-x11.inc +12 -5
@@ -3,7 +3,9 @@ LICENSE = "proprietary-binary" # 'TSPA.txt' might not be the best file to md5sum LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" -PR = "r35" +PR = "r36" + +EXCLUDE_FROM_WORLD = "1" COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)"
@@ -12,19 +14,19 @@ DEPENDS = "virtual/libx11 libxau libxdmcp libdrm" export SUPPORT_XORG ?= "1" PVR_INIT ?= "pvrsrvinit" -PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2" +PROVIDES += "libgles-omap3 virtual/egl virtual/libgles1 virtual/libgles2" RREPLACES_${PN} = "libegl libgles1 libgles2" RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" -RREPLACES_${PN}-dbg = "libegl-dbg" +RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" RPROVIDES_${PN} = "libegl libgles1 libgles2" RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" -RPROVIDES_${PN}-dbg = "libegl-dbg" +RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" RCONFLICTS_${PN} = "libegl libgles1 libgles2" RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" -RCONFLICTS_${PN}-dbg = "libegl-dbg" +RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \ file://cputype \
@@ -47,6 +49,11 @@ export ES8LOCATION ?= "${S}/gfx_rel_es8.x" LIBGLESWINDOWSYSTEM ?= "libpvrPVR2D_DRIWSEGL.so" +python __anonymous() { + if "x11" not in d.getVar("DISTRO_FEATURES", True).split(): + raise bb.parse.SkipPackage("Recipe is x11-specific, skipping") +} + do_configure() { # Attempt to fix up the worst offenders for file permissions for i in $(find ${S} -name "*.h") $(find ${S} -name "*.c") $(find ${S} -name "Make*") ; do
Signature · 1 line
1.8.3.2
PATCH 2/5 ompa3-sgx-modules-x11: fix some build failures with latest versions
From: Denys Dmytriyenko <[email protected]>
* Do not hardcode kernel source location and name.
* Fix some discrepancies between GFX SDK versions as related to DRM.
--- recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb +4 -4
@@ -11,7 +11,7 @@ BINFILE = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin" inherit module -MACHINE_KERNEL_PR_append = "a" +MACHINE_KERNEL_PR_append = "b" PR = "${MACHINE_KERNEL_PR}" DEFAULT_PREFERENCE = "-1"
@@ -48,16 +48,16 @@ do_compile() { export PLAT_CC="${CC}" export PLAT_CPP="${CXX}" export PLAR_AR="${AR}" - for kernelver in ${WORKDIR}/../../linux-ti-staging/* ; do + for kernelver in ${WORKDIR}/../../${PREFERRED_PROVIDER_virtual/kernel}/* ; do cp -f $kernelver/git/drivers/gpu/drm/*.c ${S}/services4/3rdparty/linux_drm/ done if [ $(echo -e "${KERNEL_VERSION}\n3.3" | sort --version-sort | head -1) = "3.3" ] ; then cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.3 \ - ${S}/services4/3rdparty/linux_drm/Kbuild + ${S}/services4/3rdparty/linux_drm/Kbuild || true else if [ $(echo -e "${KERNEL_VERSION}\n3.2" | sort --version-sort | head -1) = "3.2" ] ; then cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.2 \ - ${S}/services4/3rdparty/linux_drm/Kbuild + ${S}/services4/3rdparty/linux_drm/Kbuild || true fi fi oe_runmake BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}
Signature · 1 line
1.8.3.2
Re: [PATCH 2/5] ompa3-sgx-modules-x11: fix some build failures with latest versions
Quoted 4 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
* Do not hardcode kernel source location and name.
* Fix some discrepancies between GFX SDK versions as related to DRM.
Also, I have couple more fixes pending for resolving build issues when building against recent kernels...
Quoted 41 lines
Signed-off-by Denys Dmytriyenko <[email protected]>--- recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb +4
-4@@ -11,7 +11,7 @@ BINFILE = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin" inherit module -MACHINE_KERNEL_PR_append = "a" +MACHINE_KERNEL_PR_append = "b" PR = "${MACHINE_KERNEL_PR}" DEFAULT_PREFERENCE = "-1"@@ -48,16 +48,16 @@ do_compile() { export PLAT_CC="${CC}" export PLAT_CPP="${CXX}" export PLAR_AR="${AR}" - for kernelver in ${WORKDIR}/../../linux-ti-staging/* ; do + for kernelver in ${WORKDIR}/../../${PREFERRED_PROVIDER_virtual/kernel}/* ; do cp -f $kernelver/git/drivers/gpu/drm/*.c ${S}/services4/3rdparty/linux_drm/ done if [ $(echo -e "${KERNEL_VERSION}\n3.3" | sort --version-sort | head -1) = "3.3" ] ; then cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.3 \ - ${S}/services4/3rdparty/linux_drm/Kbuild + ${S}/services4/3rdparty/linux_drm/Kbuild || true else if [ $(echo -e "${KERNEL_VERSION}\n3.2" | sort --version-sort | head -1) = "3.2" ] ; then cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.2 \ - ${S}/services4/3rdparty/linux_drm/Kbuild + ${S}/services4/3rdparty/linux_drm/Kbuild || true fi fi oe_runmake BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}Signature · 1 line
1.8.3.2
Re: [PATCH 2/5] ompa3-sgx-modules-x11: fix some build failures with latest versions
In reply to Denys DmytriyenkoQuoted 72 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Saturday, August 31, 2013 10:13 PM
To: [email protected]
Subject: [meta-ti] [PATCH 2/5] ompa3-sgx-modules-x11: fix some build failures with latest versionsFrom: Denys Dmytriyenko <[email protected]>
* Do not hardcode kernel source location and name.
* Fix some discrepancies between GFX SDK versions as related to DRM.Signed-off-by Denys Dmytriyenko <[email protected]>---
recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb | 8 ++++----1 file changed, 4 insertions(+), 4 deletions(-)(quoted diff) +0
-0x11_4.09.00.01.bb b/recipes-bsp/powervr-drivers/omap3-sgx-modules- x11_4.09.00.01.bb
index d439d83..9134e61 100644
--- a/recipes-bsp/powervr-drivers/omap3-sgx-modules- x11_4.09.00.01.bb
+++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules- x11_4.09.00.01.bb(quoted diff) +0
-0@@ -11,7 +11,7 @@ BINFILE ="Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin"
inherit module
recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb +1
-1-MACHINE_KERNEL_PR_append = "a" +MACHINE_KERNEL_PR_append = "b"PR = "${MACHINE_KERNEL_PR}"
DEFAULT_PREFERENCE= "-1"recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb +1
-1@@ -48,16 +48,16 @@ do_compile() { export PLAT_CC="${CC}" export PLAT_CPP="${CXX}" export PLAR_AR="${AR}" - for kernelver in ${WORKDIR}/../../linux-ti-staging/* ; do + for kernelver in${WORKDIR}/../../${PREFERRED_PROVIDER_virtual/kernel}/* ; do
cp -f $kernelver/git/drivers/gpu/drm/*.c
${S}/services4/3rdparty/linux_drm/done if [ $(echo -e "${KERNEL_VERSION}\n3.3" | sort --version- sort | head -1) = "3.3" ] ; then cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.3 \(quoted diff) +1
-1- ${S}/services4/3rdparty/linux_drm/Kbuild + ${S}/services4/3rdparty/linux_drm/Kbuild || trueelse if [ $(echo -e "${KERNEL_VERSION}\n3.2" | sort --version-sort | head -1) = "3.2" ] ; then
cp -f
${S}/services4/3rdparty/linux_drm/Kbuild_3.2 \(quoted diff) +1
-1- ${S}/services4/3rdparty/linux_drm/Kbuild + ${S}/services4/3rdparty/linux_drm/Kbuild|| true
fi fi oe_runmake BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}SUPPORT_XORG=${SUPPORT_XORG}
--
1.8.3.2_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
PATCH 3/5 libgles-omap3-x11: do not fail if pvr-init is not yet installed
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
--- recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb +1 -1
@@ -61,7 +61,7 @@ do_install_append() { cp -pPr ${S}/include/pvr2d/*.h ${D}${includedir} cp -pPr ${S}/include/OGLES/GLES ${D}${includedir}/ - rm ${D}${sysconfdir}/init.d/pvr-init + rm -f ${D}${sysconfdir}/init.d/pvr-init if [ "$SUPPORT_XORG" = "1" ]; then cp -pP ${WORKDIR}/rc_dri.pvr ${D}${sysconfdir}/init.d/pvr-init
Signature · 1 line
1.8.3.2
Re: [PATCH 3/5] libgles-omap3-x11: do not fail if pvr-init is not yet installed
Quoted 38 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Saturday, August 31, 2013 10:13 PM
To: [email protected]
Subject: [meta-ti] [PATCH 3/5] libgles-omap3-x11: do not fail if pvr-init is not yet installedFrom: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>---
recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0x11_4.09.00.01.bb b/recipes-graphics/libgles/libgles-omap3- x11_4.09.00.01.bb
index 1c70cae..b7e6ce0 100644recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb +1
-1@@ -61,7 +61,7 @@ do_install_append() { cp -pPr ${S}/include/pvr2d/*.h ${D}${includedir} cp -pPr ${S}/include/OGLES/GLES ${D}${includedir}/ - rm ${D}${sysconfdir}/init.d/pvr-init + rm -f ${D}${sysconfdir}/init.d/pvr-init if [ "$SUPPORT_XORG" = "1" ]; then cp -pP ${WORKDIR}/rc_dri.pvr${D}${sysconfdir}/init.d/pvr-init
--
1.8.3.2_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
PATCH 4/5 libgles-omap3: introduce INC_PR
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
--- recipes-graphics/libgles/libgles-omap3-no-x.inc | 2 +- recipes-graphics/libgles/libgles-omap3-x11.inc | 2 +- recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb | 2 ++ recipes-graphics/libgles/libgles-omap3_4.09.00.01.bb | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-)
recipes-graphics/libgles/libgles-omap3-no-x.inc +1 -1
@@ -3,7 +3,7 @@ LICENSE = "proprietary-binary" # 'TSPA.txt' might not be the best file to md5sum LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" -PR = "r36" +INC_PR = "r37" EXCLUDE_FROM_WORLD = "1"
recipes-graphics/libgles/libgles-omap3-x11.inc +1 -1
@@ -3,7 +3,7 @@ LICENSE = "proprietary-binary" # 'TSPA.txt' might not be the best file to md5sum LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" -PR = "r36" +INC_PR = "r37" EXCLUDE_FROM_WORLD = "1"
recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb +2 -0
@@ -2,6 +2,8 @@ require libgles-omap3-x11.inc LICENSE = "TSPA" +PR = "${INC_PR}.0" + DEFAULT_PREFERENCE = "-1" BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
recipes-graphics/libgles/libgles-omap3_4.09.00.01.bb +2 -0
@@ -2,6 +2,8 @@ require libgles-omap3-no-x.inc LICENSE = "TSPA" +PR = "${INC_PR}.0" + DEFAULT_PREFERENCE = "-1" BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
Signature · 1 line
1.8.3.2
Re: [PATCH 4/5] libgles-omap3: introduce INC_PR
General question is that I thought INC_PR was frowned on.
Aside from that
Quoted 83 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Saturday, August 31, 2013 10:13 PM
To: [email protected]
Subject: [meta-ti] [PATCH 4/5] libgles-omap3: introduceINC_PRFrom: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>---
recipes-graphics/libgles/libgles-omap3-no-x.inc | 2 +- recipes-graphics/libgles/libgles-omap3-x11.inc | 2 +- recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb | 2 ++ recipes-graphics/libgles/libgles-omap3_4.09.00.01.bb | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-)recipes-graphics/libgles/libgles-omap3-no-x.inc +0
-0@@ -3,7 +3,7 @@ LICENSE = "proprietary-binary" # 'TSPA.txt' might not be the best file to md5sum
LIC_FILES_CHKSUM= "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"recipes-graphics/libgles/libgles-omap3-no-x.inc +1
-1-PR = "r36" +INC_PR = "r37"
EXCLUDE_FROM_WORLD= "1"recipes-graphics/libgles/libgles-omap3-x11.inc +0
-0@@ -3,7 +3,7 @@ LICENSE = "proprietary-binary" # 'TSPA.txt' might not be the best file to md5sum
LIC_FILES_CHKSUM= "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"recipes-graphics/libgles/libgles-omap3-x11.inc +1
-1-PR = "r36" +INC_PR = "r37"
EXCLUDE_FROM_WORLD= "1"(quoted diff) +0
-0x11_4.09.00.01.bb b/recipes-graphics/libgles/libgles-omap3- x11_4.09.00.01.bb
index b7e6ce0..6b9c561 100644recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb +0
-0@@ -2,6 +2,8 @@ require libgles-omap3-x11.incLICENSE = "TSPA"
recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb +2
-0+PR = "${INC_PR}.0" +
DEFAULT_PREFERENCE= "-1"
BINLOCATION_omap3= "${S}/gfx_rel_es3.x"recipes-graphics/libgles/libgles-omap3_4.09.00.01.bb +0
-0@@ -2,6 +2,8 @@ require libgles-omap3-no-x.incLICENSE = "TSPA"
recipes-graphics/libgles/libgles-omap3_4.09.00.01.bb +2
-0+PR = "${INC_PR}.0" +
DEFAULT_PREFERENCE= "-1"
BINLOCATION_omap3= "${S}/gfx_rel_es3.x"
--
1.8.3.2_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Re: [PATCH 4/5] libgles-omap3: introduce INC_PR
Quoted 1 line · Chase
General question is that I thought
INC_PRwas frowned on.
PRSERV is suggested as an alternative, but so far PR has not been removed completely and it would be nice to have a consistency.
Quoted 93 lines
Aside from that
Acked-by Chase Maupin <[email protected]>Quoted 75 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Saturday, August 31, 2013 10:13 PM
To: [email protected]
Subject: [meta-ti] [PATCH 4/5] libgles-omap3: introduceINC_PRFrom: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>---
recipes-graphics/libgles/libgles-omap3-no-x.inc | 2 +- recipes-graphics/libgles/libgles-omap3-x11.inc | 2 +- recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb | 2 ++ recipes-graphics/libgles/libgles-omap3_4.09.00.01.bb | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-)recipes-graphics/libgles/libgles-omap3-no-x.inc +0
-0@@ -3,7 +3,7 @@ LICENSE = "proprietary-binary" # 'TSPA.txt' might not be the best file to md5sum
LIC_FILES_CHKSUM= "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"recipes-graphics/libgles/libgles-omap3-no-x.inc +1
-1-PR = "r36" +INC_PR = "r37"
EXCLUDE_FROM_WORLD= "1"recipes-graphics/libgles/libgles-omap3-x11.inc +0
-0@@ -3,7 +3,7 @@ LICENSE = "proprietary-binary" # 'TSPA.txt' might not be the best file to md5sum
LIC_FILES_CHKSUM= "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"recipes-graphics/libgles/libgles-omap3-x11.inc +1
-1-PR = "r36" +INC_PR = "r37"
EXCLUDE_FROM_WORLD= "1"(quoted diff) +0
-0x11_4.09.00.01.bb b/recipes-graphics/libgles/libgles-omap3- x11_4.09.00.01.bb
index b7e6ce0..6b9c561 100644recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb +0
-0@@ -2,6 +2,8 @@ require libgles-omap3-x11.incLICENSE = "TSPA"
recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb +2
-0+PR = "${INC_PR}.0" +
DEFAULT_PREFERENCE= "-1"
BINLOCATION_omap3= "${S}/gfx_rel_es3.x"recipes-graphics/libgles/libgles-omap3_4.09.00.01.bb +0
-0@@ -2,6 +2,8 @@ require libgles-omap3-no-x.incLICENSE = "TSPA"
recipes-graphics/libgles/libgles-omap3_4.09.00.01.bb +2
-0+PR = "${INC_PR}.0" +
DEFAULT_PREFERENCE= "-1"Quoted 8 lines
BINLOCATION_omap3= "${S}/gfx_rel_es3.x"
--
1.8.3.2_______________________________________________
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
PATCH 5/5 libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 version
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
--- .../omap3-sgx-modules_1.6.16.3977.bb | 45 ---------------------- .../libgles/libgles-omap3_4.03.00.02.bb | 30 --------------- 2 files changed, 75 deletions(-) delete mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb delete mode 100644 recipes-graphics/libgles/libgles-omap3_4.03.00.02.bb
recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb deleted +0 -45
@@ -1,45 +0,0 @@ -DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=21228a42e27d1d104b31a83f7c9da935" - -TI_BIN_UNPK_CMDS="Y: qY:workdir:Y" -require ../../recipes-ti/includes/ti-eula-unpack.inc - -SGXPV = "4_03_00_02" -IMGPV = "1.6.16.3977" -BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin" - -inherit module - -MACHINE_KERNEL_PR_append = "b" -PR = "${MACHINE_KERNEL_PR}" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \ - file://Compile-fixes-for-38-kernel.patch \ - file://kernel-30.patch \ - " -SRC_URI[md5sum] = "ff8c1f2b8e4cb42f4ced6a613b081ada" -SRC_URI[sha256sum] = "cdb0bd3964e107733d632aa8224e0537b05c1ffac34befc036423458c8d75255" -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_ti816x = "ti81xx" - -MODULESLOCATION_omap3 = "dc_omap3430_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 \ - ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \ - ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \ - ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr -}
recipes-graphics/libgles/libgles-omap3_4.03.00.02.bb deleted +0 -30
@@ -1,30 +0,0 @@ -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_03_00_02" -IMGPV = "1.6.16.3977" -BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin" -TI_BIN_UNPK_WDEXT := "/Graphics_SDK_${SGXPV}" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \ - file://cputype \ - file://rc.pvr \ - file://sample.desktop \ - file://99-bufferclass.rules \ -" - -SRC_URI[md5sum] = "ff8c1f2b8e4cb42f4ced6a613b081ada" -SRC_URI[sha256sum] = "cdb0bd3964e107733d632aa8224e0537b05c1ffac34befc036423458c8d75255" - -S = "${WORKDIR}/Graphics_SDK_${SGXPV}"
Signature · 1 line
1.8.3.2
Re: [PATCH 5/5] libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 version
BTW, consider this an RFC for removing the next 4.05.00.03 version as well - I know some people are still using it, so please speak up.
Signature · 1 line
Denys
Quoted 100 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>--- .../omap3-sgx-modules_1.6.16.3977.bb | 45 ---------------------- .../libgles/libgles-omap3_4.03.00.02.bb | 30 --------------- 2 files changed, 75 deletions(-) delete mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb delete mode 100644 recipes-graphics/libgles/libgles-omap3_4.03.00.02.bbrecipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb deleted +0
-45@@ -1,45 +0,0 @@ -DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=21228a42e27d1d104b31a83f7c9da935" - -TI_BIN_UNPK_CMDS="Y: qY:workdir:Y" -require ../../recipes-ti/includes/ti-eula-unpack.inc - -SGXPV = "4_03_00_02" -IMGPV = "1.6.16.3977" -BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin" - -inherit module - -MACHINE_KERNEL_PR_append = "b" -PR = "${MACHINE_KERNEL_PR}" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \ - file://Compile-fixes-for-38-kernel.patch \ - file://kernel-30.patch \ - " -SRC_URI[md5sum] = "ff8c1f2b8e4cb42f4ced6a613b081ada" -SRC_URI[sha256sum] = "cdb0bd3964e107733d632aa8224e0537b05c1ffac34befc036423458c8d75255" -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_ti816x = "ti81xx" - -MODULESLOCATION_omap3 = "dc_omap3430_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 \ - ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \ - ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \ - ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr -}recipes-graphics/libgles/libgles-omap3_4.03.00.02.bb deleted +0
-30@@ -1,30 +0,0 @@ -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_03_00_02" -IMGPV = "1.6.16.3977" -BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin" -TI_BIN_UNPK_WDEXT := "/Graphics_SDK_${SGXPV}" - -SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \ - file://cputype \ - file://rc.pvr \ - file://sample.desktop \ - file://99-bufferclass.rules \ -" - -SRC_URI[md5sum] = "ff8c1f2b8e4cb42f4ced6a613b081ada" -SRC_URI[sha256sum] = "cdb0bd3964e107733d632aa8224e0537b05c1ffac34befc036423458c8d75255" - -S = "${WORKDIR}/Graphics_SDK_${SGXPV}"Signature · 1 line
1.8.3.2
Re: [PATCH 5/5] libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 version
Quoted 3 lines · Denys Dmytriyenko
BTW, consider this an RFC for removing the next 4.05.00.03 version as well - I know some people are still using it, so please speak up.
We're using 4.05.00.03 for our OMAP3530 board, because that is the latest one we've tried that actually works :)
Last time I tried newer versions there were "instant lockup" problems. Are any of the newer versions compatible with OMAP3530 now?
- Tasslehoff
Re: [PATCH 5/5] libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 version
Quoted 11 lines · Tasslehoff Kjappfot
Quoted 3 lines · Denys Dmytriyenko
BTW, consider this an RFC for removing the next 4.05.00.03 version as well - I know some people are still using it, so please speak up.
We're using 4.05.00.03 for our OMAP3530 board, because that is the latest one we've tried that actually works :)
Last time I tried newer versions there were "instant lockup" problems. Are any of the newer versions compatible with OMAP3530 now?
Tasslehoff,
I don't think the support for OMAP3530 was specifically removed from latest versions, although I'm not sure if it got broken by accident though. Prabu?
Signature · 1 line
Denys
Re: [PATCH 5/5] libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 version
Version 1.0.3 cores have been deprecated a while ago. Is that what is being referred to ?
regards,
Prabu
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Tuesday, September 03, 2013 10:34 PM
To: Tasslehoff Kjappfot
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 5/5] libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 version
Quoted 10 lines · Tasslehoff Kjappfot
Quoted 3 lines · Denys Dmytriyenko
BTW, consider this an RFC for removing the next 4.05.00.03 version as well - I know some people are still using it, so please speak up.
We're using 4.05.00.03 for our OMAP3530 board, because that is the latest one we've tried that actually works :)
Last time I tried newer versions there were "instant lockup" problems. Are any of the newer versions compatible with OMAP3530 now?
Tasslehoff,
I don't think the support for OMAP3530 was specifically removed from latest versions, although I'm not sure if it got broken by accident though. Prabu?
--
Denys
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Re: [PATCH 5/5] libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 version
In reply to Tasslehoff KjappfotQuoted 15 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Tasslehoff Kjappfot
Sent: Monday, September 02, 2013 7:07 AM
To: [email protected]
Subject: Re: [meta-ti] [PATCH 5/5] libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 versionQuoted 3 lines · Denys Dmytriyenko
BTW, consider this an RFC for removing the next 4.05.00.03 version as well - I know some people are still using it, so please speak up.
Quoted 5 lines
We're using 4.05.00.03 for our OMAP3530 board, because that is the latest one we've tried that actually works :)
Last time I tried newer versions there were "instant lockup" problems. Are any of the newer versions compatible with OMAP3530 now?
[Franklin] The Graphics SDK was validated on am3517 using a 2.6.37 kernel. I've successfully used 04.08.00.02 without any problems. What kernel version are you using?
Quoted 6 lines
- Tasslehoff
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Re: [PATCH 5/5] libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 version
Quoted 15 lines · Franklin
Quoted 15 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Tasslehoff Kjappfot
Sent: Monday, September 02, 2013 7:07 AM
To: [email protected]
Subject: Re: [meta-ti] [PATCH 5/5] libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 versionQuoted 3 lines · Denys Dmytriyenko
BTW, consider this an RFC for removing the next 4.05.00.03 version as well - I know some people are still using it, so please speak up.
Quoted 12 lines
Quoted 5 lines
We're using 4.05.00.03 for our OMAP3530 board, because that is the latest one we've tried that actually works :)
Last time I tried newer versions there were "instant lockup" problems. Are any of the newer versions compatible with OMAP3530 now?
[Franklin] The Graphics SDK was validated on am3517 using a 2.6.37 kernel. I've successfully used 04.08.00.02 without any problems. What kernel version are you using?
Quoted 6 lines
- Tasslehoff
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
We're using 2.6.39. When I had the issues I asked on #beagle, and among the responses was there currently was a problem with "instant lockup on omap3530 ES3.x", and that "hopefully the 1.7 based ddk will fix it". That was about a year ago. I'm not sure if what I tested on then was a 4.08.x.x version.
- Tasslehoff
Quoted 127 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Saturday, August 31, 2013 10:13 PM
To: [email protected]
Subject: [meta-ti] [PATCH 1/5] libgles-omap3: fix some conflicts between X11 and Raw versionsFrom: Denys Dmytriyenko <[email protected]>
* Properly define all PROVIDES, RPROVIDES, RCONFLICTS and RREPLACES variables.
* Skip X11 recipe altogether in non-X11 distros to avoid broken dependencies
for missing X libraries.Signed-off-by Denys Dmytriyenko <[email protected]>---
recipes-graphics/libgles/libgles-omap3-no-x.inc | 14
++++++++++++--
recipes-graphics/libgles/libgles-omap3-x11.inc | 17
++++++++++++-----2 files changed, 24 insertions(+), 7 deletions(-)recipes-graphics/libgles/libgles-omap3-no-x.inc +0
-0@@ -3,7 +3,9 @@ LICENSE = "proprietary-binary" # 'TSPA.txt' might not be the best file to md5sum
LIC_FILES_CHKSUM= "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"recipes-graphics/libgles/libgles-omap3-no-x.inc +3
-1-PR = "r35" +PR = "r36" + +EXCLUDE_FROM_WORLD = "1"
COMPATIBLE_MACHINE= "(omap3|ti814x|ti816x|ti33x)"recipes-graphics/libgles/libgles-omap3-no-x.inc +0
-0@@ -13,7 +15,15 @@ PROVIDES += "virtual/egl virtual/libgles1virtual/libgles2"
RREPLACES_${PN} = "libegl libgles1 libgles2" RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
recipes-graphics/libgles/libgles-omap3-no-x.inc +9
-1-RREPLACES_${PN}-dbg = "libegl-dbg" +RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" + +RPROVIDES_${PN} = "libegl libgles1 libgles2" +RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" +RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg" + +RCONFLICTS_${PN} = "libegl libgles1 libgles2" +RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" +RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
SRC_URI= "http://software- dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \ file://cputype \recipes-graphics/libgles/libgles-omap3-x11.inc +0
-0@@ -3,7 +3,9 @@ LICENSE = "proprietary-binary" # 'TSPA.txt' might not be the best file to md5sum
LIC_FILES_CHKSUM= "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"recipes-graphics/libgles/libgles-omap3-x11.inc +3
-1-PR = "r35" +PR = "r36" + +EXCLUDE_FROM_WORLD = "1"
COMPATIBLE_MACHINE= "(omap3|ti814x|ti816x|ti33x)"recipes-graphics/libgles/libgles-omap3-x11.inc +0
-0@@ -12,19 +14,19 @@ DEPENDS = "virtual/libx11 libxau libxdmcplibdrm"
exportSUPPORT_XORG?= "1"PVR_INIT?= "pvrsrvinit"recipes-graphics/libgles/libgles-omap3-x11.inc +1
-1-PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2" +PROVIDES += "libgles-omap3 virtual/egl virtual/libgles1virtual/libgles2"
RREPLACES_${PN} = "libegl libgles1 libgles2" RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
recipes-graphics/libgles/libgles-omap3-x11.inc +1
-1-RREPLACES_${PN}-dbg = "libegl-dbg" +RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"RPROVIDES_${PN} = "libegl libgles1 libgles2" RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
recipes-graphics/libgles/libgles-omap3-x11.inc +1
-1-RPROVIDES_${PN}-dbg = "libegl-dbg" +RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"RCONFLICTS_${PN} = "libegl libgles1 libgles2" RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
recipes-graphics/libgles/libgles-omap3-x11.inc +1
-1-RCONFLICTS_${PN}-dbg = "libegl-dbg" +RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
SRC_URI= "http://software- dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \ file://cputype \recipes-graphics/libgles/libgles-omap3-x11.inc +0
-0@@ -47,6 +49,11 @@ export ES8LOCATION ?= "${S}/gfx_rel_es8.x"LIBGLESWINDOWSYSTEM ?= "libpvrPVR2D_DRIWSEGL.so"
recipes-graphics/libgles/libgles-omap3-x11.inc +3
-0+python __anonymous() { + if "x11" not in d.getVar("DISTRO_FEATURES", True).split(): + raise bb.parse.SkipPackage("Recipe is x11-specific,skipping")
recipes-graphics/libgles/libgles-omap3-x11.inc +2
-0+} +do_configure() { # Attempt to fix up the worst offenders for file permissions for i in $(find ${S} -name "*.h") $(find ${S} -name "*.c")$(find ${S} -name "Make*") ; do
--
1.8.3.2_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti