Skip to contentSkip to conversation

can't save environment variable "bootdelay"

U-Boot-Users sun 3 participants 5 messages Oct 25, 2007 – Oct 26, 2007

lore
Share & tools
lore
#1 lore raw

sun wrote on Thursday, October 25, 2007 10:49 AM:

Quoted 5 lines

Hi,all

Why i can't change the environment variable "bootdelay" ,when i
changed it to bootdelay=5 or bootdelay=1,when i reboot the board and print the bootdelay still be bootdelay=3, Why?

Did you save your environment before rebooting? The following commands should set the variable permanently:

# setenv bootdelay 5
# save

Best regards,
Martin Krause

#2 lore raw
In reply to sun
Quoted 2 lines · In message <[email protected]> you wrote:

Why i can't change the environment variable "bootdelay" ,when i changed it to bootdelay=5 or bootdelay=1,when i reboot the board and print the bootdelay still be bootdelay=3, Why?

Because you forgot to "ssaveenv" or you made a common mistake? See
http://www.denx.de/wiki/view/DULG/UBootCmdGroupEnvironment#Section_5.9.6.3.
and search for "common mistake".

Quoted 3 lines

--0-1437917616-1193302147=:81401
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit

And never post HTML here!

Best regards,

Wolfgang Denk

Signature · 5 lines
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: wd at denx.de
Faith may be defined briefly as an illogical belief in the  occurence
of the improbable.                                    - H. L. Mencken
#4 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

no
I have run "save",but it doesn't work.

Then fix your board port, it is broken.

Quoted 2 lines

Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit

And *stop* posting HTML here.

Wolfgang Denk

Signature · 8 lines
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: wd at denx.de
Ill-chosen abstraction is particularly evident in the design  of  the
ADA  runtime  system.  The  interface to the ADA runtime system is so
opaque that it is impossible to model  or  predict  its  performance,
making it effectively useless for real-time systems.
                              - Marc D.  Donner and David H. Jameson.