public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Victor Wren <vwren@timension.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: MPC5200 Lowboot config
Date: Wed, 03 Dec 2003 14:03:12 -0800	[thread overview]
Message-ID: <3FCDED20.12076.98E0C8@localhost> (raw)
In-Reply-To: <3FBCA8EA.14100.319B6E@localhost>

I'm having some trouble with the lowboot config on the MPC5200LITE.

In looking through the configs, I notice, where TEXT_BASE=0xFF000000
#define ENVADDR=CFG_FLASH_BASE+30000

Since the u-boot image goes from FF000000 to FF035250, this would 
appear to drop the environment inside the u-boot code.  This is apparently
confirmed by the fact that when I do saveenv, u-boot will not come up 
anymore.  (this is without setting any environment variables, even).

When I write a virgin copy of u-boot to the flash, the addresses at FF0030000
appear to hold something other than environment values.  After saveenv, they
hold environment variables, and everything after the values is filled with 
zeroes (and u-boot is dead).

Is there a particular reason for having the ENV below the end of the u-boot 
image?  Is there a better place to put it? Possibly the beginning of the next 
sector (0xFF040000)

Victor Wren


Victor Wren
Designer,
Timension Inc.
1350 C Pear Ave
Mountain View CA 94043
(650) 564-9397
Fax: (650) 564-9398
Opinions stated in this letter are not necessarily
those of Timension Inc. or the management.  All
Rights Reserved.  No spitting.

  parent reply	other threads:[~2003-12-03 22:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14 19:09 [U-Boot-Users] Re: environment in flash not loaded Richard Klingler
2003-11-14 19:41 ` Nye Liu
2003-11-14 20:19   ` Wolfgang Denk
2003-11-14 22:02     ` Nye Liu
2003-11-20  2:10     ` 최광일
2003-11-20  8:12       ` Wolfgang Denk
2003-11-20 19:43         ` [U-Boot-Users] Help request, MPC5200 Lite -- i386 cross-compiling Victor Wren
2003-11-20 19:56           ` Nye Liu
2003-11-20 20:44           ` Wolfgang Denk
2003-11-26 18:34             ` [U-Boot-Users] Help request, MPC5200 Lite, Monitor Victor Wren
2003-11-26 22:41               ` Wolfgang Denk
2003-12-03 22:03           ` Victor Wren [this message]
2003-12-03 22:47             ` [U-Boot-Users] Re: MPC5200 Lowboot config Wolfgang Denk
2003-12-04  0:57               ` Victor Wren
2003-12-04  8:41                 ` Wolfgang Denk
2003-12-04 23:09                   ` [U-Boot-Users] Re: MPC5200 build Victor Wren
2003-12-05  0:30                     ` Wolfgang Denk
2003-12-05 20:29                       ` Victor Wren
2003-12-05 20:59                         ` Wolfgang Denk

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=3FCDED20.12076.98E0C8@localhost \
    --to=vwren@timension.com \
    --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