[U-Boot] Bootdelay -1 for none autoboot does not work

Mario Albrecht ma at mackware.de
Tue Oct 8 09:54:19 CEST 2013


Hi,

the board uses an Freescale i.MX35 Controller.

When I use the u-boot revision 2013.01.01
with same configuration all works fine (-1 disables autoboot)
Only when I use u-boot 2013.07 it does not work.
I have looked in main.c and found the following differences:

2013.01.01: Line 68: #if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0)
2013.07: Line 88: #if defined(CONFIG_BOOTDELAY)

2013.01.01: Line 298: #if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0) && defined(CONFIG_OF_CONTROL)
2013.07: Line 286: #if defined(CONFIG_BOOTDELAY) && defined(CONFIG_OF_CONTROL)

Could it be, that -1 Value for disable autoboot is not longer
supported in u-boot 2013.07?

Regards Mario


-----Ursprüngliche Nachricht-----
Von: Robert P. J. Day [mailto:rpjday at crashcourse.ca] 
Gesendet: Montag, 7. Oktober 2013 21:10
An: Eric Nelson
Cc: Mario Albrecht; u-boot at lists.denx.de
Betreff: Re: [U-Boot] Bootdelay -1 for none autoboot does not work

On Mon, 7 Oct 2013, Eric Nelson wrote:

> Hi Mario,
>
> On 10/07/2013 09:05 AM, Mario Albrecht wrote:
> > Hi,
> >
> > i am using u-boot 213.07 and hav set CONFIG_BOOTDELAY to -1 to 
> > prevent autoboot. But u-boot seems to ignore the parameter and do 
> > autoboot after 1 second. Could someon please help why I cannot 
> > disable autoboot?
>
> Do you by chance have 'bootdelay' saved in a persistent environment?
>
> If memory serves, the 'bootdelay' environment variable over-rides the 
> default from the CONFIG variable.

  what board is this on?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the U-Boot mailing list