All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Bootdelay -1 for none autoboot does not work
@ 2013-10-07 16:05 Mario Albrecht
  2013-10-07 19:04 ` Eric Nelson
  0 siblings, 1 reply; 5+ messages in thread
From: Mario Albrecht @ 2013-10-07 16:05 UTC (permalink / raw)
  To: u-boot

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?

Regards Mario

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Bootdelay -1 for none autoboot does not work
  2013-10-07 16:05 [U-Boot] Bootdelay -1 for none autoboot does not work Mario Albrecht
@ 2013-10-07 19:04 ` Eric Nelson
  2013-10-07 19:09   ` Robert P. J. Day
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Nelson @ 2013-10-07 19:04 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Bootdelay -1 for none autoboot does not work
  2013-10-07 19:04 ` Eric Nelson
@ 2013-10-07 19:09   ` Robert P. J. Day
  2013-10-08  7:54     ` Mario Albrecht
  2013-10-08  8:13     ` Mario Albrecht
  0 siblings, 2 replies; 5+ messages in thread
From: Robert P. J. Day @ 2013-10-07 19:09 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Bootdelay -1 for none autoboot does not work
  2013-10-07 19:09   ` Robert P. J. Day
@ 2013-10-08  7:54     ` Mario Albrecht
  2013-10-08  8:13     ` Mario Albrecht
  1 sibling, 0 replies; 5+ messages in thread
From: Mario Albrecht @ 2013-10-08  7:54 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Bootdelay -1 for none autoboot does not work
  2013-10-07 19:09   ` Robert P. J. Day
  2013-10-08  7:54     ` Mario Albrecht
@ 2013-10-08  8:13     ` Mario Albrecht
  1 sibling, 0 replies; 5+ messages in thread
From: Mario Albrecht @ 2013-10-08  8:13 UTC (permalink / raw)
  To: u-boot

Hi,

i have found a working configuration.
When I comment out the CONFIG_BOOTDELAY in the board header file,
autoboot is disabled. 

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-08  8:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 16:05 [U-Boot] Bootdelay -1 for none autoboot does not work Mario Albrecht
2013-10-07 19:04 ` Eric Nelson
2013-10-07 19:09   ` Robert P. J. Day
2013-10-08  7:54     ` Mario Albrecht
2013-10-08  8:13     ` Mario Albrecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.