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