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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Sun, May 06, 2012 at 07:50:14PM +0200, Krzysztof Halasa wrote:
> Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> 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?

On my boards I can still interrupt even with autoboot_timeout=0. Have
you tried it? It may be a bit dependent on the UART driver, I don't


Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 |  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

barebox mailing list

[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux