From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [u-boot]automatic reset of variables to defaults
Date: Thu, 17 Nov 2011 19:17:56 +0100 [thread overview]
Message-ID: <20111117181756.49B8416F44DA@gemini.denx.de> (raw)
In-Reply-To: <4EC52BD7.2090202@googlemail.com>
Dear Dennis Borgmann,
In message <4EC52BD7.2090202@googlemail.com> you wrote:
>
> I am experiencing a problem concerning variables being set and later
> getting lost.
It is impossible to comment on this without knowing _anything_ about
your system - which exact version of U-boot you are running
(well, obviously it is an ot-of-tree port, so it's twice impossible to
help), which CPU / SoC tthis is, which board, etc.
> These are the steps, that I take:
>
> [code]
> setenv OS_SDRAM 0x21000000
This makes no sense to me, as none of the mainline versions of U-Boot
uses such a setting.
> Sometimes, the bootloader looses this configuration and resets its
> variable "OS_SDRAM" back to its default value. Once, the bootloader has
What are the exact circumstances and especially the exct error
messages when this happens?
Where is the environment stored on your board? [In NOR or NAND flash
or ... ?]
Are you using redundant environment?
> 1. What else might be the cause of this?
We don't know your code, so how could we comment?
> 2. How could I prevent u-boot from resetting to its default value?
We don;t understand the nature of the problem, so how could we
recommend a cure?
Best regards,
Wolfgang Denk
--
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
HANDLE WITH EXTREME CARE: This Product Contains Minute Electrically
Charged Particles Moving at Velocities in Excess of Five Hundred
Million Miles Per Hour.
next prev parent reply other threads:[~2011-11-17 18:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-17 15:44 [U-Boot] [u-boot]automatic reset of variables to defaults Dennis Borgmann
2011-11-17 18:17 ` Wolfgang Denk [this message]
2011-11-17 18:26 ` Marek Vasut
-- strict thread matches above, loose matches on Subject: below --
2011-11-17 15:46 Dennis Borgmann
2011-11-17 18:26 ` Jerry Van Baren
2011-11-18 8:36 ` Dennis Borgmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111117181756.49B8416F44DA@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox