diff options
Diffstat (limited to 'recipes/powervr-drivers')
-rwxr-xr-x | recipes/powervr-drivers/libgles-omap3-3.01.00.02/rc.pvr | 10 | ||||
-rw-r--r-- | recipes/powervr-drivers/libgles-omap3.inc | 2 | ||||
-rw-r--r-- | recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3-3.01.00.02/rc.pvr b/recipes/powervr-drivers/libgles-omap3-3.01.00.02/rc.pvr index 1b3c274593..2d34c4c0bc 100755 --- a/recipes/powervr-drivers/libgles-omap3-3.01.00.02/rc.pvr +++ b/recipes/powervr-drivers/libgles-omap3-3.01.00.02/rc.pvr @@ -1,4 +1,8 @@ #!/bin/sh +PATH=$PATH:/usr/sbin + +BITSPERPIXEL="$(fbset | grep geom | awk '{print $6}')" +YRES="$(fbset | grep geom | awk '{print $3}')" CPUTYPE="$(cputype)" @@ -18,6 +22,12 @@ if [ "$1" = "stop" ]; then exit 0 fi +if [ $BITSPERPIXEL = "32" ] ; then + fbset -rgba 8/16,8/8,8/0,8/24 +fi + +fbset -vyres $(expr $YRES \* 3) + if [ $CPUTYPE = "OMAP3530" ]; then echo Starting PVR insmod $(busybox find /lib/modules/$(uname -r) -name "pvrsrvkm.ko") diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc index bf7adaaa2f..27f732ba27 100644 --- a/recipes/powervr-drivers/libgles-omap3.inc +++ b/recipes/powervr-drivers/libgles-omap3.inc @@ -2,7 +2,7 @@ DESCRIPTION = "libGLES for the omap3" LICENCE = "proprietary-binary" COMPATIBLE_MACHINE = "(am3517-evm|beagleboard|cm-t35|igep0020|omap3-pandora|omap3-touchbook|omap3evm|omapzoom|omapzoom2|overo|palmpre)" -RDEPENDS_${PN} += "devmem2" +RDEPENDS_${PN} += "devmem2 fbset" #HACK! These are binaries, so we can't guarantee that LDFLAGS match :( INSANE_SKIP_${PN} = True diff --git a/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb b/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb index 532f7bb40c..81fff90195 100644 --- a/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb +++ b/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb @@ -4,6 +4,8 @@ DEFAULT_PREFERENCE = "2" require libgles-omap3.inc +PR = "r1" + # download required binary distribution from: # http://software-dl.ti.com/dsps/forms/export.html?prod_no=/OMAP35x_Graphics_SDK_setuplinux_3_01_00_02.bin |