file://cputype \
file://rc.pvr \
file://sample.desktop \
- "
+ file://99-bufferclass.rules \
+"
S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}"
# Delete objects and linker scripts hidden between the headers
find ${D} -name "*.o" -delete
find ${D} -name "*.o.cmd" -delete
+
+ install -d ${D}${sysconfdir}/udev/rules.d
+ install -m 0644 ${WORKDIR}/99-bufferclass.rules ${D}${sysconfdir}/udev/rules.d/
+
}
PACKAGES =+ "${PN}-rawdemos \
--- /dev/null
+# Give everyone access to bufferclass nodes and make a compatibility symlink for the first one
+SUBSYSTEM=="bccat", MODE="0666"
+KERNEL=="bccat0", SYMLINK+="bc_cat", MODE="0666"
+
+# Give everyone access to v4l nodes
+SUBSYSTEM=="video4linux", MODE="0666"
+
if [ $CPUTYPE = "OMAP3530" ]; then
echo Starting PVR
insmod $(busybox find /lib/modules/$(uname -r) -name "pvrsrvkm.ko")
- #modprobe bc_example
modprobe omaplfb
modprobe bufferclass_ti
mknod /dev/pvrsrvkm c $pvr_maj 0
chmod 666 /dev/pvrsrvkm
- if [ -e /dev/bc_cat ] ; then
- rm -f /dev/bc_cat
- fi
-
- mknod /dev/bc_cat c $bc_maj 0
- chmod 666 /dev/bc_cat
-
touch /etc/powervr-esrev
SAVED_ESREVISION="$(cat /etc/powervr-esrev)"
require libgles-omap3.inc
-PR = "r6"
+PR = "r7"
# 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
DEFAULT_PREFERENCE = "-1"
-PR = "r1"
+PR = "r2"
BINLOCATION = "${S}/gfx_rel_es3.x"