[U-Boot] ctrl-c detection (on 4xx platforms)

Matthias Fuchs matthias.fuchs at esd-electronics.com
Fri Sep 12 09:55:10 CEST 2008


Hi,

when I disable CONFIG_AUTOBOOT_KEYED ctrl-c checking is not disabled.
We are using CONFIG_AUTOBOOT_KEYED to have a special key (SPACE) to
abort autoboot and not the 'any' key.

Is there any special reason why ctrl-c checking is disabled for CONFIG_AUTOBOOT_KEYED?

Matthias

On Friday 12 September 2008 09:00, Matthias Fuchs wrote:
> Hi Wolfgang,
> 
> yes I do have CONFIG_AUTOBOOT_KEYED enabled. It's the PMC440 board:
> 
> include/configs/PMC440.h:
> ...
> #define CONFIG_AUTOBOOT_KEYED	1
> #define CONFIG_AUTOBOOT_PROMPT	\
> 	"Press SPACE to abort autoboot in %d seconds\n", bootdelay
> #undef CONFIG_AUTOBOOT_DELAY_STR
> #define CONFIG_AUTOBOOT_STOP_STR " "
> ...
> 
> Matthias
> 
> 
> On Thursday 11 September 2008 22:55, Wolfgang Denk wrote:
> > Dear Matthias Fuchs,
> > 
> > In message <200809111723.54133.matthias.fuchs at esd-electronics.com> you wrote:
> > > 
> > > I noticed some strange CTRL-C behavior in a BSP command. 
> > > When I run my bsp command interactively everything is fine.
> > ...
> > > But when I call this bsp command as bootcmd CTRL-C does not stop the while loop. So CTRL-C 
> > > is not detected. Any idea?
> > 
> > Do you happen to have CONFIG_AUTOBOOT_KEYED set in your board
> > configuration?
> > 
> > Best regards,
> > 
> > Wolfgang Denk
> > 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 
> 

-- 
-------------------------------------------------------------------------
Dipl.-Ing. Matthias Fuchs
Head of System Design

esd electronic system design gmbh
Vahrenwalder Str. 207 - 30165 Hannover - GERMANY
Phone: +49-511-37298-0 - Fax: +49-511-37298-68
Please visit our homepage http://www.esd.eu
Quality Products - Made in Germany
-------------------------------------------------------------------------
Geschäftsführer: Klaus Detering, Dr. Werner Schulze
Amtsgericht Hannover HRB 51373 - VAT-ID DE 115672832
-------------------------------------------------------------------------


More information about the U-Boot mailing list