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
Loading
Please register or sign in to comment