this is for compatibility with Nokia's SGX kernel driver
if [ $CPUTYPE = "OMAP3530" ]; then
echo Starting PVR
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
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
chmod 666 /dev/pvrsrvkm
touch /etc/powervr-esrev
# 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
# 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
SGXPV = "4_00_00_01"
IMGPV = "1.4.14.2616"
SGXPV = "4_00_00_01"
IMGPV = "1.4.14.2616"