summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2017-10-02 16:19:34 -0500
committerPraneeth Bajjuri2017-10-02 17:35:19 -0500
commit64424441ab46abfc53daa8a327d2e0f7f3be84ea (patch)
treea8627de1f78f1865ce3d51faaf472761a718f531
parent33973c13f82372fd2b9c1dc76e9bd374dfd4f147 (diff)
downloaddevice-ti-am57xevm-64424441ab46abfc53daa8a327d2e0f7f3be84ea.tar.gz
device-ti-am57xevm-64424441ab46abfc53daa8a327d2e0f7f3be84ea.tar.xz
device-ti-am57xevm-64424441ab46abfc53daa8a327d2e0f7f3be84ea.zip
Revert "am57xevm: move soc specific init files to vendor partition"
This reverts commit 0c09a0783488d23ddc63437f35d608c623f6a597. Change-Id: I9cfae262e91adbf1008bc93061546e97d30d19c0 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--device.mk8
-rw-r--r--init.am57xevmboard.rc4
-rw-r--r--sepolicy/file_contexts2
3 files changed, 7 insertions, 7 deletions
diff --git a/device.mk b/device.mk
index 6bdbb29..599f6e6 100644
--- a/device.mk
+++ b/device.mk
@@ -40,9 +40,9 @@ PRODUCT_COPY_FILES := \
40 $(LOCAL_KERNEL):kernel \ 40 $(LOCAL_KERNEL):kernel \
41 device/ti/am57xevm/tablet_core_hardware_am57xevm.xml:system/etc/permissions/tablet_core_hardware_am57xevm.xml \ 41 device/ti/am57xevm/tablet_core_hardware_am57xevm.xml:system/etc/permissions/tablet_core_hardware_am57xevm.xml \
42 device/ti/am57xevm/manifest.xml:vendor/manifest.xml \ 42 device/ti/am57xevm/manifest.xml:vendor/manifest.xml \
43 device/ti/am57xevm/init.am57xevmboard.rc:vendor/etc/init/hw/init.am57xevmboard.rc \ 43 device/ti/am57xevm/init.am57xevmboard.rc:root/init.am57xevmboard.rc \
44 device/ti/am57xevm/init.am57xevmboard.usb.rc:vendor/etc/init/hw/init.am57xevmboard.usb.rc \ 44 device/ti/am57xevm/init.am57xevmboard.usb.rc:root/init.am57xevmboard.usb.rc \
45 device/ti/am57xevm/ueventd.am57xevmboard.rc:vendor/ueventd.rc \ 45 device/ti/am57xevm/ueventd.am57xevmboard.rc:root/ueventd.am57xevmboard.rc \
46 device/ti/am57xevm/fstab.am57xevmboard:root/fstab.am57xevmboard \ 46 device/ti/am57xevm/fstab.am57xevmboard:root/fstab.am57xevmboard \
47 device/ti/am57xevm/media_profiles.xml:system/etc/media_profiles.xml \ 47 device/ti/am57xevm/media_profiles.xml:system/etc/media_profiles.xml \
48 device/ti/am57xevm/media_codecs.xml:system/etc/media_codecs.xml \ 48 device/ti/am57xevm/media_codecs.xml:system/etc/media_codecs.xml \
@@ -68,7 +68,7 @@ PRODUCT_COPY_FILES += \
68 68
69# cpuset configuration 69# cpuset configuration
70PRODUCT_COPY_FILES += \ 70PRODUCT_COPY_FILES += \
71 device/ti/am57xevm/init.am57xevmboard.cpuset.sh:vendor/bin/init.am57xevmboard.cpuset.sh 71 device/ti/am57xevm/init.am57xevmboard.cpuset.sh:system/bin/init.am57xevmboard.cpuset.sh
72 72
73 73
74PRODUCT_PROPERTY_OVERRIDES := \ 74PRODUCT_PROPERTY_OVERRIDES := \
diff --git a/init.am57xevmboard.rc b/init.am57xevmboard.rc
index 71f2291..641e721 100644
--- a/init.am57xevmboard.rc
+++ b/init.am57xevmboard.rc
@@ -1,4 +1,4 @@
1import /vendor/etc/init/hw/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 mode=755 4 mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755
@@ -23,7 +23,7 @@ on post-fs-data
23 23
24on boot 24on boot
25 # execute script to set cpuset configuration 25 # execute script to set cpuset configuration
26 exec - root root system -- /vendor/bin/init.am57xevmboard.cpuset.sh 26 exec - root root system -- /system/bin/init.am57xevmboard.cpuset.sh
27 27
28 # wi-fi 28 # wi-fi
29 mkdir /data/misc/wifi/sockets 0770 wifi wifi 29 mkdir /data/misc/wifi/sockets 0770 wifi wifi
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index a27e9a3..c46e517 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -23,7 +23,7 @@
23/dev/rtc0 u:object_r:rtc:s0 23/dev/rtc0 u:object_r:rtc:s0
24 24
25#cpuset script 25#cpuset script
26/vendor/bin/init.am57xevmboard.cpuset.sh u:object_r:init-cpuset-sh_exec:s0 26/system/bin/init.am57xevmboard.cpuset.sh u:object_r:init-cpuset-sh_exec:s0
27#Block devices 27#Block devices
28/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/system u:object_r:system_block_device:s0 28/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/system u:object_r:system_block_device:s0
29/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/recovery u:object_r:recovery_block_device:s0 29/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/recovery u:object_r:recovery_block_device:s0