diff options
author | Steve Arnold <stephen.arnold42@gmail.com> | 2015-04-12 23:27:24 -0700 |
---|---|---|
committer | Steve Arnold <stephen.arnold42@gmail.com> | 2015-04-12 23:27:24 -0700 |
commit | 67f624eb0600d42359cbf79611336e8f8f68a07f (patch) | |
tree | 4f63ca05d84b27f23ed2c5c8f73222f757f63a1a /configs/bbb | |
parent | added configs for beagleboneblack (diff) | |
download | arm-67f624eb0600d42359cbf79611336e8f8f68a07f.tar.gz arm-67f624eb0600d42359cbf79611336e8f8f68a07f.tar.bz2 arm-67f624eb0600d42359cbf79611336e8f8f68a07f.zip |
added udev rule and init script for SGX pvr modules and runtime
Diffstat (limited to 'configs/bbb')
-rw-r--r-- | configs/bbb/50-pvrsrvkm.rules | 1 | ||||
-rwxr-xr-x | configs/bbb/pvrinit | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/configs/bbb/50-pvrsrvkm.rules b/configs/bbb/50-pvrsrvkm.rules new file mode 100644 index 0000000..abb7d72 --- /dev/null +++ b/configs/bbb/50-pvrsrvkm.rules @@ -0,0 +1 @@ +KERNEL=="pvrsrvkm", MODE="0666" diff --git a/configs/bbb/pvrinit b/configs/bbb/pvrinit new file mode 100755 index 0000000..2a1beab --- /dev/null +++ b/configs/bbb/pvrinit @@ -0,0 +1,23 @@ +#!/sbin/runscript +# add to default runlevel to load SGX drivers + + +depend() { + need localmount + after bootmisc modules +} + +start() { + ebegin "Starting PVR" + + eval modprobe -q pvrsrvkm + + if [ -f /usr/local/bin/pvrsrvctl ] ; then + /usr/local/bin/pvrsrvctl --start --no-module + + eval modprobe -q omaplfb + fi + eend $? +} + + |