summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2014-11-27 01:32:54 +0100
committerZiyan <jaraidaniel@gmail.com>2014-12-13 00:39:20 +0100
commite6cef456fae62cec183e01b3ee380b8b922f70e6 (patch)
tree986b82ec258efb7e135fb1ac627bac7a422cd9f6 /rootdir
parentebe8e6b0d5bd67b9597e4d9766d2ca2f81099e50 (diff)
downloaddevice_samsung_tuna-e6cef456fae62cec183e01b3ee380b8b922f70e6.zip
device_samsung_tuna-e6cef456fae62cec183e01b3ee380b8b922f70e6.tar.gz
device_samsung_tuna-e6cef456fae62cec183e01b3ee380b8b922f70e6.tar.bz2
tuna: update device tree to use PVR 1.9@2291151
Change-Id: Iff82f5be1b25c4806e842319fb5b333d9a8223a0 Conflicts: device.mk
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