aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2011-12-09 13:04:40 +0000
committerJon Medhurst <tixy@linaro.org>2011-12-09 13:04:40 +0000
commitb51fef65a0083b3778edf91dd6df79483e162f54 (patch)
treee64f117eaf4bb4bcdd672e8b403497ae77fb9c71
parent2a2955755f5a81f81f2bebbce889c224cbc73f08 (diff)
downloadvexpress-a9-b51fef65a0083b3778edf91dd6df79483e162f54.tar.gz
vexpress-a9: hack to get gatord and adb working at boot
As there is currently no Ethernet Communication Manager (ECM) on ICS (bug #894502) we need some hackery to bring up networking at boot time. This will let gator and adb work without manual intervention. Hopefull, this can be reverted when we have ECM Change-Id: Ice094c168c4742e011e2c36e8d82a26f2a18f6db Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r--init.arm-versatileexpress.rc10
1 files changed, 9 insertions, 1 deletions
diff --git a/init.arm-versatileexpress.rc b/init.arm-versatileexpress.rc
index 2aaa6b7..a34c208 100644
--- a/init.arm-versatileexpress.rc
+++ b/init.arm-versatileexpress.rc
@@ -58,9 +58,17 @@ service faketsd /system/bin/faketsd
group bluetooth
oneshot
+# hack to start networking until ICS has Ethernet Communication Manager
+# this will enable use of ADB and gator without further manual
+# intervention, it does not let UI apps like the web browser work
+service netcfghack /system/bin/netcfg eth0 dhcp
+ class main
+ user root
+ oneshot
+
#userspace daemon needed for gator
service gatord /system/bin/gatord
class main
user root
- oneshot
+