diff options
author | Wei Wang <wvw@google.com> | 2016-11-21 17:58:09 -0800 |
---|---|---|
committer | Wei Wang <wvw@google.com> | 2016-11-21 17:58:09 -0800 |
commit | 929ba306074d978ce1de50d6544ccd009fe0c97b (patch) | |
tree | 26aad7cafc6d89d523ff7ee4d09f0ebca1387966 /init.bullhead.qseecomd.sh | |
parent | 5c25a3da90ba5b4b6517c436e63efca69aa5174d (diff) | |
download | bullhead-929ba306074d978ce1de50d6544ccd009fe0c97b.tar.gz |
bullhead: Accelerate boot by paralleling device enable
Some QCOM devices require sysfs to trigger boot/init which are blocking
the init process.
[ 7.453205] init: Command 'write /sys/kernel/boot_adsp/boot 1' action=post-fs-data (/init.angler.rc:166) returned 0 took 271.936ms.
This CL is to put those slow to start devices in a
separate service and wait for the service to be done later on.
Bug: 32712851
Test: On device
Change-Id: Idd4e965f122cbc8421b443a41573d363112dfa50
Diffstat (limited to 'init.bullhead.qseecomd.sh')
-rwxr-xr-x[-rw-r--r--] | init.bullhead.qseecomd.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init.bullhead.qseecomd.sh b/init.bullhead.qseecomd.sh index f126a77..25a477d 100644..100755 --- a/init.bullhead.qseecomd.sh +++ b/init.bullhead.qseecomd.sh @@ -1,5 +1,6 @@ #!/system/bin/sh +registered="`getprop sys.listeners.registered`" while [ "$registered" != "true" ] do sleep 0.1 |