commit | 020cd53592093143c4de5cf6c852fbd719175c54 | [log] [tgz] |
---|---|---|
author | Will Mcvicker <willmcvicker@google.com> | Tue Apr 07 20:24:02 2020 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Apr 07 20:24:02 2020 +0000 |
tree | f3daf911c334e6c4fb761517aefe548c4e6d1924 | |
parent | 2ed83e7442c44742caae2a1805fee58af913c974 [diff] | |
parent | 2920c6f8b1a765bce50d85abf106075376af9e15 [diff] |
Merge "first_stage_init: increase serial console tries to 50" into rvc-dev
diff --git a/init/first_stage_init.cpp b/init/first_stage_init.cpp index bd71cb5..438b44e 100644 --- a/init/first_stage_init.cpp +++ b/init/first_stage_init.cpp
@@ -107,7 +107,7 @@ return; } int fd = -1; - int tries = 10; + int tries = 50; // should timeout after 5s // The device driver for console may not be ready yet so retry for a while in case of failure. while (tries--) { fd = open("/dev/console", O_RDWR);