commit | 0919f10fa29885d0ac6c9c51c5033a6ee3cb6fd3 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Apr 15 18:47:56 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Apr 15 18:47:56 2020 +0000 |
tree | a9c67f6f1873c3d89ada5002cce20eb79af0d439 | |
parent | 0b708cba86d04442cffe5d76bb11e90fa03f8155 [diff] | |
parent | c4793572f37fbf883baade162c7bf51eff314b27 [diff] |
Merge "first_stage_init: increase serial console tries to 50"
diff --git a/init/first_stage_init.cpp b/init/first_stage_init.cpp index ef8ffbe..ad546bf 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);