From e6cef456fae62cec183e01b3ee380b8b922f70e6 Mon Sep 17 00:00:00 2001 From: Ziyan Date: Thu, 27 Nov 2014 01:32:54 +0100 Subject: tuna: update device tree to use PVR 1.9@2291151 Change-Id: Iff82f5be1b25c4806e842319fb5b333d9a8223a0 Conflicts: device.mk --- rootdir/init.tuna.rc | 18 +++++++++++++----- rootdir/ueventd.tuna.rc | 4 ++++ 2 files changed, 17 insertions(+), 5 deletions(-) mode change 100644 => 100755 rootdir/ueventd.tuna.rc (limited to 'rootdir') 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 old mode 100644 new mode 100755 index 00a8e37..63c3e22 --- 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 -- cgit v1.1