[U-Boot] [PATCH] USB: add CONFIG_USB_INIT to autoinitialize USB before main_loop

Marek Vasut marek.vasut at gmail.com
Thu Dec 22 20:27:35 CET 2011


> --
> Curious about my work on the Debian powerpcspe port?
> I'm keeping a blog here: http://pureperl.blogspot.com/
> 
> >>> This allows systems to pause autoboot with USB keyboard.  Tested on
> >>> tegra2 seaboard.
> >>> 
> >>> Signed-off-by: Allen Martin <amartin at nvidia.com>
> >> 
> >> Can't you just add "usb reset" to preboot env?
> > 
> > The point is to be able to use USB keyboard to stop autoboot on systems
> > where USB keyboard is the primary (or only) input device.  This needs
> > to happen before BOOTCOMMAND gets parsed.
> 
> I think the "preboot" environment variable already *is* run before
> starting the autoboot timer?

Yep.

M


More information about the U-Boot mailing list