From: Grazvydas Ignotas Date: Fri, 10 Feb 2012 14:09:18 +0000 (+0200) Subject: libgles-omap3: exit if kernel module doesn't load X-Git-Tag: sz_beta3~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c471ad810748d8766e23c2118357b9313efb9f3c;p=openembedded.git libgles-omap3: exit if kernel module doesn't load otherwise those dev2mem hacks further in the script will f*ck up suspend on later kernels. --- diff --git a/recipes/powervr-drivers/libgles-omap3/rc.pvr b/recipes/powervr-drivers/libgles-omap3/rc.pvr index b84225e775..cf3d904b76 100755 --- a/recipes/powervr-drivers/libgles-omap3/rc.pvr +++ b/recipes/powervr-drivers/libgles-omap3/rc.pvr @@ -36,6 +36,11 @@ if [ $CPUTYPE = "OMAP3530" ]; then modprobe omaplfb modprobe bufferclass_ti + if ! lsmod | grep -q pvrsrvkm; then + echo pvrsrvkm failed to load + exit 1 + fi + pvr_maj=`grep "pvrsrvkm$" /proc/devices | cut -b1,2,3` bc_maj=`grep "bc" /proc/devices | cut -b1,2,3` diff --git a/recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb b/recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb index fbecccc7a0..69be2af15a 100644 --- a/recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb +++ b/recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb @@ -10,6 +10,8 @@ require libgles-omap3.inc # 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 +PR = "r2" + SGXPV = "4_00_00_01" IMGPV = "1.4.14.2616" BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"