summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2017-09-19 16:57:53 -0500
committerPraneeth Bajjuri2017-09-19 16:57:53 -0500
commitcafd86d16111003c8ab15214c6e776e0beef016c (patch)
tree97307282a8f389c7c7b4a09150d28b35280d7696
parent05e9f47194714b9917f653a6ceb3512fddfde84c (diff)
downloaddevice-ti-am57xevm-cafd86d16111003c8ab15214c6e776e0beef016c.tar.gz
device-ti-am57xevm-cafd86d16111003c8ab15214c6e776e0beef016c.tar.xz
device-ti-am57xevm-cafd86d16111003c8ab15214c6e776e0beef016c.zip
am57xevm: sync project from jacinto6evm
sync project from jacinto6evm for the missing device settings Change-Id: Iff426fa3740023412f5cde0b31315bf4fe377a23 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--init.am57xevmboard.rc10
-rw-r--r--sepolicy/file_contexts6
-rw-r--r--tablet_core_hardware_am57xevm.xml2
-rw-r--r--ueventd.am57xevmboard.rc3
4 files changed, 5 insertions, 16 deletions
diff --git a/init.am57xevmboard.rc b/init.am57xevmboard.rc
index c4e490b..a2cebd6 100644
--- a/init.am57xevmboard.rc
+++ b/init.am57xevmboard.rc
@@ -1,7 +1,7 @@
1import /vendor/etc/init/hw/init.am57xevmboard.usb.rc 1import /vendor/etc/init/hw/init.am57xevmboard.usb.rc
2 2
3on early-init 3on early-init
4 mount debugfs /sys/kernel/debug /sys/kernel/debug 4 mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755
5 5
6on init 6on init
7 # Support legacy paths 7 # Support legacy paths
@@ -41,15 +41,7 @@ on boot
41 chmod 0755 /sys/kernel/debug/tracing 41 chmod 0755 /sys/kernel/debug/tracing
42 42
43 43
44 # PRU Eth Modules
45 insmod /system/lib/modules/pruss_intc.ko
46 insmod /system/lib/modules/pruss.ko
47 insmod /system/lib/modules/pru_rproc.ko
48 insmod /system/lib/modules/rpmsg_pru.ko
49 insmod /system/lib/modules/prueth.ko
50
51on fs 44on fs
52 mkdir /factory 0775 radio radio
53 mount_all /fstab.am57xevmboard 45 mount_all /fstab.am57xevmboard
54 46
55on late-init 47on late-init
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 81e21db..a27e9a3 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -1,10 +1,10 @@
1#Bluettoth tty device 1#Bluetooth tty device
2#/dev/hci_tty u:object_r:bluetooth_control:s0 2/dev/hci_tty u:object_r:bluetooth_control:s0
3#/dev/ttyS2 u:object_r:hci_attach_dev:s0 3#/dev/ttyS2 u:object_r:hci_attach_dev:s0
4#/system/bin/uim-sysfs u:object_r:hci_attach_exec:s0 4#/system/bin/uim-sysfs u:object_r:hci_attach_exec:s0
5 5
6#Console 6#Console
7/dev/ttyS0 u:object_r:console_device:s0 7/dev/ttyS2 u:object_r:console_device:s0
8 8
9#Graphics 9#Graphics
10/dev/dri/card0 u:object_r:gpu_device:s0 10/dev/dri/card0 u:object_r:gpu_device:s0
diff --git a/tablet_core_hardware_am57xevm.xml b/tablet_core_hardware_am57xevm.xml
index 85d042a..811dca1 100644
--- a/tablet_core_hardware_am57xevm.xml
+++ b/tablet_core_hardware_am57xevm.xml
@@ -29,7 +29,7 @@
29 <feature name="android.hardware.faketouch" /> 29 <feature name="android.hardware.faketouch" />
30 <feature name="android.hardware.microphone" /> 30 <feature name="android.hardware.microphone" />
31 <feature name="android.hardware.screen.landscape" /> 31 <feature name="android.hardware.screen.landscape" />
32 <feature name="android.hardware.bluetooth" /> 32 <!-- <feature name="android.hardware.bluetooth" /> -->
33 <feature name="android.software.app_widgets" /> 33 <feature name="android.software.app_widgets" />
34 <feature name="android.software.home_screen" /> 34 <feature name="android.software.home_screen" />
35 <!-- Feature to specify if the device supports adding device admins. --> 35 <!-- Feature to specify if the device supports adding device admins. -->
diff --git a/ueventd.am57xevmboard.rc b/ueventd.am57xevmboard.rc
index 9ca382c..4d48453 100644
--- a/ueventd.am57xevmboard.rc
+++ b/ueventd.am57xevmboard.rc
@@ -29,6 +29,3 @@
29# ipc 29# ipc
30/dev/uio0 0660 media system 30/dev/uio0 0660 media system
31/dev/hwspinlock 0660 media system 31/dev/hwspinlock 0660 media system
32
33# for GNSS
34/dev/tigps 0666 root root