libgles-omap3: autoload bufferclass_ti driver at boot
authorKoen Kooi <koen@openembedded.org>
Mon, 8 Mar 2010 15:20:30 +0000 (16:20 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 8 Mar 2010 17:47:58 +0000 (18:47 +0100)
recipes/powervr-drivers/libgles-omap3/rc.pvr
recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb

index 2a8260b..ecf5f4a 100755 (executable)
@@ -35,8 +35,10 @@ if [ $CPUTYPE = "OMAP3530" ]; then
        insmod $(busybox find /lib/modules/$(uname -r) -name "pvrsrvkm.ko")
        #modprobe bc_example
        modprobe omaplfb
+       modprobe bufferclass_ti
 
        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
@@ -45,6 +47,9 @@ if [ $CPUTYPE = "OMAP3530" ]; then
        mknod /dev/pvrsrvkm c $pvr_maj 0 
        chmod 666 /dev/pvrsrvkm
 
+       mknod /dev/bc_cat c $bc_maj 0
+       chmod 666 /dev/bc_cat
+
        touch /etc/powervr-esrev
 
        SAVED_ESREVISION="$(cat /etc/powervr-esrev)"
index 65b318a..725e8bb 100644 (file)
@@ -2,7 +2,7 @@ BINLOCATION = "${S}/gfx_rel_es3.x"
 
 require libgles-omap3.inc
 
-PR = "r5"
+PR = "r6"
 
 # 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