Dear paavaanan_...@dell.com,

In message 
<d5a6f3355f664c40afb65bb1277d8d450193b22...@maax7mcdc101.apac.dell.com> you 
wrote:
>
> 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.

BIOSes and BIOS compatible extension cards (say, PCI controllers) are
usually a major PITA when you are not working in an environment where
you have a real keyboard attached.  We're dealing with embedded
devices here, and often we have only communication paths like a serial
port (eventually even over a modem line), or netconsole.

Have you ever tried to transmit some "ALT + some_key" control
sequences over a serial port?

> 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.

This is done because usually we do not have a real keyboard.  So
anything that cannot be mapped into the standard ASCII character set
cannot be used here.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Any fool can make things bigger, more complex, and more  violent.  It
takes  a  touch  of  genius  -  and a lot of courage - to move in the
opposite direction.                                 - Albert Einstein
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to