summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/init.tuna.rc18
-rwxr-xr-x[-rw-r--r--]rootdir/ueventd.tuna.rc4
2 files changed, 17 insertions, 5 deletions
diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc
index 2109b33..5d2b1ea 100755
--- a/rootdir/init.tuna.rc
+++ b/rootdir/init.tuna.rc
@@ -32,6 +32,9 @@ on post-fs-data
chown drmrpc drmrpc /data/smc/storage.bin
chown drmrpc drmrpc /data/smc/system.bin
+ # symlink egl.cfg
+ symlink /sys/egl/egl.cfg /system/lib/egl/egl.cfg
+
# camera calibration
mkdir /data/misc/camera 0770 media media
mkdir /data/misc/camera/R5_MVEN003_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1044 0770 media media
@@ -86,6 +89,10 @@ on fs
chmod 0660 /dev/i2c-2
chown media media /dev/i2c-2
+# pvr module
+ insmod /system/lib/modules/pvrsrvkm_sgx540_120.ko
+ start pvrsrvinit
+
# change permissions for Tiler driver
chmod 0777 /dev/tiler
chmod 0777 /dev/dmm
@@ -148,11 +155,12 @@ service fRom /system/bin/fRom \
class late_start
oneshot
-service pvrsrvctl /vendor/bin/pvrsrvctl --start --no-module
- class core
- user root
- group root
- oneshot
+service pvrsrvinit /vendor/bin/pvrsrvinit
+ class core
+ user root
+ group root
+ oneshot
+ disabled
# create filesystems if necessary
service setup_fs /system/bin/setup_fs \
diff --git a/rootdir/ueventd.tuna.rc b/rootdir/ueventd.tuna.rc
index 00a8e37..63c3e22 100644..100755
--- a/rootdir/ueventd.tuna.rc
+++ b/rootdir/ueventd.tuna.rc
@@ -1,6 +1,8 @@
#for DSSCOMP
/dev/dsscomp 0660 system system
/dev/tiler 0666 system system
+/dev/dmm 0777 system system
+/dev/ion 0777 system system
#for SYSLINK
/dev/rpmsg-omx0 0660 drmrpc drmrpc
@@ -9,6 +11,8 @@
/dev/tf_driver 0660 drmrpc drmrpc
/dev/tf_ctrl 0660 drmrpc drmrpc
+/dev/pvrsrvkm 0666 system system
+
#for Sensors
/dev/mpu 0660 system system
/dev/mpuirq 0660 system system