summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libgles
diff options
context:
space:
mode:
authorFranklin S. Cooper Jr <fcooper@ti.com>2012-11-16 13:19:42 -0600
committerDenys Dmytriyenko <denys@ti.com>2012-11-16 15:05:21 -0500
commite63ef280726af5f0d5d4a0bde825c9182897a94e (patch)
tree16606b51ea4fe5d85c7cd020a40add8e17c2984c /recipes-graphics/libgles
parent3c3a59dcc79cbcc2cd8730bc37b108e217e85860 (diff)
downloadmeta-ti-e63ef280726af5f0d5d4a0bde825c9182897a94e.tar.gz
libgles-omap3: Verify pvrsrvkm module was found
* Check to see if the pvrsrvkm.ko module was found and that the insmod for that module was successful. Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-graphics/libgles')
-rw-r--r--recipes-graphics/libgles/libgles-omap3.inc2
-rwxr-xr-xrecipes-graphics/libgles/libgles-omap3/rc.pvr7
2 files changed, 8 insertions, 1 deletions
diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
index 599070d4..cb96e4f6 100644
--- a/recipes-graphics/libgles/libgles-omap3.inc
+++ b/recipes-graphics/libgles/libgles-omap3.inc
@@ -3,7 +3,7 @@ LICENSE = "proprietary-binary"
3# 'TSPA.txt' might not be the best file to md5sum 3# 'TSPA.txt' might not be the best file to md5sum
4LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" 4LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"
5 5
6PR = "r34" 6PR = "r35"
7 7
8COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)" 8COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)"
9 9
diff --git a/recipes-graphics/libgles/libgles-omap3/rc.pvr b/recipes-graphics/libgles/libgles-omap3/rc.pvr
index 00cd994b..e5a4cd1e 100755
--- a/recipes-graphics/libgles/libgles-omap3/rc.pvr
+++ b/recipes-graphics/libgles/libgles-omap3/rc.pvr
@@ -42,6 +42,13 @@ fbset -vyres $(expr $YRES \* 3)
42sgxprepare () { 42sgxprepare () {
43 echo Starting PVR 43 echo Starting PVR
44 insmod $(busybox find /lib/modules/$(uname -r) -name "pvrsrvkm.ko") 44 insmod $(busybox find /lib/modules/$(uname -r) -name "pvrsrvkm.ko")
45
46 if [ "$?" != "0" ]
47 then
48 echo "Could not find pvrsrvkm driver"
49 exit 1
50 fi
51
45 modprobe omaplfb 52 modprobe omaplfb
46 modprobe bufferclass_ti 53 modprobe bufferclass_ti
47 54