* [PATCH 1/7] libgles-omap3: split support for ES revisions into subpackages where possible
2012-01-23 14:18 [PATCH 0/7] SGX recipe rework Koen Kooi
@ 2012-01-23 14:18 ` Koen Kooi
2012-01-23 14:18 ` [PATCH 2/7] libgles-omap3: merge in updates from arago Koen Kooi
` (7 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: Koen Kooi @ 2012-01-23 14:18 UTC (permalink / raw)
To: meta-ti
This allows deinstalling ES revisions which aren't wanted on your target.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
recipes-graphics/libgles/libgles-omap3.inc | 57 +++++++++++++++++++++++++---
1 files changed, 51 insertions(+), 6 deletions(-)
diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
index 4459bef..dc0185a 100644
--- a/recipes-graphics/libgles/libgles-omap3.inc
+++ b/recipes-graphics/libgles/libgles-omap3.inc
@@ -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 = "r17"
+PR = "r18"
COMPATIBLE_MACHINE = "(omap3|ti816x)"
@@ -219,19 +219,64 @@ PACKAGES =+ "${PN}-rawdemos \
PACKAGES += "xserver-kdrive-powervrsgx \
${PN}-tests "
+# Package the base libraries per silicon revision
+PACKAGES =+ "${PN}-es2 ${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8"
+RRECOMMENDS_${PN} += "${PN}-es2 ${PN}-es3 ${PN}-es5 ${PN}-es6 ${PN}-es8"
+FILES_${PN}-es2 = "${libdir}/ES2*/* ${bindir}/ES2*/*"
+FILES_${PN}-es3 = "${libdir}/ES3*/* ${bindir}/ES3*/*"
+FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*"
+FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*"
+FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*"
+
PACKAGES =+ "${PN}-blitwsegl ${PN}-flipwsegl ${PN}-frontwsegl ${PN}-linuxfbwsegl ${PN}-x11wsegl"
+FILES_${PN}-blitwsegl = "${libdir}/libpvrPVR2D_BLITWSEGL.so.*"
+FILES_${PN}-flipwsegl = "${libdir}/libpvrPVR2D_FLIPWSEGL.so.*"
+FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.*"
+FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.*"
+FILES_${PN}-x11wsegl = "${libdir}/libpvrPVR2D_X11WSEGL.so*"
-FILES_${PN}-blitwsegl = "${libdir}/libpvrPVR2D_BLITWSEGL.so.* ${libdir}/*/libpvrPVR2D_BLITWSEGL.so.*"
-FILES_${PN}-flipwsegl = "${libdir}/libpvrPVR2D_FLIPWSEGL.so.* ${libdir}/*/libpvrPVR2D_FLIPWSEGL.so.*"
-FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.* ${libdir}/*/libpvrPVR2D_FRONTWSEGL.so.*"
-FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.* ${libdir}/*/libpvrPVR2D_LINUXFBWSEGL.so.*"
-FILES_${PN}-x11wsegl = "${libdir}/libpvrPVR2D_X11WSEGL.so* ${libdir}/*/libpvrPVR2D_X11WSEGL.so*"
+PACKAGES =+ "${PN}-blitwsegl-es2 ${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8 ${PN}-flipwsegl-es2 ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8 ${PN}-frontwsegl-es2 ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8 ${PN}-linuxfbwsegl-es2 ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8 ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8"
+FILES_${PN}-blitwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_BLITWSEGL.so.*"
+FILES_${PN}-blitwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_BLITWSEGL.so.*"
+FILES_${PN}-blitwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_BLITWSEGL.so.*"
+FILES_${PN}-blitwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_BLITWSEGL.so.*"
+FILES_${PN}-blitwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_BLITWSEGL.so.*"
+RRECOMMENDS_${PN}-blitwsegl = " ${PN}-blitwsegl-es2 ${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8"
+
+FILES_${PN}-flipwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_FLIPWSEGL.so.*"
+FILES_${PN}-flipwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FLIPWSEGL.so.*"
+FILES_${PN}-flipwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FLIPWSEGL.so.*"
+FILES_${PN}-flipwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FLIPWSEGL.so.*"
+FILES_${PN}-flipwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FLIPWSEGL.so.*"
+RRECOMMENDS_${PN}-flipwsegl = " ${PN}-flipwsegl-es2 ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8"
+
+FILES_${PN}-frontwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_FRONTWSEGL.so.*"
+FILES_${PN}-frontwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_FRONTWSEGL.so.*"
+FILES_${PN}-frontwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_FRONTWSEGL.so.*"
+FILES_${PN}-frontwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_FRONTWSEGL.so.*"
+FILES_${PN}-frontwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_FRONTWSEGL.so.*"
+RRECOMMENDS_${PN}-frontwsegl = " ${PN}-frontwsegl-es2 ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8"
+
+FILES_${PN}-linuxfbwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_LINUXFBWSEGL.so.*"
+FILES_${PN}-linuxfbwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_LINUXFBWSEGL.so.*"
+FILES_${PN}-linuxfbwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_LINUXFBWSEGL.so.*"
+FILES_${PN}-linuxfbwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_LINUXFBWSEGL.so.*"
+FILES_${PN}-linuxfbwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_LINUXFBWSEGL.so.*"
+RRECOMMENDS_${PN}-linuxfbwsegl = " ${PN}-linuxfbwsegl-es2 ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8"
+
+FILES_${PN}-x11wsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_X11WSEGL.so.*"
+FILES_${PN}-x11wsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_X11WSEGL.so.*"
+FILES_${PN}-x11wsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_X11WSEGL.so.*"
+FILES_${PN}-x11wsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_X11WSEGL.so.*"
+FILES_${PN}-x11wsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_X11WSEGL.so.*"
+RRECOMMENDS_${PN}-x11wsegl = " ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8"
CONFFILES_${PN} = "${sysconfdir}/powervr.ini"
# 'cputype' uses /etc/init.d/functions
RRECOMMENDS_${PN} += "initscripts"
FILES_${PN} = "${sysconfdir} ${libdir}/lib*.so.* ${libdir}/ES*/* ${bindir}/pvrsrvinit ${bindir}/cputype ${bindir}/*/*"
+
FILES_xserver-kdrive-powervrsgx = "${bindir}/Xsgx"
FILES_${PN}-tests = "${bindir}/*"
FILES_${PN}-dbg = "${libdir}/.debug/* ${bindir}/.debug/* \
--
1.7.2.5
^ permalink raw reply related [flat|nested] 17+ messages in thread* [PATCH 2/7] libgles-omap3: merge in updates from arago
2012-01-23 14:18 [PATCH 0/7] SGX recipe rework Koen Kooi
2012-01-23 14:18 ` [PATCH 1/7] libgles-omap3: split support for ES revisions into subpackages where possible Koen Kooi
@ 2012-01-23 14:18 ` Koen Kooi
2012-01-23 14:18 ` [PATCH 3/7] libgles-omap3: package DRI windowing system as well Koen Kooi
` (6 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: Koen Kooi @ 2012-01-23 14:18 UTC (permalink / raw)
To: meta-ti
* ES3.x do_install fix
* AM335x support
And one non-arago fix: break dependency on 'initscripts' package
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
recipes-graphics/libgles/libgles-omap3.inc | 26 ++++++++++++++------
recipes-graphics/libgles/libgles-omap3/cputype | 10 ++++++-
recipes-graphics/libgles/libgles-omap3/rc.pvr | 29 +++++++++++++++++++-----
3 files changed, 49 insertions(+), 16 deletions(-)
diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
index dc0185a..0a05a0b 100644
--- a/recipes-graphics/libgles/libgles-omap3.inc
+++ b/recipes-graphics/libgles/libgles-omap3.inc
@@ -3,9 +3,9 @@ LICENSE = "proprietary-binary"
# 'TSPA.txt' might not be the best file to md5sum
LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"
-PR = "r18"
+PR = "r19"
-COMPATIBLE_MACHINE = "(omap3|ti816x)"
+COMPATIBLE_MACHINE = "(omap3|ti816x|ti33x)"
DEPENDS = "virtual/libx11 libxau libxdmcp"
@@ -29,6 +29,7 @@ ES2LOCATION ?= "${S}/gfx_rel_es2.x"
ES3LOCATION ?= "${S}/gfx_rel_es3.x"
ES5LOCATION ?= "${S}/gfx_rel_es5.x"
ES6LOCATION ?= "${S}/gfx_rel_es6.x"
+ES8LOCATION ?= "${S}/gfx_rel_es8.x"
do_configure() {
# Attempt to fix up the worst offenders for file permissions
@@ -158,22 +159,28 @@ do_install () {
# The ES2.x, ES3.x, ES5.x and ES6.x CPUs have different SGX hardware, so we need to install multiple sets of userspace
+ install -d ${D}${libdir}/ES8.0
install -d ${D}${libdir}/ES6.0
install -d ${D}${libdir}/ES5.0
install -d ${D}${libdir}/ES3.0
install -d ${D}${libdir}/ES2.0
+ install -d ${D}${bindir}/ES8.0
install -d ${D}${bindir}/ES6.0
install -d ${D}${bindir}/ES5.0
install -d ${D}${bindir}/ES3.0
install -d ${D}${bindir}/ES2.0
- cp -pPR ${ES2LOCATION}/lib*${IMGPV} ${D}${libdir}/ES2.0/
- cp ${ES2LOCATION}/p[dv]* ${D}${bindir}/ES2.0/
+ if [ -e ${ES2LOCATION} ] ; then
+ cp -pPR ${ES2LOCATION}/lib*${IMGPV} ${D}${libdir}/ES2.0/
+ cp ${ES2LOCATION}/p[dv]* ${D}${bindir}/ES2.0/
+ fi
- cp -pPR ${D}${libdir}/lib*${IMGPV} ${D}${libdir}/ES3.0/
- cp ${D}${bindir}/p[dv]* ${D}${bindir}/ES3.0
+ if [ -e ${ES3LOCATION} ] ; then
+ cp -pPR ${ES3LOCATION}/lib*${IMGPV} ${D}${libdir}/ES3.0/
+ cp ${ES3LOCATION}/p[dv]* ${D}${bindir}/ES3.0
+ fi
if [ -e ${ES5LOCATION} ] ; then
cp -pPR ${ES5LOCATION}/lib*${IMGPV} ${D}${libdir}/ES5.0/
@@ -185,6 +192,11 @@ do_install () {
cp ${ES6LOCATION}/p[dv]* ${D}${bindir}/ES6.0/
fi
+ if [ -e ${ES8LOCATION} ] ; then
+ cp -pPR ${ES8LOCATION}/lib*${IMGPV} ${D}${libdir}/ES8.0/
+ cp ${ES8LOCATION}/p[dv]* ${D}${bindir}/ES8.0/
+ fi
+
rm ${D}${bindir}/ES*/*.h ${D}${bindir}/ES*/pdsasm ${D}${bindir}/pdsasm -f || true
install -d ${D}${prefix}/share/applications
@@ -272,8 +284,6 @@ FILES_${PN}-x11wsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_X11WSEGL.so.*"
RRECOMMENDS_${PN}-x11wsegl = " ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8"
CONFFILES_${PN} = "${sysconfdir}/powervr.ini"
-# 'cputype' uses /etc/init.d/functions
-RRECOMMENDS_${PN} += "initscripts"
FILES_${PN} = "${sysconfdir} ${libdir}/lib*.so.* ${libdir}/ES*/* ${bindir}/pvrsrvinit ${bindir}/cputype ${bindir}/*/*"
diff --git a/recipes-graphics/libgles/libgles-omap3/cputype b/recipes-graphics/libgles/libgles-omap3/cputype
index 27f411d..4448c30 100755
--- a/recipes-graphics/libgles/libgles-omap3/cputype
+++ b/recipes-graphics/libgles/libgles-omap3/cputype
@@ -1,11 +1,17 @@
#!/bin/sh
-. /etc/init.d/functions
+
+machine_id() { # return the machine ID
+ awk 'BEGIN { FS=": " } /Hardware/ \
+ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo
+}
if [ "$(machine_id)" = "ti8168evm" ] ; then
echo TI816x
+elif [ "$(machine_id)" = "am335xevm" ] ; then
+ echo TI33XX
else
devmem2 0x4800244c | \
grep 'Read at address' | \
sed -e 's/.*): //' | \
- sed -e 's/0x00005C00/OMAP3503/' -e 's/0x00001C00/OMAP3515/' -e 's/0x00004C00/OMAP3525/' -e 's/0x00000C00/OMAP3530/'
+ sed -e 's/0x00005C00/OMAP3503/' -e 's/0x00001C00/OMAP3515/' -e 's/0x00004C00/OMAP3525/' -e 's/0x00000C00/OMAP3530/' -e 's/0x00005E00/OMAP3503/' -e 's/0x00001E00/OMAP3515/' -e 's/0x00004E00/OMAP3525/' -e 's/0x00000E00/OMAP3530/' -e 's/0x00000CC0/OMAP3530/'
fi
diff --git a/recipes-graphics/libgles/libgles-omap3/rc.pvr b/recipes-graphics/libgles/libgles-omap3/rc.pvr
index d32f9e4..07efa66 100755
--- a/recipes-graphics/libgles/libgles-omap3/rc.pvr
+++ b/recipes-graphics/libgles/libgles-omap3/rc.pvr
@@ -1,6 +1,15 @@
#!/bin/sh
PATH=$PATH:/usr/sbin
+# Check if an fb device is available. If not then just go ahead and
+# exit because we have no display.
+fbset > /dev/null 2>&1
+if [ "$?" == "1" ]
+then
+ # looks like there is no display, so let's exit
+ exit 0
+fi
+
BITSPERPIXEL="$(fbset | grep geom | awk '{print $6}')"
YRES="$(fbset | grep geom | awk '{print $3}')"
@@ -28,7 +37,7 @@ if [ "$BITSPERPIXEL" = "32" ] ; then
fi
# Try to enable triple buffering when there's enough VRAM
-fbset -vyres $(expr $YRES \* 3)
+fbset -vyres $(expr $YRES \* 3)
sgxprepare () {
echo Starting PVR
@@ -39,11 +48,11 @@ sgxprepare () {
pvr_maj=`grep "pvrsrvkm$" /proc/devices | cut -b1,2,3`
bc_maj=`grep "bc" /proc/devices | cut -b1,2,3`
- if [ -e /dev/pvrsrvkm ] ; then
+ if [ -e /dev/pvrsrvkm ] ; then
rm -f /dev/pvrsrvkm
fi
- mknod /dev/pvrsrvkm c $pvr_maj 0
+ mknod /dev/pvrsrvkm c $pvr_maj 0
chmod 666 /dev/pvrsrvkm
touch /etc/powervr-esrev
@@ -56,7 +65,7 @@ sgxfinish () {
echo -n "Starting SGX fixup for"
echo " ES${ES_REVISION}.x"
cp -a /usr/lib/ES${ES_REVISION}.0/* /usr/lib
- cp -a /usr/bin/ES${ES_REVISION}.0/* /usr/bin
+ cp -a /usr/bin/ES${ES_REVISION}.0/* /usr/bin
echo "${ES_REVISION}" > /etc/powervr-esrev
fi
/usr/bin/pvrsrvinit
@@ -74,6 +83,16 @@ case $CPUTYPE in
sgxfinish
;;
+"TI33XX")
+ sgxprepare
+
+ devmem2 0x44e01104 w 0x0 > /dev/null
+ devmem2 0x44e00904 w 0x2 > /dev/null
+
+ ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:8: | tail -n1 | awk -F': ' '{print $2}')"
+
+ sgxfinish
+ ;;
"TI816x")
sgxprepare
@@ -89,5 +108,3 @@ case $CPUTYPE in
echo No SGX hardware, not starting PVR
;;
esac
-
-
--
1.7.2.5
^ permalink raw reply related [flat|nested] 17+ messages in thread* [PATCH 3/7] libgles-omap3: package DRI windowing system as well
2012-01-23 14:18 [PATCH 0/7] SGX recipe rework Koen Kooi
2012-01-23 14:18 ` [PATCH 1/7] libgles-omap3: split support for ES revisions into subpackages where possible Koen Kooi
2012-01-23 14:18 ` [PATCH 2/7] libgles-omap3: merge in updates from arago Koen Kooi
@ 2012-01-23 14:18 ` Koen Kooi
2012-01-23 14:18 ` [PATCH 4/7] libgles-omap3: install X11 windowing system for newer SDK releases " Koen Kooi
` (5 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: Koen Kooi @ 2012-01-23 14:18 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
recipes-graphics/libgles/libgles-omap3.inc | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
index 0a05a0b..9bd801c 100644
--- a/recipes-graphics/libgles/libgles-omap3.inc
+++ b/recipes-graphics/libgles/libgles-omap3.inc
@@ -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 = "r19"
+PR = "r20"
COMPATIBLE_MACHINE = "(omap3|ti816x|ti33x)"
@@ -240,12 +240,13 @@ FILES_${PN}-es5 = "${libdir}/ES5*/* ${bindir}/ES5*/*"
FILES_${PN}-es6 = "${libdir}/ES6*/* ${bindir}/ES6*/*"
FILES_${PN}-es8 = "${libdir}/ES8*/* ${bindir}/ES8*/*"
-PACKAGES =+ "${PN}-blitwsegl ${PN}-flipwsegl ${PN}-frontwsegl ${PN}-linuxfbwsegl ${PN}-x11wsegl"
+PACKAGES =+ "${PN}-blitwsegl ${PN}-flipwsegl ${PN}-frontwsegl ${PN}-linuxfbwsegl ${PN}-x11wsegl ${PN}-driwsegl"
FILES_${PN}-blitwsegl = "${libdir}/libpvrPVR2D_BLITWSEGL.so.*"
FILES_${PN}-flipwsegl = "${libdir}/libpvrPVR2D_FLIPWSEGL.so.*"
FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.*"
FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.*"
FILES_${PN}-x11wsegl = "${libdir}/libpvrPVR2D_X11WSEGL.so*"
+FILES_${PN}-driwsegl = "${libdir}/libpvrPVR2D_DRIWSEGL.so*"
PACKAGES =+ "${PN}-blitwsegl-es2 ${PN}-blitwsegl-es3 ${PN}-blitwsegl-es5 ${PN}-blitwsegl-es6 ${PN}-blitwsegl-es8 ${PN}-flipwsegl-es2 ${PN}-flipwsegl-es3 ${PN}-flipwsegl-es5 ${PN}-flipwsegl-es6 ${PN}-flipwsegl-es8 ${PN}-frontwsegl-es2 ${PN}-frontwsegl-es3 ${PN}-frontwsegl-es5 ${PN}-frontwsegl-es6 ${PN}-frontwsegl-es8 ${PN}-linuxfbwsegl-es2 ${PN}-linuxfbwsegl-es3 ${PN}-linuxfbwsegl-es5 ${PN}-linuxfbwsegl-es6 ${PN}-linuxfbwsegl-es8 ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8"
FILES_${PN}-blitwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_BLITWSEGL.so.*"
@@ -283,6 +284,13 @@ FILES_${PN}-x11wsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_X11WSEGL.so.*"
FILES_${PN}-x11wsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_X11WSEGL.so.*"
RRECOMMENDS_${PN}-x11wsegl = " ${PN}-x11wsegl-es2 ${PN}-x11wsegl-es3 ${PN}-x11wsegl-es5 ${PN}-x11wsegl-es6 ${PN}-x11wsegl-es8"
+FILES_${PN}-driwsegl-es2 = "${libdir}/ES2*/libpvrPVR2D_DRIWSEGL.so.*"
+FILES_${PN}-driwsegl-es3 = "${libdir}/ES3*/libpvrPVR2D_DRIWSEGL.so.*"
+FILES_${PN}-driwsegl-es5 = "${libdir}/ES5*/libpvrPVR2D_DRIWSEGL.so.*"
+FILES_${PN}-driwsegl-es6 = "${libdir}/ES6*/libpvrPVR2D_DRIWSEGL.so.*"
+FILES_${PN}-driwsegl-es8 = "${libdir}/ES8*/libpvrPVR2D_DRIWSEGL.so.*"
+RRECOMMENDS_${PN}-driwsegl = " ${PN}-driwsegl-es2 ${PN}-driwsegl-es3 ${PN}-driwsegl-es5 ${PN}-driwsegl-es6 ${PN}-driwsegl-es8"
+
CONFFILES_${PN} = "${sysconfdir}/powervr.ini"
FILES_${PN} = "${sysconfdir} ${libdir}/lib*.so.* ${libdir}/ES*/* ${bindir}/pvrsrvinit ${bindir}/cputype ${bindir}/*/*"
--
1.7.2.5
^ permalink raw reply related [flat|nested] 17+ messages in thread* [PATCH 4/7] libgles-omap3: install X11 windowing system for newer SDK releases as well
2012-01-23 14:18 [PATCH 0/7] SGX recipe rework Koen Kooi
` (2 preceding siblings ...)
2012-01-23 14:18 ` [PATCH 3/7] libgles-omap3: package DRI windowing system as well Koen Kooi
@ 2012-01-23 14:18 ` Koen Kooi
2012-01-23 14:18 ` [PATCH 5/7] libgles-omap3: adjust packaging for all windowing systems to remove the magic esrev file Koen Kooi
` (4 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: Koen Kooi @ 2012-01-23 14:18 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
recipes-graphics/libgles/libgles-omap3.inc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
index 9bd801c..289b7d5 100644
--- a/recipes-graphics/libgles/libgles-omap3.inc
+++ b/recipes-graphics/libgles/libgles-omap3.inc
@@ -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 = "r20"
+PR = "r21"
COMPATIBLE_MACHINE = "(omap3|ti816x|ti33x)"
@@ -136,6 +136,7 @@ do_install () {
install -m 0755 ${BINLOCATION}/xgles1test1 ${D}${bindir}/
install -m 0755 ${BINLOCATION}/freedesktop/kdrive/usr/X11R6_SGX/bin/Xsgx ${D}${bindir}/|| true
+ cp -pPR ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/lib/*X11WS* ${D}${libdir} || true
install -d ${D}${includedir}
cp -pPR ${S}/GFX_Linux_KM/include4 ${D}${includedir}/
--
1.7.2.5
^ permalink raw reply related [flat|nested] 17+ messages in thread* [PATCH 5/7] libgles-omap3: adjust packaging for all windowing systems to remove the magic esrev file
2012-01-23 14:18 [PATCH 0/7] SGX recipe rework Koen Kooi
` (3 preceding siblings ...)
2012-01-23 14:18 ` [PATCH 4/7] libgles-omap3: install X11 windowing system for newer SDK releases " Koen Kooi
@ 2012-01-23 14:18 ` Koen Kooi
2012-01-23 20:02 ` Denys Dmytriyenko
2012-01-23 14:18 ` [PATCH 6/7] omap3-sgx-modules: add 4.05.00.03 Koen Kooi
` (3 subsequent siblings)
8 siblings, 1 reply; 17+ messages in thread
From: Koen Kooi @ 2012-01-23 14:18 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
recipes-graphics/libgles/libgles-omap3.inc | 29 ++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
index 289b7d5..722ac13 100644
--- a/recipes-graphics/libgles/libgles-omap3.inc
+++ b/recipes-graphics/libgles/libgles-omap3.inc
@@ -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 = "r21"
+PR = "r22"
COMPATIBLE_MACHINE = "(omap3|ti816x|ti33x)"
@@ -325,6 +325,7 @@ INSANE_SKIP_${PN}-flipwsegl = "ldflags"
INSANE_SKIP_${PN}-frontwsegl = "ldflags"
INSANE_SKIP_${PN}-linuxfbwsegl = "ldflags"
INSANE_SKIP_${PN}-x11wsegl = "ldflags dev-so"
+INSANE_SKIP_${PN}-driwsegl = "ldflags dev-so"
INSANE_SKIP_${PN}-tests = "ldflags"
INSANE_SKIP_xserver-kdrive-powervrsgx = "ldflags"
@@ -339,8 +340,32 @@ INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ."
# Append to update-rc.d postinst
pkg_postinst_${PN}_append() {
-rm -f /etc/powervr-esrev
+rm -f ${sysconfdir}/powervr-esrev
ln -sf /usr/lib/libXdmcp.so.6.0.0 /usr/lib/libXdmcp.so.0
ln -sf /usr/lib/libXau.so.6.0.0 /usr/lib/libXau.so.0
}
+
+pkg_postinst_${PN}-blitwsegl() {
+rm -f ${sysconfdir}/powervr-esrev
+}
+
+pkg_postinst_${PN}-flipwsegl() {
+rm -f ${sysconfdir}/powervr-esrev
+}
+
+pkg_postinst_${PN}-frontwsegl() {
+rm -f ${sysconfdir}/powervr-esrev
+}
+pkg_postinst_${PN}-linuxfbwsegl() {
+rm -f ${sysconfdir}/powervr-esrev
+}
+
+pkg_postinst_${PN}-x11wsegl() {
+rm -f ${sysconfdir}/powervr-esrev
+}
+
+pkg_postinst_${PN}-driwsegl() {
+rm -f ${sysconfdir}/powervr-esrev
+}
+
--
1.7.2.5
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [PATCH 5/7] libgles-omap3: adjust packaging for all windowing systems to remove the magic esrev file
2012-01-23 14:18 ` [PATCH 5/7] libgles-omap3: adjust packaging for all windowing systems to remove the magic esrev file Koen Kooi
@ 2012-01-23 20:02 ` Denys Dmytriyenko
0 siblings, 0 replies; 17+ messages in thread
From: Denys Dmytriyenko @ 2012-01-23 20:02 UTC (permalink / raw)
To: Koen Kooi; +Cc: meta-ti
On Mon, Jan 23, 2012 at 03:18:27PM +0100, Koen Kooi wrote:
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
> recipes-graphics/libgles/libgles-omap3.inc | 29 ++++++++++++++++++++++++++-
> 1 files changed, 27 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
> index 289b7d5..722ac13 100644
> --- a/recipes-graphics/libgles/libgles-omap3.inc
> +++ b/recipes-graphics/libgles/libgles-omap3.inc
> @@ -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 = "r21"
> +PR = "r22"
>
> COMPATIBLE_MACHINE = "(omap3|ti816x|ti33x)"
>
> @@ -325,6 +325,7 @@ INSANE_SKIP_${PN}-flipwsegl = "ldflags"
> INSANE_SKIP_${PN}-frontwsegl = "ldflags"
> INSANE_SKIP_${PN}-linuxfbwsegl = "ldflags"
> INSANE_SKIP_${PN}-x11wsegl = "ldflags dev-so"
> +INSANE_SKIP_${PN}-driwsegl = "ldflags dev-so"
While we can argue this entire patch can be squashed with #3, the above line
definitely belongs to #3, when split this way...
--
Denys
> INSANE_SKIP_${PN}-tests = "ldflags"
> INSANE_SKIP_xserver-kdrive-powervrsgx = "ldflags"
>
> @@ -339,8 +340,32 @@ INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ."
>
> # Append to update-rc.d postinst
> pkg_postinst_${PN}_append() {
> -rm -f /etc/powervr-esrev
> +rm -f ${sysconfdir}/powervr-esrev
>
> ln -sf /usr/lib/libXdmcp.so.6.0.0 /usr/lib/libXdmcp.so.0
> ln -sf /usr/lib/libXau.so.6.0.0 /usr/lib/libXau.so.0
> }
> +
> +pkg_postinst_${PN}-blitwsegl() {
> +rm -f ${sysconfdir}/powervr-esrev
> +}
> +
> +pkg_postinst_${PN}-flipwsegl() {
> +rm -f ${sysconfdir}/powervr-esrev
> +}
> +
> +pkg_postinst_${PN}-frontwsegl() {
> +rm -f ${sysconfdir}/powervr-esrev
> +}
> +pkg_postinst_${PN}-linuxfbwsegl() {
> +rm -f ${sysconfdir}/powervr-esrev
> +}
> +
> +pkg_postinst_${PN}-x11wsegl() {
> +rm -f ${sysconfdir}/powervr-esrev
> +}
> +
> +pkg_postinst_${PN}-driwsegl() {
> +rm -f ${sysconfdir}/powervr-esrev
> +}
> +
> --
> 1.7.2.5
>
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 6/7] omap3-sgx-modules: add 4.05.00.03
2012-01-23 14:18 [PATCH 0/7] SGX recipe rework Koen Kooi
` (4 preceding siblings ...)
2012-01-23 14:18 ` [PATCH 5/7] libgles-omap3: adjust packaging for all windowing systems to remove the magic esrev file Koen Kooi
@ 2012-01-23 14:18 ` Koen Kooi
2012-01-23 19:58 ` Denys Dmytriyenko
2012-01-23 14:18 ` [PATCH 7/7] libgles-omap3: " Koen Kooi
` (2 subsequent siblings)
8 siblings, 1 reply; 17+ messages in thread
From: Koen Kooi @ 2012-01-23 14:18 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
....16.3977.bb => omap3-sgx-modules_4.05.00.03.bb} | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
copy recipes-bsp/powervr-drivers/{omap3-sgx-modules_1.6.16.3977.bb => omap3-sgx-modules_4.05.00.03.bb} (81%)
diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
similarity index 81%
copy from recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb
copy to recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
index f37299d..cb3aba7 100644
--- a/recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb
+++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
@@ -5,8 +5,7 @@ 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"
+SGXPV = "4_05_00_03"
BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
inherit module
@@ -15,12 +14,9 @@ MACHINE_KERNEL_PR_append = "a"
PR = "${MACHINE_KERNEL_PR}"
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 \
- file://kernel-30.patch \
"
-SRC_URI[md5sum] = "ff8c1f2b8e4cb42f4ced6a613b081ada"
-SRC_URI[sha256sum] = "cdb0bd3964e107733d632aa8224e0537b05c1ffac34befc036423458c8d75255"
-
+SRC_URI[md5sum] = "0e651eaa92bb91760f0b40a17697a7dc"
+SRC_URI[sha256sum] = "bfe764a8959556195545d6fff76f63a489642f345c105bbbc309a3f243c2dd0e"
S = "${WORKDIR}/Graphics_SDK_${SGXPV}/GFX_Linux_KM"
PVRBUILD = "release"
@@ -30,9 +26,11 @@ PACKAGE_STRIP = "no"
TI_PLATFORM_omap3 = "omap3630"
TI_PLATFORM_ti816x = "ti81xx"
+TI_PLATFORM_ti33x = "ti335x"
MODULESLOCATION_omap3 = "dc_omap3430_linux"
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
+MODULESLOCATION_ti33x = "dc_ti335x_linux"
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"
--
1.7.2.5
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [PATCH 6/7] omap3-sgx-modules: add 4.05.00.03
2012-01-23 14:18 ` [PATCH 6/7] omap3-sgx-modules: add 4.05.00.03 Koen Kooi
@ 2012-01-23 19:58 ` Denys Dmytriyenko
0 siblings, 0 replies; 17+ messages in thread
From: Denys Dmytriyenko @ 2012-01-23 19:58 UTC (permalink / raw)
To: Koen Kooi; +Cc: meta-ti
On Mon, Jan 23, 2012 at 03:18:28PM +0100, Koen Kooi wrote:
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
> ....16.3977.bb => omap3-sgx-modules_4.05.00.03.bb} | 12 +++++-------
> 1 files changed, 5 insertions(+), 7 deletions(-)
> copy recipes-bsp/powervr-drivers/{omap3-sgx-modules_1.6.16.3977.bb => omap3-sgx-modules_4.05.00.03.bb} (81%)
>
> diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
> similarity index 81%
> copy from recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb
> copy to recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
> index f37299d..cb3aba7 100644
> --- a/recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb
> +++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
> @@ -5,8 +5,7 @@ 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"
> +SGXPV = "4_05_00_03"
> BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
>
> inherit module
> @@ -15,12 +14,9 @@ MACHINE_KERNEL_PR_append = "a"
> PR = "${MACHINE_KERNEL_PR}"
>
> 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 \
> - file://kernel-30.patch \
> "
> -SRC_URI[md5sum] = "ff8c1f2b8e4cb42f4ced6a613b081ada"
> -SRC_URI[sha256sum] = "cdb0bd3964e107733d632aa8224e0537b05c1ffac34befc036423458c8d75255"
> -
> +SRC_URI[md5sum] = "0e651eaa92bb91760f0b40a17697a7dc"
> +SRC_URI[sha256sum] = "bfe764a8959556195545d6fff76f63a489642f345c105bbbc309a3f243c2dd0e"
> S = "${WORKDIR}/Graphics_SDK_${SGXPV}/GFX_Linux_KM"
>
> PVRBUILD = "release"
> @@ -30,9 +26,11 @@ PACKAGE_STRIP = "no"
>
> TI_PLATFORM_omap3 = "omap3630"
> TI_PLATFORM_ti816x = "ti81xx"
> +TI_PLATFORM_ti33x = "ti335x"
This seems slightly outdated - can you please merge the latest changes from
Arago from few weeks ago to enable ti814x as well? Thanks.
--
Denys
> MODULESLOCATION_omap3 = "dc_omap3430_linux"
> MODULESLOCATION_ti816x = "dc_ti81xx_linux"
> +MODULESLOCATION_ti33x = "dc_ti335x_linux"
>
> MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"
>
> --
> 1.7.2.5
>
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH 7/7] libgles-omap3: add 4.05.00.03
2012-01-23 14:18 [PATCH 0/7] SGX recipe rework Koen Kooi
` (5 preceding siblings ...)
2012-01-23 14:18 ` [PATCH 6/7] omap3-sgx-modules: add 4.05.00.03 Koen Kooi
@ 2012-01-23 14:18 ` Koen Kooi
2012-01-23 14:20 ` [PATCH 0/7] SGX recipe rework Koen Kooi
2012-01-23 19:27 ` Denys Dmytriyenko
8 siblings, 0 replies; 17+ messages in thread
From: Koen Kooi @ 2012-01-23 14:18 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
...3_4.03.00.02.bb => libgles-omap3_4.05.00.03.bb} | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
copy recipes-graphics/libgles/{libgles-omap3_4.03.00.02.bb => libgles-omap3_4.05.00.03.bb} (68%)
diff --git a/recipes-graphics/libgles/libgles-omap3_4.03.00.02.bb b/recipes-graphics/libgles/libgles-omap3_4.05.00.03.bb
similarity index 68%
copy from recipes-graphics/libgles/libgles-omap3_4.03.00.02.bb
copy to recipes-graphics/libgles/libgles-omap3_4.05.00.03.bb
index f605ec0..0092221 100644
--- a/recipes-graphics/libgles/libgles-omap3_4.03.00.02.bb
+++ b/recipes-graphics/libgles/libgles-omap3_4.05.00.03.bb
@@ -1,10 +1,6 @@
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"
+BINLOCATION_ti33x = "${S}/gfx_rel_es8.x"
require libgles-omap3.inc
@@ -12,8 +8,8 @@ require libgles-omap3.inc
# 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"
+SGXPV = "4_05_00_03"
+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 \
@@ -23,8 +19,8 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gf
file://99-bufferclass.rules \
"
-SRC_URI[md5sum] = "ff8c1f2b8e4cb42f4ced6a613b081ada"
-SRC_URI[sha256sum] = "cdb0bd3964e107733d632aa8224e0537b05c1ffac34befc036423458c8d75255"
+SRC_URI[md5sum] = "0e651eaa92bb91760f0b40a17697a7dc"
+SRC_URI[sha256sum] = "bfe764a8959556195545d6fff76f63a489642f345c105bbbc309a3f243c2dd0e"
S = "${WORKDIR}/Graphics_SDK_${SGXPV}"
--
1.7.2.5
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [PATCH 0/7] SGX recipe rework
2012-01-23 14:18 [PATCH 0/7] SGX recipe rework Koen Kooi
` (6 preceding siblings ...)
2012-01-23 14:18 ` [PATCH 7/7] libgles-omap3: " Koen Kooi
@ 2012-01-23 14:20 ` Koen Kooi
2012-01-23 16:52 ` Andreas Müller
2012-01-23 19:27 ` Denys Dmytriyenko
8 siblings, 1 reply; 17+ messages in thread
From: Koen Kooi @ 2012-01-23 14:20 UTC (permalink / raw)
To: meta-ti
Op 23 jan. 2012, om 15:18 heeft Koen Kooi het volgende geschreven:
> This series reworks the packaging of the sgx recipes in the following ways:
>
> 1) all the es 'versions' are now subpackaged in to PN-foo-es<version and PN-foo RRECOMMENDS all of them
> 2) the DRI WS is now packaged as well
> 3) For recent SDKs the X11 WS is packaged, but nothing is done to shuffle the base libraries around
> 4) all the PN-foo subpackages remove /etc/powervr-esrev to trigger the relocation code
> 5) the initscript doesn't depend in the the 'initscripts' package anymore making use work in a systemd world as well as a sysvinit world.
>
> The most noticable effect is that user can now deinstall (e.g. using BAD_RECOMMENDATIONS) all the es 'versions' they don't need saving a few megabytes of space.
>
> Koen Kooi (7):
> libgles-omap3: split support for ES revisions into subpackages where
> possible
> libgles-omap3: merge in updates from arago
> libgles-omap3: package DRI windowing system as well
> libgles-omap3: install X11 windowing system for newer SDK releases as
> well
> libgles-omap3: adjust packaging for all windowing systems to remove
> the magic esrev file
> omap3-sgx-modules: add 4.05.00.03
> libgles-omap3: add 4.05.00.03
And you can find it as a git branch at http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/log/?h=sgx-rework
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [PATCH 0/7] SGX recipe rework
2012-01-23 14:20 ` [PATCH 0/7] SGX recipe rework Koen Kooi
@ 2012-01-23 16:52 ` Andreas Müller
2012-01-23 16:55 ` Koen Kooi
0 siblings, 1 reply; 17+ messages in thread
From: Andreas Müller @ 2012-01-23 16:52 UTC (permalink / raw)
To: meta-ti
On Monday, January 23, 2012 03:20:05 PM Koen Kooi wrote:
> Op 23 jan. 2012, om 15:18 heeft Koen Kooi het volgende geschreven:
> > This series reworks the packaging of the sgx recipes in the following
> > ways:
> >
> > 1) all the es 'versions' are now subpackaged in to PN-foo-es<version and
> > PN-foo RRECOMMENDS all of them 2) the DRI WS is now packaged as well
> > 3) For recent SDKs the X11 WS is packaged, but nothing is done to shuffle
> > the base libraries around 4) all the PN-foo subpackages remove
> > /etc/powervr-esrev to trigger the relocation code 5) the initscript
> > doesn't depend in the the 'initscripts' package anymore making use work
> > in a systemd world as well as a sysvinit world.
> >
> > The most noticable effect is that user can now deinstall (e.g. using
> > BAD_RECOMMENDATIONS) all the es 'versions' they don't need saving a few
> > megabytes of space.
> >
> > Koen Kooi (7):
> > libgles-omap3: split support for ES revisions into subpackages where
> >
> > possible
> >
> > libgles-omap3: merge in updates from arago
> > libgles-omap3: package DRI windowing system as well
> > libgles-omap3: install X11 windowing system for newer SDK releases as
> >
> > well
> >
> > libgles-omap3: adjust packaging for all windowing systems to remove
> >
> > the magic esrev file
> >
> > omap3-sgx-modules: add 4.05.00.03
> > libgles-omap3: add 4.05.00.03
>
> And you can find it as a git branch at
> http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstrument
> s/log/?h=sgx-rework _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
I checked out that branch, build omap3-sgx-modules and get
WARNING: /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-
gnueabi/omap3-sgx-modules-4.05.00.03-
r115a/Graphics_SDK_4_05_00_03/GFX_Linux_KM/COPYING could not be copied for
some reason. It may not exist. WARN for now.
ERROR: Function failed: omap3-sgx-modules: LIC_FILES_CHKSUM points to an
invalid file: /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-
gnueabi/omap3-sgx-modules-4.05.00.03-
r115a/Graphics_SDK_4_05_00_03/GFX_Linux_KM/COPYING
ERROR: Logfile of failure stored in: /home/andreas/tmp/oe-core-
eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-
r115a/temp/log.do_configure.17459
Log data follows:
| NOTE: Checking autotools environment for common misconfiguration
| ERROR: Function failed: omap3-sgx-modules: LIC_FILES_CHKSUM points to an
invalid file: /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-
gnueabi/omap3-sgx-modules-4.05.00.03-
r115a/Graphics_SDK_4_05_00_03/GFX_Linux_KM/COPYING
| + cd /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-
gnueabi/omap3-sgx-modules-4.05.00.03-
r115a/Graphics_SDK_4_05_00_03/GFX_Linux_KM
| + do_configure
| + base_do_configure
| + :
NOTE: package omap3-sgx-modules-4.05.00.03-r115a: task do_configure: Failed
The error is a bit different from [1] but reason is same: workdir only contains
an empty folder GFX_Linux_KM. The error is different only because there are no
more patches to apply. In do_unpack I see
NOTE: Unpacking
/home/andreas/data/Downloads/packets/dl/Graphics_SDK_setuplinux_4_05_00_03.bin
to /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-
sgx-modules-4.05.00.03-r115a/
Interesting: At console I moved into workdir and entered
./Graphics_SDK_setuplinux_4_05_00_03.bin -> nothing happened and I get return
value 127. Is there some packet which needs installation on my build hosts?
Andreas
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 0/7] SGX recipe rework
2012-01-23 16:52 ` Andreas Müller
@ 2012-01-23 16:55 ` Koen Kooi
2012-01-23 18:46 ` Andreas Müller
0 siblings, 1 reply; 17+ messages in thread
From: Koen Kooi @ 2012-01-23 16:55 UTC (permalink / raw)
To: Andreas Müller; +Cc: meta-ti
Op 23 jan. 2012, om 17:52 heeft Andreas Müller het volgende geschreven:
> On Monday, January 23, 2012 03:20:05 PM Koen Kooi wrote:
>> Op 23 jan. 2012, om 15:18 heeft Koen Kooi het volgende geschreven:
>>> This series reworks the packaging of the sgx recipes in the following
>>> ways:
>>>
>>> 1) all the es 'versions' are now subpackaged in to PN-foo-es<version and
>>> PN-foo RRECOMMENDS all of them 2) the DRI WS is now packaged as well
>>> 3) For recent SDKs the X11 WS is packaged, but nothing is done to shuffle
>>> the base libraries around 4) all the PN-foo subpackages remove
>>> /etc/powervr-esrev to trigger the relocation code 5) the initscript
>>> doesn't depend in the the 'initscripts' package anymore making use work
>>> in a systemd world as well as a sysvinit world.
>>>
>>> The most noticable effect is that user can now deinstall (e.g. using
>>> BAD_RECOMMENDATIONS) all the es 'versions' they don't need saving a few
>>> megabytes of space.
>>>
>>> Koen Kooi (7):
>>> libgles-omap3: split support for ES revisions into subpackages where
>>>
>>> possible
>>>
>>> libgles-omap3: merge in updates from arago
>>> libgles-omap3: package DRI windowing system as well
>>> libgles-omap3: install X11 windowing system for newer SDK releases as
>>>
>>> well
>>>
>>> libgles-omap3: adjust packaging for all windowing systems to remove
>>>
>>> the magic esrev file
>>>
>>> omap3-sgx-modules: add 4.05.00.03
>>> libgles-omap3: add 4.05.00.03
>>
>> And you can find it as a git branch at
>> http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstrument
>> s/log/?h=sgx-rework _______________________________________________
>> meta-ti mailing list
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti
> I checked out that branch, build omap3-sgx-modules and get
>
> WARNING: /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-
> gnueabi/omap3-sgx-modules-4.05.00.03-
> r115a/Graphics_SDK_4_05_00_03/GFX_Linux_KM/COPYING could not be copied for
> some reason. It may not exist. WARN for now.
> ERROR: Function failed: omap3-sgx-modules: LIC_FILES_CHKSUM points to an
> invalid file: /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-
> gnueabi/omap3-sgx-modules-4.05.00.03-
> r115a/Graphics_SDK_4_05_00_03/GFX_Linux_KM/COPYING
> ERROR: Logfile of failure stored in: /home/andreas/tmp/oe-core-
> eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules-4.05.00.03-
> r115a/temp/log.do_configure.17459
> Log data follows:
> | NOTE: Checking autotools environment for common misconfiguration
> | ERROR: Function failed: omap3-sgx-modules: LIC_FILES_CHKSUM points to an
> invalid file: /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-
> gnueabi/omap3-sgx-modules-4.05.00.03-
> r115a/Graphics_SDK_4_05_00_03/GFX_Linux_KM/COPYING
> | + cd /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-
> gnueabi/omap3-sgx-modules-4.05.00.03-
> r115a/Graphics_SDK_4_05_00_03/GFX_Linux_KM
> | + do_configure
> | + base_do_configure
> | + :
> NOTE: package omap3-sgx-modules-4.05.00.03-r115a: task do_configure: Failed
>
> The error is a bit different from [1] but reason is same: workdir only contains
> an empty folder GFX_Linux_KM.
Right, you need 32 bit libs installed for installjammer to work
> The error is different only because there are no
> more patches to apply. In do_unpack I see
>
> NOTE: Unpacking
> /home/andreas/data/Downloads/packets/dl/Graphics_SDK_setuplinux_4_05_00_03.bin
> to /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-
> sgx-modules-4.05.00.03-r115a/
>
> Interesting: At console I moved into workdir and entered
> ./Graphics_SDK_setuplinux_4_05_00_03.bin -> nothing happened and I get return
> value 127. Is there some packet which needs installation on my build hosts?
On fedora: yum install glibc.i686
regards,
Koen
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 0/7] SGX recipe rework
2012-01-23 16:55 ` Koen Kooi
@ 2012-01-23 18:46 ` Andreas Müller
2012-01-23 19:00 ` Denys Dmytriyenko
0 siblings, 1 reply; 17+ messages in thread
From: Andreas Müller @ 2012-01-23 18:46 UTC (permalink / raw)
To: Koen Kooi; +Cc: meta-ti
On Monday, January 23, 2012 05:55:07 PM Koen Kooi wrote:
> Right, you need 32 bit libs installed for installjammer to work
>
> On fedora: yum install glibc.i686
>
Fixed build here. Thanks! Will run test in the next days.
Ehm - aren't there few tricky lines of code available, informing user of missing
packets and abort then?
Andreas
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 0/7] SGX recipe rework
2012-01-23 18:46 ` Andreas Müller
@ 2012-01-23 19:00 ` Denys Dmytriyenko
0 siblings, 0 replies; 17+ messages in thread
From: Denys Dmytriyenko @ 2012-01-23 19:00 UTC (permalink / raw)
To: Andreas M?ller; +Cc: meta-ti
On Mon, Jan 23, 2012 at 07:46:48PM +0100, Andreas M?ller wrote:
> On Monday, January 23, 2012 05:55:07 PM Koen Kooi wrote:
> > Right, you need 32 bit libs installed for installjammer to work
> >
> > On fedora: yum install glibc.i686
> >
> Fixed build here. Thanks! Will run test in the next days.
>
> Ehm - aren't there few tricky lines of code available, informing user of missing
> packets and abort then?
Correct, sanity.bbclass
There is a code to test for 64/32-bit libs/headers in oe-core, which can be
extended to test for the above...
--
Denys
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH 0/7] SGX recipe rework
2012-01-23 14:18 [PATCH 0/7] SGX recipe rework Koen Kooi
` (7 preceding siblings ...)
2012-01-23 14:20 ` [PATCH 0/7] SGX recipe rework Koen Kooi
@ 2012-01-23 19:27 ` Denys Dmytriyenko
8 siblings, 0 replies; 17+ messages in thread
From: Denys Dmytriyenko @ 2012-01-23 19:27 UTC (permalink / raw)
To: Koen Kooi; +Cc: meta-ti
On Mon, Jan 23, 2012 at 03:18:22PM +0100, Koen Kooi wrote:
> This series reworks the packaging of the sgx recipes in the following ways:
>
> 1) all the es 'versions' are now subpackaged in to PN-foo-es<version and PN-foo RRECOMMENDS all of them
> 2) the DRI WS is now packaged as well
> 3) For recent SDKs the X11 WS is packaged, but nothing is done to shuffle the base libraries around
> 4) all the PN-foo subpackages remove /etc/powervr-esrev to trigger the relocation code
> 5) the initscript doesn't depend in the the 'initscripts' package anymore making use work in a systemd world as well as a sysvinit world.
>
> The most noticable effect is that user can now deinstall (e.g. using
> BAD_RECOMMENDATIONS) all the es 'versions' they don't need saving a few
> megabytes of space.
So, is BAD_RECOMMENDATIONS still broken or was it fixed in latest BitBake?
--
Denys
> Koen Kooi (7):
> libgles-omap3: split support for ES revisions into subpackages where
> possible
> libgles-omap3: merge in updates from arago
> libgles-omap3: package DRI windowing system as well
> libgles-omap3: install X11 windowing system for newer SDK releases as
> well
> libgles-omap3: adjust packaging for all windowing systems to remove
> the magic esrev file
> omap3-sgx-modules: add 4.05.00.03
> libgles-omap3: add 4.05.00.03
>
> ....16.3977.bb => omap3-sgx-modules_4.05.00.03.bb} | 12 +-
> recipes-graphics/libgles/libgles-omap3.inc | 119 +++++++++++++++++---
> recipes-graphics/libgles/libgles-omap3/cputype | 10 ++-
> recipes-graphics/libgles/libgles-omap3/rc.pvr | 29 ++++-
> ...3_4.03.00.02.bb => libgles-omap3_4.05.00.03.bb} | 14 +--
> 5 files changed, 145 insertions(+), 39 deletions(-)
> copy recipes-bsp/powervr-drivers/{omap3-sgx-modules_1.6.16.3977.bb => omap3-sgx-modules_4.05.00.03.bb} (81%)
> copy recipes-graphics/libgles/{libgles-omap3_4.03.00.02.bb => libgles-omap3_4.05.00.03.bb} (68%)
>
> --
> 1.7.2.5
>
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
^ permalink raw reply [flat|nested] 17+ messages in thread