Merge "first_stage_init: increase serial console tries to 50" into rvc-dev

This commit is contained in:
Will Mcvicker 2020-04-07 20:24:02 +00:00 committed by Android (Google) Code Review
commit 51ae53fa1c

View file

@ -107,7 +107,7 @@ void StartConsole() {
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);