scripts/kwboot: new parameter -n to skip a number of NAKs
On some machines the CPU resets twice and so kwboot must hit the second
window to enter debug or boot mode. For this scenario it helps to ignore
a number of NAKs. If you choose a number too high for booting, the process
is only slowed down because when the CPU enters UART boot mode it sends NAKs
when not getting any input.

This new option also helps when there are voltage fluctuations due to the
power up sequence which might be interpreted as valid chars.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 67fafb1 commit 9de72c2e4f84b345b11b09e25de0ca6f2675340b
@Uwe Kleine-König Uwe Kleine-König authored on 11 Feb 2017
Sascha Hauer committed on 14 Feb 2017
Showing 1 changed file
View
scripts/kwboot.c