[U-Boot] bootstopkey reason behind it

Paavaanan_T_N at Dell.com Paavaanan_T_N at Dell.com
Fri Aug 2 13:41:02 CEST 2013


I want to configure bootstopkey to  [ctrl + B] combination, So in bootprompt I gave 
=> setenv boostopkey ^B
=> saveenv

Issuing printenv shows 
boostopkey=^B

But, after issuing reset the key combination didn't stopped the autoboot. 
Do my steps are right ? 


-----Original Message-----
From: Stefano Babic [mailto:sbabic at denx.de] 
Sent: Friday, August 02, 2013 5:05 PM
To: N, Paavaanan T
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] bootstopkey reason behind it

On 02/08/2013 07:58, Paavaanan_T_N at Dell.com wrote:
> Hi,
> 
> To stop autoboot we have 2 ifdef  (CONFIG_AUTOBOOT_STOP_ [STR2 || 
> STR1] ). Which is very easy and straightforward to implement. Halting 
> a boot with single "Keystroke" is having its own advantages to the 
> user. But, why multiple key support is ignored say like [ctrl + anykey 
> ] combination. Especially, BIOS vendors prefer at least simultaneous 
> pressing of 2 or more keys to halt the boot. Any specific reasons to 
> avoid this. Other than simplicity is there any specific reason to 
> stick on this.
> 
> I mean why  simultaneous two key press support is avoided and 
> implemented  a secondary bootstopkey to halt the boot say like 
> CONFIG_AUTOBOOT_STOP_STR2.

But does not the keyboard send a single key code ? Maybe it is enough you put in CONFIG_AUTOBOOT_STOP_STR1 the keycode of your CTRL+key.

Best regards,
Stefano Babic



--
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================


More information about the U-Boot mailing list