From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] saveenv problems
Date: Fri, 31 Oct 2008 12:30:33 +0100 [thread overview]
Message-ID: <20081031113033.64371874F93C@gemini.denx.de> (raw)
In-Reply-To: <490AE49C.80304@team-ctech.de>
Dear Georg,
In message <490AE49C.80304@team-ctech.de> you wrote:
>
> i have a strange problem with the saveenv command, or maybe with my
> config :)
>
> After booting a fresh compiled u-boot with the default environment i
> can save the env without any problems. U-boot unprotect, erase and
> write the flash. but after add a new env-variable, e.g. bootargs,
> saveenv will unprotect the flash, erase the flash but then u-boot will
> not write the flash because the "Flash not Erased" error.
>
> Is there a different in addressing the env during boot-time, or read
> and write ?
Timing...
You may see a problem similar to mine (patch just went into the CFI
repo).
What exactly is your flash configuration? Bus width? Which flash
chips? How can the bus be read? I mean, for example if you use 2 x 16
bit devices in parallel to provide a 32 bit bus, can your CPU
actually perform an atomic 32 bit read from that bus? [Same for 16 or
64 instead of 32].
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
Do not underestimate the value of print statements for debugging.
Don't have aesthetic convulsions when using them, either.
next prev parent reply other threads:[~2008-10-31 11:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-31 10:57 [U-Boot] saveenv problems Georg Schardt
2008-10-31 11:30 ` Wolfgang Denk [this message]
2008-10-31 13:53 ` Georg Schardt
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=20081031113033.64371874F93C@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