summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Huang <jserv@0xlab.org>2011-04-13 00:49:27 +0800
committerJim Huang <jserv@0xlab.org>2011-04-13 00:49:27 +0800
commit0f61c50f13551f6a27f1940bb5a85f08681f2250 (patch)
treec57191839a4fa063dd102eaa6a8cda033c7f71b1
parentd72a467260007d9cb226b7f2bf333dab250b0dd0 (diff)
downloadpandaboard-0f61c50f13551f6a27f1940bb5a85f08681f2250.tar.gz
Initialize the SGX driver at boot time
-rw-r--r--init.omap4.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.omap4.rc b/init.omap4.rc
index 18ea7ef..1887d1e 100644
--- a/init.omap4.rc
+++ b/init.omap4.rc
@@ -2,10 +2,16 @@ on boot
# create dhcpcd dir
mkdir /data/misc/dhcp 0770 dhcp dhcp
chmod 0770 /data/misc/dhcp
+ chmod 0666 /dev/pvrsrvkm
service omap4-setup /system/etc/init.omap4.sh
oneshot
+# Initialize the SGX driver
+service pvrsrvinit /system/bin/pvrsrvinit
+ user root
+ oneshot
+
service faketsd /system/bin/faketsd
user bluetooth
group bluetooth