[U-Boot] [PATCH] common/main: support bootdelay=0 for CONFIG_AUTOBOOT_KEYED

Peter Korsgaard jacmet at sunsite.dk
Fri Dec 12 00:52:24 CET 2008


>>>>> "Wolfgang" == Wolfgang Denk <wd at denx.de> writes:

 Wolfgang> Dear Peter Korsgaard,
 Wolfgang> In message <1228922656-27689-1-git-send-email-jacmet at sunsite.dk> you wrote:
 >> Support bootdelay=0 in abortboot for the CONFIG_AUTOBOOT_KEYED case
 >> similar to the CONFIG_ZERO_BOOTDELAY_CHECK support for the
 >> !CONFIG_AUTOBOOT_KEYED case.

 Wolfgang> Ummm... how do you enter the "password" when you have no time to do
 Wolfgang> this?

Before the loop starts, just like the CONFIG_ZERO_BOOTDELAY_CHECK
stuff.

E.G. I have:

#define CONFIG_BOOTDELAY        0
#define CONFIG_AUTOBOOT_KEYED   1
#define CONFIG_AUTOBOOT_STOP_STR "c"

And I can stop autoboot if I connect a serial cable to the board and
hold down the 'c' button while powering up the board.

-- 
Bye, Peter Korsgaard


More information about the U-Boot mailing list