diff options
author | Will McVicker <willmcvicker@google.com> | 2020-04-06 10:29:36 -0700 |
---|---|---|
committer | Will Mcvicker <willmcvicker@google.com> | 2020-04-06 19:49:00 +0000 |
commit | 283128f26a532ad22d38d3f5de04470ae1e39820 (patch) | |
tree | 9feec8185b5e38ab41f7cef1b691d7c3cbb7a27f /trusty/coverage/coverage.cpp | |
parent | a05e2b1a92be5acd22896d4c844a01326c1f99f5 (diff) |
first_stage_init: increase serial console tries to 50
tl,dr;
Increase the attempts to 50 to reduce the chances of failing
to load the serial console. This will only happen if the cmdline
parameter "androidboot.first_stage_console=1" is enabled.
Details:
10 attempts only amounts to about 1 second of trying to open the serial
console. I tested booting an ACK GKI image 5x with 20 vendor modules and
found the serial console loaded on attempt 17 for all five boot
tests.
Bug: 153354917
Test: boot ACK image 5x and verify serial console comes up
Change-Id: I161a4176b2c6cf7b0bc1eefe072ff38b894add5d
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions