libgles-omap3: fix other devmem2 references and remove stale comment about non-TSPA...
authorKoen Kooi <koen@openembedded.org>
Mon, 7 Feb 2011 11:41:08 +0000 (12:41 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 7 Feb 2011 11:41:56 +0000 (12:41 +0100)
Signed-off-by: Koen Kooi <koen@openembedded.org>
recipes/powervr-drivers/libgles-omap3.inc
recipes/powervr-drivers/libgles-omap3/rc.pvr

index 64c55e9..4a53d44 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "libGLES for the omap3"
 LICENSE = "proprietary-binary"
 
-PR = "r10"
+PR = "r11"
 
 COMPATIBLE_MACHINE = "(omap3|ti816x)"
 
@@ -9,21 +9,6 @@ DEPENDS = "virtual/libx11 libxau libxdmcp"
 
 PROVIDES += "virtual/egl"
 
-# some hints to get you going. as this isnt a totally "open" library, you need
-# to do some work. follow the steps below.
-#
-# 1. if you don't already have a ti account get one here. it's free:
-#  http://www.ti.com/hdr_my_ti
-# 2. fetch the gl-es bin (full OMAP Graphics SDK) from here:
-#  http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
-# 3. put the OMAP35x_*.bin file in $DL_DIR, i.e. downloads/
-#  mv OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin ./downloads/
-# 4. make the checksum file in ./downloads/ directory:
-#  cd ./downloads/
-#  md5sum OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin > OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin.md5
-# 
-# voila!
-
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \
                   file://cputype \
                   file://rc.pvr \
index ba84cc1..395d085 100755 (executable)
@@ -55,7 +55,7 @@ case $CPUTYPE in
        devmem2 0x48004B10 w 0x1 > /dev/null
        devmem2 0x48004B00 w 0x2 > /dev/null
 
-       ES_REVISION="$(devmem2 0x50000014 | sed -e s:0x10205:5: -e s:0x10201:3: -e s:0x10003:2: | tail -n1 | awk -F': ' '{print $2}')"
+       ES_REVISION="$(devmem2 0x50000014 | sed -e s:0x00010205:5: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')"
 
        if [ "${ES_REVISION}" != "${SAVED_ESREVISION}" ] ; then
                echo -n "Starting SGX fixup for"
@@ -90,7 +90,7 @@ case $CPUTYPE in
        devmem2 0x48180900 w 0x2
        devmem2 0x48180920 w 0x2
 
-       ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x10205:5: -e s:0x10201:3: -e s:0x10003:2: | tail -n1 | awk -F': ' '{print $2}')"
+       ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:5: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')"
 
        if [ "${ES_REVISION}" != "${SAVED_ESREVISION}" ] ; then
                echo -n "Starting SGX fixup for"