SGX recipe rework
cover SGX recipe rework
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
....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%)Signature · 1 line
1.7.2.5
PATCH 1/7 libgles-omap3: split support for ES revisions into subpackages where possible
This allows deinstalling ES revisions which aren't wanted on your target.
--- recipes-graphics/libgles/libgles-omap3.inc | 57 +++++++++++++++++++++++++--- 1 files changed, 51 insertions(+), 6 deletions(-)
recipes-graphics/libgles/libgles-omap3.inc +51 -6
@@ -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/* \
Signature · 1 line
1.7.2.5
PATCH 2/7 libgles-omap3: merge in updates from arago
In reply to Koen Kooi* ES3.x do_install fix
* AM335x support
And one non-arago fix: break dependency on 'initscripts' package
--- 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(-)
recipes-graphics/libgles/libgles-omap3.inc +18 -8
@@ -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}/*/*"
recipes-graphics/libgles/libgles-omap3/cputype +8 -2
@@ -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
recipes-graphics/libgles/libgles-omap3/rc.pvr +23 -6
@@ -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 - -
Signature · 1 line
1.7.2.5
PATCH 3/7 libgles-omap3: package DRI windowing system as well
In reply to Koen Kooi--- recipes-graphics/libgles/libgles-omap3.inc | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-)
recipes-graphics/libgles/libgles-omap3.inc +10 -2
@@ -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}/*/*"
Signature · 1 line
1.7.2.5
PATCH 4/7 libgles-omap3: install X11 windowing system for newer SDK releases as well
In reply to Koen Kooi--- recipes-graphics/libgles/libgles-omap3.inc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
recipes-graphics/libgles/libgles-omap3.inc +2 -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 = "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}/
Signature · 1 line
1.7.2.5
PATCH 5/7 libgles-omap3: adjust packaging for all windowing systems to remove the magic esrev file
In reply to Koen Kooi--- recipes-graphics/libgles/libgles-omap3.inc | 29 ++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 2 deletions(-)
recipes-graphics/libgles/libgles-omap3.inc +27 -2
@@ -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 +} +
Signature · 1 line
1.7.2.5
Re: [PATCH 5/7] libgles-omap3: adjust packaging for all windowing systems to remove the magic esrev file
Quoted 19 lines · Koen Kooi
Signed-off-by Koen Kooi <[email protected]>--- recipes-graphics/libgles/libgles-omap3.inc | 29 ++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 2 deletions(-)recipes-graphics/libgles/libgles-omap3.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 = "r21" +PR = "r22" COMPATIBLE_MACHINE = "(omap3|ti816x|ti33x)"
recipes-graphics/libgles/libgles-omap3.inc INSANE_SKIP_${PN}-flipwsegl = "ldflags" · line 328
Quoted 4 lines
recipes-graphics/libgles/libgles-omap3.inc +1
-0@@ -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...
Signature · 1 line
Denys
Quoted 45 lines
recipes-graphics/libgles/libgles-omap3.inc +25
-1INSANE_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 +} +Signature · 6 lines
1.7.2.5 _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
PATCH 6/7 omap3-sgx-modules: add 4.05.00.03
In reply to Koen Kooi---
....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%)recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb renamed from recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb +5 -7
@@ -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}"
Signature · 1 line
1.7.2.5
Re: [PATCH 6/7] omap3-sgx-modules: add 4.05.00.03
Quoted 39 lines · Koen Kooi
Signed-off-by Koen Kooi <[email protected]>--- ....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%)recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb renamed from recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb +3
-7@@ -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"
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb PACKAGE_STRIP = "no" · line 29
Quoted 4 lines
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb renamed from recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb +1
-0@@ -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.
Signature · 1 line
Denys
Quoted 14 lines
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb renamed from recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb +1
-0MODULESLOCATION_omap3 = "dc_omap3430_linux" MODULESLOCATION_ti816x = "dc_ti81xx_linux" +MODULESLOCATION_ti33x = "dc_ti335x_linux" MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"Signature · 6 lines
1.7.2.5 _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
PATCH 7/7 libgles-omap3: add 4.05.00.03
In reply to Koen Kooi---
...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%)recipes-graphics/libgles/libgles-omap3_4.05.00.03.bb renamed from recipes-graphics/libgles/libgles-omap3_4.03.00.02.bb +5 -9
@@ -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}"
Signature · 1 line
1.7.2.5
Op 23 jan. 2012, om 15:18 heeft Koen Kooi het volgende geschreven:
Quoted 10 lines
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-esrevto 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.
Quoted 11 lines
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
Quoted 34 lines · Koen Kooi
Op 23 jan. 2012, om 15:18 heeft Koen Kooi het volgende geschreven:
Quoted 24 lines
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-esrevto 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 wherepossible
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 asQuoted 8 lines
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
Quoted 6 lines
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
[email protected]
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
Op 23 jan. 2012, om 17:52 heeft Andreas Müller het volgende geschreven:
Quoted 63 lines · Koen Kooi
Quoted 34 lines
Op 23 jan. 2012, om 15:18 heeft Koen Kooi het volgende geschreven:
Quoted 24 lines
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-esrevto 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 wherepossible
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 asQuoted 8 lines
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.03Quoted 6 lines
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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-tiI 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_CHKSUMpoints 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_CHKSUMpoints 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
Quoted 7 lines
| + do_configure | + base_do_configure | + :NOTE: package omap3-sgx-modules-4.05.00.03-r115a: task
do_configure: FailedThe 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
Quoted 11 lines
The error is different only because there are no
more patches to apply. Indo_unpackI seeNOTE: Unpacking
/home/andreas/data/Downloads/packets/dl/Graphics_SDK_setuplinux_4_05_00_03.binto/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
Quoted 4 lines · Koen Kooi
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
Quoted 9 lines · Andreas M?ller
Quoted 4 lines · Koen Kooi
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...
Signature · 1 line
Denys
Quoted 11 lines · Koen Kooi
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-esrevto 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?
Signature · 1 line
Denys
Quoted 29 lines
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%)Signature · 6 lines
1.7.2.5 _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti