From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corrupt by reading uninitialized flash memory instead of RAM.
Date: Fri, 09 May 2008 22:46:21 +0200 [thread overview]
Message-ID: <20080509204621.8310724764@gemini.denx.de> (raw)
In-Reply-To: Your message of "Tue, 06 May 2008 17:23:09 +0200." <20080506172309.1dff34bc@hskinnemo-gx620.norway.atmel.com>
In message <20080506172309.1dff34bc@hskinnemo-gx620.norway.atmel.com> you wrote:
>
> Hmm...maybe this is a stupid question, but why can't it _always_ use
> the RAM area to look up the environment? env_init() is one of the first
> things to be called during bootstrap...
One of the first accesses to the environment happens when we need to
read the console baudrate to initialize the serial interface. This
happens very, very early in the initialization, long before RAM is
even usable.
> Maybe it's wishful thinking, but if we could get rid of this extra
> logic, u-boot would become simpler, smaller and faster, right?
Unfortunately this is not the case.
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
All I ask is a chance to prove that money can't make me happy.
next prev parent reply other threads:[~2008-05-09 20:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-06 14:05 [U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corrupt by reading uninitialized flash memory instead of RAM Remy Bohmer
2008-05-06 15:23 ` Haavard Skinnemoen
2008-05-07 7:52 ` Remy Bohmer
2008-05-07 9:14 ` Haavard Skinnemoen
2008-05-09 20:46 ` Wolfgang Denk [this message]
2008-05-09 20:44 ` Wolfgang Denk
2008-05-10 9:46 ` [U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corruptby " Ulf Samuelsson
2008-05-11 20:48 ` Wolfgang Denk
2008-05-10 13:53 ` [U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corrupt by " Remy Bohmer
2008-05-11 22:43 ` Wolfgang Denk
2008-05-12 7:25 ` Joakim Tjernlund
2008-05-28 18:25 ` Joakim Tjernlund
2008-06-04 22:05 ` Wolfgang Denk
2008-06-12 6:52 ` Joakim Tjernlund
2008-07-05 22:32 ` Wolfgang Denk
2008-07-06 10:30 ` Joakim Tjernlund
2008-07-09 21:59 ` Wolfgang Denk
2008-07-16 12:43 ` Remy Bohmer
2008-07-22 12:26 ` Remy Bohmer
[not found] ` <-6864379040381327023@unknownmsgid>
2008-05-29 18:33 ` Remy Bohmer
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=20080509204621.8310724764@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