summaryrefslogtreecommitdiffstats
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 22:54:18 -0500
commit8da73dfd146226b782f6b41a9a3138a0e160b265 (patch)
tree7a6a1603cf7243682f3b56708d6bb15af2adac90
parent8ebfd2afe9cacc8178585f300032855834dd3a0e (diff)
downloadmeta-ti-8da73dfd146226b782f6b41a9a3138a0e160b265.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>
-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 64667e4a..0f15ae6c 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