summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2017-01-17 18:44:29 -0600
committerPraneeth Bajjuri2017-01-17 18:57:44 -0600
commit9b81bedc83b576f1bfe91d61432cf637e11b1524 (patch)
tree8d9d9733db2a8cb5c665760357f5031c46046be3
parent93c16301be3f60467dead8135f9bc6c734240dcc (diff)
downloaddevice-ti-am57xevm-9b81bedc83b576f1bfe91d61432cf637e11b1524.tar.gz
device-ti-am57xevm-9b81bedc83b576f1bfe91d61432cf637e11b1524.tar.xz
device-ti-am57xevm-9b81bedc83b576f1bfe91d61432cf637e11b1524.zip
enable systrace functionality
Enable systrace support for jacinto6evm. Most of the permission configurations are done by "init.trace.rc", these are additional permissions needed. Needed for CTS Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [move to am57xevm] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: Ieef6535094dfc7db1d36a62344988b873ce7337e
-rw-r--r--init.am57xevmboard.rc8
1 files changed, 7 insertions, 1 deletions
diff --git a/init.am57xevmboard.rc b/init.am57xevmboard.rc
index 007ed35..d48a4f3 100644
--- a/init.am57xevmboard.rc
+++ b/init.am57xevmboard.rc
@@ -1,7 +1,7 @@
1import /init.am57xevmboard.usb.rc 1import /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
@@ -35,6 +35,12 @@ on boot
35 # 2d blitter 35 # 2d blitter
36 insmod /system/lib/modules/galcore.ko physSize=0xc0000000 36 insmod /system/lib/modules/galcore.ko physSize=0xc0000000
37 37
38 # Set up kernel tracing, but disable it by default
39 chmod 0222 /sys/kernel/debug/tracing/trace_marker
40 write /sys/kernel/debug/tracing/tracing_on 0
41 chmod 0755 /sys/kernel/debug/tracing
42
43
38on fs 44on fs
39 mkdir /factory 0775 radio radio 45 mkdir /factory 0775 radio radio
40 mount_all /fstab.am57xevmboard 46 mount_all /fstab.am57xevmboard