RFC: Force a 2s delay on startup to allow bypassing /dev/env0.

Krzysztof Halasa khc at pm.waw.pl
Sun May 6 13:50:14 EDT 2012

Sascha Hauer <s.hauer at pengutronix.de> writes:

> Being able to interrupt before environment processing is a good thing to
> have, the delay though is not acceptable because it would increase the
> boot time on some systems by 400%. It should work without the delay
> aswell.

Actually the delay is a bit problematic for me as well.
Unfortunately the boot code has to initialize the serial port, clearing
the incoming FIFO. This means I can't "queue" the ^C character, barebox
has to wait for it (maybe not for the whole 2 seconds).

Or am I mistaken?
Krzysztof Halasa

More information about the barebox mailing list