aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Mansson <tony.mansson@linaro.org>2011-12-13 04:23:04 +0100
committerTony Mansson <tony.mansson@linaro.org>2011-12-13 04:23:04 +0100
commit335a307bff6ad175d1df2273217a0fa3337f48bb (patch)
treeccb1e1d517112f7af7889658609e3d86bb52e2c4
parentcf4f8e7a232d691af4699293b8e16de453de467d (diff)
downloadimx53-335a307bff6ad175d1df2273217a0fa3337f48bb.tar.gz
imx53: Enabling service gatord
Need to add the service gatord to a class to make it start at boot. Currently there are the classes core and main. Adding it to main. Setting TARGET_USE_GATOR:= true in BoardConfig.mk. Change-Id: I7011ae263d4fcf5e8778017e9e11c5f7c3aac474
-rw-r--r--BoardConfig.mk2
-rw-r--r--init.rc3
2 files changed, 3 insertions, 2 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 54782aa..7a47ee6 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -44,4 +44,4 @@ BOARD_FLASH_BLOCK_SIZE := 4096
TARGET_EXTRA_CFLAGS += $(call cc-option,-mtune=cortex-a8) $(call cc-option,-mcpu=cortex-a8)
# ARMs gator (DS-5)
-#TARGET_USE_GATOR:= true
+TARGET_USE_GATOR:= true
diff --git a/init.rc b/init.rc
index daaad7a..5a1479b 100644
--- a/init.rc
+++ b/init.rc
@@ -432,5 +432,6 @@ service dumpstate /system/bin/dumpstate -s
#userspace daemon needed for gator
service gatord /system/bin/gatord
+ class main
user root
- oneshot
+