summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Tinker <jtinker@google.com>2011-10-07 20:01:15 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-10-07 20:01:15 -0700
commitbca02774fa0fd44536ef7e7723f722c8e30852b0 (patch)
tree984d5f0512f586e373d63876e902fcdb22be4b81
parentc0eae5cc7f89b38f2dcc61dc17c15515f04d731c (diff)
parent725f40969ae4e3b784860c59e4afdf8b9f35b041 (diff)
downloaddevice_samsung_tuna-bca02774fa0fd44536ef7e7723f722c8e30852b0.zip
device_samsung_tuna-bca02774fa0fd44536ef7e7723f722c8e30852b0.tar.gz
device_samsung_tuna-bca02774fa0fd44536ef7e7723f722c8e30852b0.tar.bz2
Merge "Load the smc pa, start the daemon and set driver permissions."
-rwxr-xr-xinit.tuna.rc14
-rw-r--r--ueventd.tuna.rc6
2 files changed, 18 insertions, 2 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index 374d8a3..d272ceb 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -132,6 +132,20 @@ service setup_fs /system/bin/setup_fs \
group root
oneshot
+service tf_daemon /system/bin/tf_daemon \
+ -d -c /vendor/etc/smc_normal_world_android_cfg.ini
+ class core
+ user root
+ group root
+
+service smc_pa_wvdrm /system/bin/smc_pa_ctrl \
+ -c /vendor/etc/smc_normal_world_android_cfg.ini \
+ start /vendor/firmware/smc_pa_wvdrm.ift
+ class core
+ user root
+ group root
+ oneshot
+
# create virtual SD card at /mnt/sdcard, based on the /data/media directory
# daemon will drop to user/group system/media_rw after initializing
# underlying files in /data/media will be created with user and group media_rw (1023)
diff --git a/ueventd.tuna.rc b/ueventd.tuna.rc
index 900744a..81b788c 100644
--- a/ueventd.tuna.rc
+++ b/ueventd.tuna.rc
@@ -3,8 +3,10 @@
/dev/tiler 0666 system system
#for SYSLINK
-/dev/rpmsg-omx0 0666 system system
-/dev/rpmsg-omx1 0666 system system
+/dev/rpmsg-omx0 0660 drmrpc drmrpc
+/dev/rpmsg-omx1 0660 drmrpc drmrpc
+/dev/rproc_user 0660 drmrpc drmrpc
+/dev/tf_driver 0660 drmrpc drmrpc
#for Sensors
/dev/mpu 0660 system system