From: Grazvydas Ignotas Date: Wed, 23 May 2012 00:13:14 +0000 (+0300) Subject: libgles-omap3: load specific modules, avoid devnode recreation X-Git-Tag: sz_beta5^0 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=a24df8cd7ac925eabc0eac73925d9bf3fa88a783;p=openembedded.git libgles-omap3: load specific modules, avoid devnode recreation this is for compatibility with Nokia's SGX kernel driver --- diff --git a/recipes/powervr-drivers/libgles-omap3/rc.pvr b/recipes/powervr-drivers/libgles-omap3/rc.pvr index 514d577df1..0b1aba0802 100755 --- a/recipes/powervr-drivers/libgles-omap3/rc.pvr +++ b/recipes/powervr-drivers/libgles-omap3/rc.pvr @@ -32,23 +32,23 @@ fbset -vyres $(expr $YRES \* 3) if [ $CPUTYPE = "OMAP3530" ]; then echo Starting PVR - insmod $(busybox find /lib/modules/$(uname -r) -name "pvrsrvkm.ko") - modprobe omaplfb - modprobe bufferclass_ti + insmod /lib/modules/$(uname -r)/kernel/drivers/gpu/pvrsrvkm.ko + insmod /lib/modules/$(uname -r)/kernel/drivers/gpu/omaplfb.ko + insmod /lib/modules/$(uname -r)/kernel/drivers/gpu/bufferclass_ti.ko 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` + #pvr_maj=`grep "pvrsrvkm$" /proc/devices | cut -b1,2,3` + #bc_maj=`grep "bc" /proc/devices | cut -b1,2,3` - if [ -e /dev/pvrsrvkm ] ; then - rm -f /dev/pvrsrvkm - fi + #if [ -e /dev/pvrsrvkm ] ; then + # rm -f /dev/pvrsrvkm + #fi - mknod /dev/pvrsrvkm c $pvr_maj 0 + #mknod /dev/pvrsrvkm c $pvr_maj 0 chmod 666 /dev/pvrsrvkm touch /etc/powervr-esrev 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 cd26be7c26..ebfba66f67 100644 --- a/recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb +++ b/recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb @@ -10,7 +10,7 @@ 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 = "r3" +PR = "r4" SGXPV = "4_00_00_01" IMGPV = "1.4.14.2616"