All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Lange <thomas@corelatus.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Loading u-boot
Date: Wed, 12 Nov 2003 19:50:44 +0100	[thread overview]
Message-ID: <3FB28104.9070702@corelatus.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0311121126530.9075-100000@dallas.texasconnect.net>

U-boot _has_ to be stored at the address specified in TEXT_BASE.
If you set TEXT_BASE to RAM and then try to run it from flash, it will
not work.

_Maybe_ you can set TEXT_BASE to shadow flash ( xBEC00000 ) and launch
it from YAMON. I have not tried this.
Be sure to locate the correct entry point if you want to try this.

/Thomas

Ed Okerson wrote:
> Thanks to some help from Thomas Lange, I think I am about ready to load
> u-boot on my DbAu1500 (Zinfandel) board.  The problem I have now is, how
> exactly does one do that?  The board currently has Yamon in the boot flash
> at 0xbfc00000, and has secondary flash at 0xbec00000.  The s-records in
> u-boot.srec indicate that it wants to load at 0xbfc00000, but that causes
> yamon to overwrite itself and crashes.  I have tried changing TEXT_BASE to
> 0xbec00000, and the s-records then look correct but it still doesn't load.
> I then tried changing TEXT_BASE to 0xa0100000 to get the s-records to load
> to ram, which appeared to work, I then erased the secondary flash
> and copied the ram to flash with:
> 
> YAMON> erase bec00000 100000
> YAMON> copy a0100000 bec00000 100000
> 
> Then flipped the swap flash switch and hit reset, and the system did not
> boot.  Can anyone enlighten me on how to do this?
> 
> Thanks
> Ed Okerson
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 

      reply	other threads:[~2003-11-12 18:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-12 17:39 [U-Boot-Users] Loading u-boot Ed Okerson
2003-11-12 18:50 ` Thomas Lange [this message]

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=3FB28104.9070702@corelatus.com \
    --to=thomas@corelatus.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.