From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Date: Fri, 12 Sep 2008 09:55:10 +0200 Subject: [U-Boot] ctrl-c detection (on 4xx platforms) In-Reply-To: <200809120900.56200.matthias.fuchs@esd-electronics.com> References: <200809111723.54133.matthias.fuchs@esd-electronics.com> <20080911205543.4E25C248B8@gemini.denx.de> <200809120900.56200.matthias.fuchs@esd-electronics.com> Message-ID: <200809120955.10866.matthias.fuchs@esd-electronics.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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@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 -------------------------------------------------------------------------