[oe-commits] Koen Kooi : libgles-omap3: autoload bufferclass_ti driver at boot

git version control git at git.openembedded.org
Mon Mar 8 17:48:08 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: e518bd5129becbfbd65e5fbaf611a5cb363c5273
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e518bd5129becbfbd65e5fbaf611a5cb363c5273

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Mar  8 16:20:30 2010 +0100

libgles-omap3: autoload bufferclass_ti driver at boot

---

 recipes/powervr-drivers/libgles-omap3/rc.pvr       |    5 +++++
 .../powervr-drivers/libgles-omap3_3.01.00.02.bb    |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/recipes/powervr-drivers/libgles-omap3/rc.pvr b/recipes/powervr-drivers/libgles-omap3/rc.pvr
index 2a8260b..ecf5f4a 100755
--- a/recipes/powervr-drivers/libgles-omap3/rc.pvr
+++ b/recipes/powervr-drivers/libgles-omap3/rc.pvr
@@ -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)"
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 65b318a..725e8bb 100644
--- a/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb
+++ b/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb
@@ -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





More information about the Openembedded-commits mailing list