Merge "first_stage_init: increase serial console tries to 50" into rvc-dev
This commit is contained in:
commit
51ae53fa1c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue