All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2 v2] libgles-omap3: Add v4.08.00.01 of the Graphics SDK
@ 2013-02-06  6:57 fcooperjr27
  2013-02-06  6:57 ` [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules fcooperjr27
  0 siblings, 1 reply; 10+ messages in thread
From: fcooperjr27 @ 2013-02-06  6:57 UTC (permalink / raw)
  To: meta-ti

From: Franklin S. Cooper Jr <fcooper@ti.com>

* Add version v4.08.00.01 of the Graphics SDK.
* Add X11 support via DRI/DRM Xorg driver
* Replace pvrsrvinit with pvrsrvctl (Imagination Technologies based change)

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
Version 2:
Update SRC_URI link to use official SDK download link

 .../libgles/libgles-omap3-4.08.00.01/rc.pvr        |  124 ++++++++++++++++++
 .../libgles/libgles-omap3-4.08.00.01/rc_dri.pvr    |  136 ++++++++++++++++++++
 .../libgles/libgles-omap3_4.08.00.01.bb            |   76 +++++++++++
 3 files changed, 336 insertions(+), 0 deletions(-)
 create mode 100755 recipes-graphics/libgles/libgles-omap3-4.08.00.01/rc.pvr
 create mode 100755 recipes-graphics/libgles/libgles-omap3-4.08.00.01/rc_dri.pvr
 create mode 100644 recipes-graphics/libgles/libgles-omap3_4.08.00.01.bb

diff --git a/recipes-graphics/libgles/libgles-omap3-4.08.00.01/rc.pvr b/recipes-graphics/libgles/libgles-omap3-4.08.00.01/rc.pvr
new file mode 100755
index 0000000..7b5cefa
--- /dev/null
+++ b/recipes-graphics/libgles/libgles-omap3-4.08.00.01/rc.pvr
@@ -0,0 +1,124 @@
+#!/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}')"
+
+CPUTYPE="$(cputype)"
+
+if [ "$1" = "" ]; then
+	echo PVR-INIT: Please use start, stop, or restart.
+	exit 1
+fi
+
+if [ "$1" = "stop" -o  "$1" = "restart" ]; then
+	echo Stopping PVR
+	rmmod bufferclass_ti
+	rmmod omaplfb 2>/dev/null
+	rmmod pvrsrvkm 2>/dev/null
+fi
+
+if [ "$1" = "stop" ]; then
+	exit 0
+fi
+
+# Set RGBA ordering to something the drivers like
+if [ "$BITSPERPIXEL" = "32" ] ; then
+	fbset -rgba 8/16,8/8,8/0,8/24
+fi
+
+# Try to enable triple buffering when there's enough VRAM
+fbset -vyres $(expr $YRES \* 3)
+
+sgxprepare () {
+	echo Starting PVR
+	insmod $(busybox find /lib/modules/$(uname -r) -name "pvrsrvkm.ko")
+
+    if [ "$?" != "0" ]
+    then
+        echo "Could not find pvrsrvkm driver"
+        exit 1
+    fi
+
+	modprobe omaplfb
+	modprobe bufferclass_ti
+
+	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
+		rm -f /dev/pvrsrvkm
+	fi
+
+	mknod /dev/pvrsrvkm c $pvr_maj 0
+	chmod 666 /dev/pvrsrvkm
+
+	touch /etc/powervr-esrev
+
+	SAVED_ESREVISION="$(cat /etc/powervr-esrev)"
+}
+
+sgxfinish () {
+	# Fix up a bug in opkg
+	if [ $(readlink /usr/lib/libsrv_um.so) != $(readlink /usr/lib/libsrv_um.so.1) ] ; then
+		cd /usr/lib
+		ln -sf $(readlink /usr/lib/libsrv_um.so.1) libsrv_um.so
+	fi
+
+	if [ "${ES_REVISION}" != "${SAVED_ESREVISION}" ] ; then
+		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
+		echo "${ES_REVISION}" > /etc/powervr-esrev
+	fi
+
+	if ! /usr/bin/pvrsrvctl --start --no-module; then return; fi 
+}
+
+case $CPUTYPE in
+"OMAP3530")
+	sgxprepare
+
+	devmem2 0x48004B48 w 0x2 > /dev/null
+	devmem2 0x48004B10 w 0x1 > /dev/null
+	devmem2 0x48004B00 w 0x2 > /dev/null
+
+	ES_REVISION="$(devmem2 0x50000014 | sed -e s:0x00010205:5: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')"
+
+	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
+
+	devmem2 0x48180F04 w 0x0 > /dev/null
+	devmem2 0x48180900 w 0x2 > /dev/null
+	devmem2 0x48180920 w 0x2 > /dev/null
+
+	ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:6: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')"
+
+	sgxfinish
+	;;
+*)
+	echo No SGX hardware, not starting PVR
+	;;
+esac
diff --git a/recipes-graphics/libgles/libgles-omap3-4.08.00.01/rc_dri.pvr b/recipes-graphics/libgles/libgles-omap3-4.08.00.01/rc_dri.pvr
new file mode 100755
index 0000000..dd1e942
--- /dev/null
+++ b/recipes-graphics/libgles/libgles-omap3-4.08.00.01/rc_dri.pvr
@@ -0,0 +1,136 @@
+#!/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}')"
+
+CPUTYPE="$(cputype)"
+
+if [ "$1" = "" ]; then
+	echo PVR-INIT: Please use start, stop, or restart.
+	exit 1
+fi
+
+if [ "$1" = "stop" -o  "$1" = "restart" ]; then
+	echo Stopping PVR
+
+	# Stop the X Server.
+	#
+	[ -f /tmp/.X0-lock ] && read XPID < /tmp/.X0-lock && [ -n "$XPID" ] && kill $XPID && while [ -e /proc/$XPID ] ; do sleep 1; done
+
+	rmmod bufferclass_ti
+	rmmod pvrsrvkm 2>/dev/null
+    rmmod drm 2>/dev/null
+fi
+
+if [ "$1" = "stop" ]; then
+	exit 0
+fi
+
+# Set RGBA ordering to something the drivers like
+if [ "$BITSPERPIXEL" = "32" ] ; then
+	fbset -rgba 8/16,8/8,8/0,8/24
+fi
+
+# Try to enable triple buffering when there's enough VRAM
+fbset -vyres $(expr $YRES \* 3)
+
+sgxprepare () {
+	echo Starting PVR
+
+	# Start the X Server. 
+	# The X Server will load the PVR Services module.
+	#
+	/usr/local/XSGX/bin/X -verbose -config /usr/local/XSGX/etc/xorg.conf &
+
+	modprobe drm
+
+	insmod $(busybox find /lib/modules/$(uname -r) -name "pvrsrvkm.ko")
+
+    if [ "$?" != "0" ]
+    then
+        echo "Could not find pvrsrvkm driver"
+        exit 1
+    fi
+
+	modprobe bufferclass_ti
+
+	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
+		rm -f /dev/pvrsrvkm
+	fi
+
+	mknod /dev/pvrsrvkm c $pvr_maj 0
+	chmod 666 /dev/pvrsrvkm
+
+	touch /etc/powervr-esrev
+
+	SAVED_ESREVISION="$(cat /etc/powervr-esrev)"
+}
+
+sgxfinish () {
+	# Fix up a bug in opkg
+	if [ $(readlink /usr/lib/libsrv_um.so) != $(readlink /usr/lib/libsrv_um.so.1) ] ; then
+		cd /usr/lib
+		ln -sf $(readlink /usr/lib/libsrv_um.so.1) libsrv_um.so
+	fi
+
+	if [ "${ES_REVISION}" != "${SAVED_ESREVISION}" ] ; then
+		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
+		echo "${ES_REVISION}" > /etc/powervr-esrev
+	fi
+
+	if ! /usr/bin/pvrsrvctl --start --no-module; then return; fi 
+}
+
+case $CPUTYPE in
+"OMAP3530")
+	sgxprepare
+
+	devmem2 0x48004B48 w 0x2 > /dev/null
+	devmem2 0x48004B10 w 0x1 > /dev/null
+	devmem2 0x48004B00 w 0x2 > /dev/null
+
+	ES_REVISION="$(devmem2 0x50000014 | sed -e s:0x00010205:5: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')"
+
+	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
+
+	devmem2 0x48180F04 w 0x0 > /dev/null
+	devmem2 0x48180900 w 0x2 > /dev/null
+	devmem2 0x48180920 w 0x2 > /dev/null
+
+	ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:6: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')"
+
+	sgxfinish
+	;;
+*)
+	echo No SGX hardware, not starting PVR
+	;;
+esac
diff --git a/recipes-graphics/libgles/libgles-omap3_4.08.00.01.bb b/recipes-graphics/libgles/libgles-omap3_4.08.00.01.bb
new file mode 100644
index 0000000..a24da0e
--- /dev/null
+++ b/recipes-graphics/libgles/libgles-omap3_4.08.00.01.bb
@@ -0,0 +1,76 @@
+require libgles-omap3.inc
+
+LICENSE = "TSPA"
+
+DEFAULT_PREFERENCE = "-1"
+
+BINLOCATION_omap3  = "${S}/gfx_rel_es3.x"
+BINLOCATION_ti816x = "${S}/gfx_rel_es6.x"
+BINLOCATION_ti814x = "${S}/gfx_rel_es6.x"
+BINLOCATION_ti33x = "${S}/gfx_rel_es8.x"
+
+PLATFORM = "LinuxARMV7"
+PVR_INIT = "pvrsrvctl"
+
+# 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_08_00_01"
+IMGPV = "1.9.2139099"
+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://rc_dri.pvr \
+           file://sample.desktop \
+           file://99-bufferclass.rules  \
+"
+
+SRC_URI[md5sum] = "dd0d994a48ecc4293f272a1fddddf159"
+SRC_URI[sha256sum] = "fd721288c95314e0d676dd89462e1dec994e185cb608bcb8ac4a4b5809f9693a"
+
+S = "${WORKDIR}/Graphics_SDK_${SGXPV}"
+
+LIBGLESWINDOWSYSTEM ?= "${@base_contains('DISTRO_FEATURES', 'x11',"libpvrPVR2D_DRIWSEGL.so" ,"libpvrPVR2D_FRONTWSEGL.so.1", d)}"
+
+do_configure_append() {
+
+    # Change PVR server's user mode library to point to DRI
+    for drifile in $(find ${S} -name "libsrv_um_dri.so"); do
+    if [ "$drifile" != "" ]
+    then
+        dir=$(dirname ${drifile})
+        if [ "$SUPPORT_XORG" = "1" ]
+        then
+            mv ${dir}/libsrv_um_dri.so ${dir}/libsrv_um.so
+        else
+            rm -rf ${dir}/libsrv_um_dri.so
+        fi
+    fi
+
+    done
+}
+
+do_install_append() {
+
+    # In this version of the graphics SDK the following directories do not exist:
+    #    /GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include/pvr2d.h (doesn't exist)
+    #    /GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include/GLES/egltypes.h (doesn't exist)
+    # Therefore, need to copy these files manually at the only location that they do exist
+    cp -pPr ${S}/include/pvr2d/*.h ${D}${includedir}
+    cp -pPr ${S}/include/OGLES/GLES ${D}${includedir}/
+
+    rm ${D}${sysconfdir}/init.d/pvr-init
+
+    if [ "$SUPPORT_XORG" = "1" ]; then
+        cp -pP ${WORKDIR}/rc_dri.pvr ${D}${sysconfdir}/init.d/pvr-init
+    else
+        cp -pP ${WORKDIR}/rc.pvr ${D}${sysconfdir}/init.d/pvr-init
+    fi
+
+}
+
+RRECOMMENDS_${PN}-x11demos = "${PN}-driwsegl"
+RRECOMMENDS_${PN}-x11trainingcourses = "${PN}-driwsegl"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules
  2013-02-06  6:57 [PATCH 1/2 v2] libgles-omap3: Add v4.08.00.01 of the Graphics SDK fcooperjr27
@ 2013-02-06  6:57 ` fcooperjr27
  2013-02-06  8:34   ` Andreas Müller
  0 siblings, 1 reply; 10+ messages in thread
From: fcooperjr27 @ 2013-02-06  6:57 UTC (permalink / raw)
  To: meta-ti

From: Franklin S. Cooper Jr <fcooper@ti.com>

* Add version 4.08.00.01 of the SGX modules.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
Version 2:
Update SRC_URI link to use official SDK download link

 .../omap3-sgx-modules_4.08.00.01.bb                |   56 ++++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.01.bb

diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.01.bb b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.01.bb
new file mode 100644
index 0000000..4885946
--- /dev/null
+++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.01.bb
@@ -0,0 +1,56 @@
+DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
+
+TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
+require ../../recipes-ti/includes/ti-eula-unpack.inc
+
+SGXPV = "4_08_00_01"
+IMGPV = "1.9.2139099"
+BINFILE = "Graphics_SDK_setuplinux_${SGXPV}.bin"
+
+inherit module
+
+MACHINE_KERNEL_PR_append = "a"
+PR = "${MACHINE_KERNEL_PR}"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
+
+SRC_URI[md5sum] = "dd0d994a48ecc4293f272a1fddddf159"
+SRC_URI[sha256sum] = "fd721288c95314e0d676dd89462e1dec994e185cb608bcb8ac4a4b5809f9693a"
+
+TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
+S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
+
+PVRBUILD = "release"
+export KERNELDIR = "${STAGING_KERNEL_DIR}"
+
+INHIBIT_PACKAGE_STRIP = "1"
+
+TI_PLATFORM_omap3 = "omap3630"
+TI_PLATFORM_ti814x = "ti81xx"
+TI_PLATFORM_ti816x = "ti81xx"
+TI_PLATFORM_ti33x = "ti335x"
+
+MODULESLOCATION_omap3 = "dc_omapfb3_linux"
+MODULESLOCATION_ti814x = "dc_ti81xx_linux"
+MODULESLOCATION_ti816x = "dc_ti81xx_linux"
+MODULESLOCATION_ti33x = "dc_ti335x_linux"
+
+export SUPPORT_XORG ?= "${@base_contains('DISTRO_FEATURES', 'x11', '1', '0', d)}"
+
+MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
+
+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
+
+    if [ "${SUPPORT_XORG}" = "1" ]; then
+        cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
+    fi
+}
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules
  2013-02-06  6:57 ` [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules fcooperjr27
@ 2013-02-06  8:34   ` Andreas Müller
  2013-02-06  8:38     ` Dmytriyenko, Denys
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Müller @ 2013-02-06  8:34 UTC (permalink / raw)
  To: fcooperjr27; +Cc: meta-ti

On Wed, Feb 6, 2013 at 7:57 AM,  <fcooperjr27@gmail.com> wrote:
> From: Franklin S. Cooper Jr <fcooper@ti.com>
>
> * Add version 4.08.00.01 of the SGX modules.
>
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
> Version 2:
> Update SRC_URI link to use official SDK download link
>
>  .../omap3-sgx-modules_4.08.00.01.bb                |   56 ++++++++++++++++++++
>  1 files changed, 56 insertions(+), 0 deletions(-)
>  create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.01.bb
>
Just a question: With which kernel version did you test that - because
4.05 currently used need patching for kernels > 3.3 for me.

Andreas


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules
  2013-02-06  8:34   ` Andreas Müller
@ 2013-02-06  8:38     ` Dmytriyenko, Denys
  2013-02-06 15:43       ` Andreas Müller
  0 siblings, 1 reply; 10+ messages in thread
From: Dmytriyenko, Denys @ 2013-02-06  8:38 UTC (permalink / raw)
  To: fcooperjr27, schnitzeltony; +Cc: meta-ti

[-- Attachment #1: Type: text/plain, Size: 1159 bytes --]

3.2


Denys


-----Original Message-----
From: Andreas Müller [schnitzeltony@googlemail.com]
Received: Wednesday, 06 Feb 2013, 2:34
To: fcooperjr27@gmail.com [fcooperjr27@gmail.com]
CC: meta-ti@yoctoproject.org [meta-ti@yoctoproject.org]
Subject: Re: [meta-ti] [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules

On Wed, Feb 6, 2013 at 7:57 AM,  <fcooperjr27@gmail.com> wrote:
> From: Franklin S. Cooper Jr <fcooper@ti.com>
>
> * Add version 4.08.00.01 of the SGX modules.
>
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
> Version 2:
> Update SRC_URI link to use official SDK download link
>
>  .../omap3-sgx-modules_4.08.00.01.bb                |   56 ++++++++++++++++++++
>  1 files changed, 56 insertions(+), 0 deletions(-)
>  create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.01.bb
>
Just a question: With which kernel version did you test that - because
4.05 currently used need patching for kernels > 3.3 for me.

Andreas
_______________________________________________
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti

[-- Attachment #2: Type: text/html, Size: 2293 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules
  2013-02-06  8:38     ` Dmytriyenko, Denys
@ 2013-02-06 15:43       ` Andreas Müller
  2013-02-06 15:57         ` Andreas Müller
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Müller @ 2013-02-06 15:43 UTC (permalink / raw)
  To: meta-ti

On Wed, Feb 6, 2013 at 9:38 AM, Dmytriyenko, Denys <denys@ti.com> wrote:
> 3.2
>
>
> Denys
>
>
>
> -----Original Message-----
> From: Andreas Müller [schnitzeltony@googlemail.com]
> Received: Wednesday, 06 Feb 2013, 2:34
> To: fcooperjr27@gmail.com [fcooperjr27@gmail.com]
> CC: meta-ti@yoctoproject.org [meta-ti@yoctoproject.org]
> Subject: Re: [meta-ti] [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the
> SGX modules
>
> On Wed, Feb 6, 2013 at 7:57 AM,  <fcooperjr27@gmail.com> wrote:
>> From: Franklin S. Cooper Jr <fcooper@ti.com>
>>
>> * Add version 4.08.00.01 of the SGX modules.
>>
>> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
>> ---
>> Version 2:
>> Update SRC_URI link to use official SDK download link
>>
>>  .../omap3-sgx-modules_4.08.00.01.bb                |   56
>> ++++++++++++++++++++
>>  1 files changed, 56 insertions(+), 0 deletions(-)
>>  create mode 100644
>> recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.01.bb
>>
> Just a question: With which kernel version did you test that - because
> 4.05 currently used need patching for kernels > 3.3 for me.
>
> Andreas

With linux-omap 3.5 which I use in meta-gumstix-community for a while I get

ERROR: Function failed: do_compile (see
/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/temp/log.do_compile.1757
for further information)
ERROR: Logfile of failure stored in:
/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/temp/log.do_compile.1757
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 12 -e MAKEFLAGS=
KERNEL_PATH=/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel
KERNEL_SRC=/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel
KERNEL_VERSION=3.5.0 CC=arm-angstrom-linux-gnueabi-gcc  -march=armv7-a
    -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
--sysroot=/home/andreas/tmp/oe-core-eglibc/sysroots/overo
-mno-thumb-interwork -marm LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/andreas/tmp/oe-core-eglibc/sysroots/overo
AR=arm-angstrom-linux-gnueabi-ar  BUILD=release TI_PLATFORM=omap3630
SUPPORT_XORG=1
| make -C /home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel M=`pwd`
| make[1]: Entering directory
`/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel'
|   LD      /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o
|   CC [M]  /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
|   LD [M]  /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bufferclass_ti.o
|   LD      /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/built-in.o
|   CC [M]  /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/pvr_drm_stubs.o

| make[3]: *** No rule to make target
`/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_auth.o',
needed by `/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/drm.o'.
 Stop.
| make[2]: *** [/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm]
Error 2
| make[1]: *** [_module_/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM]
Error 2
| make[1]: Leaving directory
`/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see
/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/temp/log.do_compile.1757
for further information)

I added CONFIG_DRM_OMAP=m (CONFIG_DRM=y was there already at first
run) but the same error.

drm_auth.o is not found in my sysroot/kernel-image-folder but was
built and can be found in the build folder of the kernel.

Any thoughts?

Andreas


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules
  2013-02-06 15:43       ` Andreas Müller
@ 2013-02-06 15:57         ` Andreas Müller
  2013-02-07  8:53           ` Andreas Müller
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Müller @ 2013-02-06 15:57 UTC (permalink / raw)
  To: meta-ti

On Wed, Feb 6, 2013 at 4:43 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> On Wed, Feb 6, 2013 at 9:38 AM, Dmytriyenko, Denys <denys@ti.com> wrote:
>> 3.2
>>
>>
>> Denys
>>
>>
>>
>> -----Original Message-----
>> From: Andreas Müller [schnitzeltony@googlemail.com]
>> Received: Wednesday, 06 Feb 2013, 2:34
>> To: fcooperjr27@gmail.com [fcooperjr27@gmail.com]
>> CC: meta-ti@yoctoproject.org [meta-ti@yoctoproject.org]
>> Subject: Re: [meta-ti] [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the
>> SGX modules
>>
>> On Wed, Feb 6, 2013 at 7:57 AM,  <fcooperjr27@gmail.com> wrote:
>>> From: Franklin S. Cooper Jr <fcooper@ti.com>
>>>
>>> * Add version 4.08.00.01 of the SGX modules.
>>>
>>> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
>>> ---
>>> Version 2:
>>> Update SRC_URI link to use official SDK download link
>>>
>>>  .../omap3-sgx-modules_4.08.00.01.bb                |   56
>>> ++++++++++++++++++++
>>>  1 files changed, 56 insertions(+), 0 deletions(-)
>>>  create mode 100644
>>> recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.01.bb
>>>
>> Just a question: With which kernel version did you test that - because
>> 4.05 currently used need patching for kernels > 3.3 for me.
>>
>> Andreas
>
> With linux-omap 3.5 which I use in meta-gumstix-community for a while I get
>
> ERROR: Function failed: do_compile (see
> /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/temp/log.do_compile.1757
> for further information)
> ERROR: Logfile of failure stored in:
> /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/temp/log.do_compile.1757
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 12 -e MAKEFLAGS=
> KERNEL_PATH=/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel
> KERNEL_SRC=/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel
> KERNEL_VERSION=3.5.0 CC=arm-angstrom-linux-gnueabi-gcc  -march=armv7-a
>     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
> --sysroot=/home/andreas/tmp/oe-core-eglibc/sysroots/overo
> -mno-thumb-interwork -marm LD=arm-angstrom-linux-gnueabi-ld
> --sysroot=/home/andreas/tmp/oe-core-eglibc/sysroots/overo
> AR=arm-angstrom-linux-gnueabi-ar  BUILD=release TI_PLATFORM=omap3630
> SUPPORT_XORG=1
> | make -C /home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel M=`pwd`
> | make[1]: Entering directory
> `/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel'
> |   LD      /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o
> |   CC [M]  /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
> |   LD [M]  /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bufferclass_ti.o
> |   LD      /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/built-in.o
> |   CC [M]  /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/pvr_drm_stubs.o
>
> | make[3]: *** No rule to make target
> `/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_auth.o',
> needed by `/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/drm.o'.
>  Stop.
> | make[2]: *** [/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm]
> Error 2
> | make[1]: *** [_module_/home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM]
> Error 2
> | make[1]: Leaving directory
> `/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/src/kernel'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (see
> /home/andreas/tmp/oe-core-eglibc/work/overo-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/temp/log.do_compile.1757
> for further information)
>
> I added CONFIG_DRM_OMAP=m (CONFIG_DRM=y was there already at first
> run) but the same error.
>
> drm_auth.o is not found in my sysroot/kernel-image-folder but was
> built and can be found in the build folder of the kernel.
>
> Any thoughts?
>
> Andreas

One - maybe stupid - question: Have you tested with latest oe-core -or
do you have

commit c753f9d59f4d0a5af4ea5deb6e2b9609e05314e2
Author: Mark Asselstine <mark.asselstine@windriver.com>
Date:   Thu Jan 31 13:31:03 2013 -0500

    kernel: avoid copying unnecessary files during do_install

    kernel_do_install() populates $kerneldir with files needed to build
    external modules. To accomplish this there are several copy commands
    to get source from the kernel source tree and build trees after which
    a 'clean' is performed. Since we are copying from the build tree we
    get about 1G of .o and .cmd files copied over only to have them
    removed when we clean. This adds additional IO overhead as well as
    overhead caused by pseudo. By avoiding copying these files in the
    first place we get multiple gains:
      * avoid initial copy
      * avoid file deletes during clean
      * reduce pseudo overhead

    Additionally we are making use of cpio vs cp which tends to be
    significantly faster at performing copies.

    With these changes I observe a 15-30% decrease in the time to complete
    the do_install() operation on the kernel.

    [YOCTO #3517]

    Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

in your repo?

Andreas


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules
  2013-02-06 15:57         ` Andreas Müller
@ 2013-02-07  8:53           ` Andreas Müller
       [not found]             ` <8F29D6B095ED194EA1980491A5E029710C388EA4@DFLE09.ent.ti.com>
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Müller @ 2013-02-07  8:53 UTC (permalink / raw)
  To: meta-ti

On Wed, Feb 6, 2013 at 4:57 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> One - maybe stupid - question: Have you tested with latest oe-core -or
> do you have
>
> commit c753f9d59f4d0a5af4ea5deb6e2b9609e05314e2
> Author: Mark Asselstine <mark.asselstine@windriver.com>
> Date:   Thu Jan 31 13:31:03 2013 -0500
>
>     kernel: avoid copying unnecessary files during do_install
>
>     kernel_do_install() populates $kerneldir with files needed to build
>     external modules. To accomplish this there are several copy commands
>     to get source from the kernel source tree and build trees after which
>     a 'clean' is performed. Since we are copying from the build tree we
>     get about 1G of .o and .cmd files copied over only to have them
>     removed when we clean. This adds additional IO overhead as well as
>     overhead caused by pseudo. By avoiding copying these files in the
>     first place we get multiple gains:
>       * avoid initial copy
>       * avoid file deletes during clean
>       * reduce pseudo overhead
>
>     Additionally we are making use of cpio vs cp which tends to be
>     significantly faster at performing copies.
>
>     With these changes I observe a 15-30% decrease in the time to complete
>     the do_install() operation on the kernel.
>
>     [YOCTO #3517]
>
>     Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
>     Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
>     Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> in your repo?
>
> Andreas

FYI: I removed meta-gumstix-community from my layers and ran

MACHINE="beagleboard" bitbake omap3-sgx-modules

and get same:

| make[3]: *** No rule to make target
`/home/Superandy/tmp/oe-core-eglibc/work/beagleboard-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_auth.o',
needed by `/home/Superandy/tmp/oe-core-eglibc/work/beagleboard-angstrom-linux-gnueabi/omap3-sgx-modules/4.08.00.01-r122a/Graphics_SDK_4_08_00_01/GFX_Linux_KM/services4/3rdparty/linux_drm/drm.o'.
 Stop.

so I think it is related to changes in other layers. Did you test with
master or danny?

Andreas


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules
       [not found]                 ` <CALbNGRRt7QoifHFqQMDeSY7g2ABt15_KhgBos6ijwGbLAOcpPw@mail.gmail.com>
@ 2013-02-13 10:43                   ` Andreas Müller
  2013-02-17 23:42                     ` Denys Dmytriyenko
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Müller @ 2013-02-13 10:43 UTC (permalink / raw)
  To: Cooper Jr., Franklin; +Cc: meta-ti

On Tue, Feb 12, 2013 at 12:03 AM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> On Thu, Feb 7, 2013 at 5:25 PM, Andreas Müller
> <schnitzeltony@googlemail.com> wrote:
>> On Thu, Feb 7, 2013 at 2:51 PM, Cooper Jr., Franklin <fcooper@ti.com> wrote:
>>> Yes I've got this working for me on danny. However, I do use a non x11 build which is most likely the reason why I am not having this problem.
>>>
>>> A related thread about possible issues with x11 distributions
>>> https://lists.yoctoproject.org/pipermail/meta-ti/2012-September/001502.html
>>>
>>>
>> Have fixed this - after testing I will send a follow up patch series
>> because I am really burning to see the X11 stuff...
>>
>> Andreas
> Aargh - during tests I ran into other issues with oe-core/meta-oe
> current HEAD so I can not do run-tests. Build-tested results are at
>
> https://gitorious.org/schnitzeltony-oe-meta/meta-ti/commits/sgx-test
>
> As soon as HEADS are back and build working images I'll return on this...
>
OK I managed to build and am testing now. When loading pvr_drv X
complains for wrong ABI (is 10 expected 13). Is there a version of
Graphics SDK available with support for xserver 1.13? I saw
v4.08.00.02 supports xserver 1.12. Are there any other sources for the
userspace-driver part?

Andreas


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules
  2013-02-13 10:43                   ` Andreas Müller
@ 2013-02-17 23:42                     ` Denys Dmytriyenko
  2013-02-18  9:25                       ` Andreas Müller
  0 siblings, 1 reply; 10+ messages in thread
From: Denys Dmytriyenko @ 2013-02-17 23:42 UTC (permalink / raw)
  To: Andreas Müller; +Cc: meta-ti

On Wed, Feb 13, 2013 at 11:43:34AM +0100, Andreas Müller wrote:
> On Tue, Feb 12, 2013 at 12:03 AM, Andreas Müller
> <schnitzeltony@googlemail.com> wrote:
> > On Thu, Feb 7, 2013 at 5:25 PM, Andreas Müller
> > <schnitzeltony@googlemail.com> wrote:
> >> On Thu, Feb 7, 2013 at 2:51 PM, Cooper Jr., Franklin <fcooper@ti.com> wrote:
> >>> Yes I've got this working for me on danny. However, I do use a non x11 build which is most likely the reason why I am not having this problem.
> >>>
> >>> A related thread about possible issues with x11 distributions
> >>> https://lists.yoctoproject.org/pipermail/meta-ti/2012-September/001502.html
> >>>
> >>>
> >> Have fixed this - after testing I will send a follow up patch series
> >> because I am really burning to see the X11 stuff...
> >>
> >> Andreas
> > Aargh - during tests I ran into other issues with oe-core/meta-oe
> > current HEAD so I can not do run-tests. Build-tested results are at
> >
> > https://gitorious.org/schnitzeltony-oe-meta/meta-ti/commits/sgx-test
> >
> > As soon as HEADS are back and build working images I'll return on this...
> >
> OK I managed to build and am testing now. When loading pvr_drv X
> complains for wrong ABI (is 10 expected 13). Is there a version of
> Graphics SDK available with support for xserver 1.13? I saw
> v4.08.00.02 supports xserver 1.12. Are there any other sources for the
> userspace-driver part?

Andreas,

I just pushed v4.08.00.01. Please let us know if you have any further comments 
or patches.

Currently, v4.08.00.02 has some issues compiling from the recipes, as 
historically recipes didn't use Graphics SDK's Makefiles - we will be 
reworking that soon. As well as we'll try to address installer's size issue.

As of the xserver support - 1.12 from v4.08.00.02 is as good as it gets right 
now. While X11 support hasn't been the first priority for Graphics SDK lately, 
that might change in the near future...

-- 
Denys


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules
  2013-02-17 23:42                     ` Denys Dmytriyenko
@ 2013-02-18  9:25                       ` Andreas Müller
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Müller @ 2013-02-18  9:25 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

On Mon, Feb 18, 2013 at 12:42 AM, Denys Dmytriyenko <denys@ti.com> wrote:
> On Wed, Feb 13, 2013 at 11:43:34AM +0100, Andreas Müller wrote:
>> On Tue, Feb 12, 2013 at 12:03 AM, Andreas Müller
>> <schnitzeltony@googlemail.com> wrote:
>> > On Thu, Feb 7, 2013 at 5:25 PM, Andreas Müller
>> > <schnitzeltony@googlemail.com> wrote:
>> >> On Thu, Feb 7, 2013 at 2:51 PM, Cooper Jr., Franklin <fcooper@ti.com> wrote:
>> >>> Yes I've got this working for me on danny. However, I do use a non x11 build which is most likely the reason why I am not having this problem.
>> >>>
>> >>> A related thread about possible issues with x11 distributions
>> >>> https://lists.yoctoproject.org/pipermail/meta-ti/2012-September/001502.html
>> >>>
>> >>>
>> >> Have fixed this - after testing I will send a follow up patch series
>> >> because I am really burning to see the X11 stuff...
>> >>
>> >> Andreas
>> > Aargh - during tests I ran into other issues with oe-core/meta-oe
>> > current HEAD so I can not do run-tests. Build-tested results are at
>> >
>> > https://gitorious.org/schnitzeltony-oe-meta/meta-ti/commits/sgx-test
>> >
>> > As soon as HEADS are back and build working images I'll return on this...
>> >
>> OK I managed to build and am testing now. When loading pvr_drv X
>> complains for wrong ABI (is 10 expected 13). Is there a version of
>> Graphics SDK available with support for xserver 1.13? I saw
>> v4.08.00.02 supports xserver 1.12. Are there any other sources for the
>> userspace-driver part?
>
> Andreas,
>
> I just pushed v4.08.00.01. Please let us know if you have any further comments
> or patches.
>
> Currently, v4.08.00.02 has some issues compiling from the recipes, as
> historically recipes didn't use Graphics SDK's Makefiles - we will be
> reworking that soon. As well as we'll try to address installer's size issue.
>
> As of the xserver support - 1.12 from v4.08.00.02 is as good as it gets right
> now. While X11 support hasn't been the first priority for Graphics SDK lately,
> that might change in the near future...
>
> --
> Denys
I got them to build for X with kernel 3.2 (begleboard) and 3.5
(overo). This you can see at [1] - but it needs some cleanup. More or
less accidently I found that much of what I did is already available
at [2]. As said - run tests failed due to mismatching ABI version for
pvr_dri. So I stopped further activities and wait for later SDK with
matching ABI.

Andreas

[1] https://gitorious.org/schnitzeltony-oe-meta/meta-ti/commits/sgx-test
[2] https://github.com/RobertCNelson/ti-sdk-pvr/tree/4.08.00.02


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-02-18  9:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-06  6:57 [PATCH 1/2 v2] libgles-omap3: Add v4.08.00.01 of the Graphics SDK fcooperjr27
2013-02-06  6:57 ` [PATCH 2/2] omap3-sgx-modules: Add v4.08.00.01 of the SGX modules fcooperjr27
2013-02-06  8:34   ` Andreas Müller
2013-02-06  8:38     ` Dmytriyenko, Denys
2013-02-06 15:43       ` Andreas Müller
2013-02-06 15:57         ` Andreas Müller
2013-02-07  8:53           ` Andreas Müller
     [not found]             ` <8F29D6B095ED194EA1980491A5E029710C388EA4@DFLE09.ent.ti.com>
     [not found]               ` <CALbNGRTnx5Tg8Vcme4eZ77bDSzwkaoHHuTa4C+z6tfM+bB4jwA@mail.gmail.com>
     [not found]                 ` <CALbNGRRt7QoifHFqQMDeSY7g2ABt15_KhgBos6ijwGbLAOcpPw@mail.gmail.com>
2013-02-13 10:43                   ` Andreas Müller
2013-02-17 23:42                     ` Denys Dmytriyenko
2013-02-18  9:25                       ` Andreas Müller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.