U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Young <young726@hotmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] TEXT_BASE question
Date: Wed, 23 Jun 2004 17:22:22 -0400	[thread overview]
Message-ID: <BAY2-F23dBdsnvUFcxT00007dc2@hotmail.com> (raw)

Hi,

I am trying to install u-boot on my walnut board with PPC405. In file 
board/walnut405/config.mk, TEXT_BASE is defined as FFFE0000. Does that mean 
the u-boot.bin has to start from FFFE0000?

My problem is that on my board the address space from FFF80000 to FFFFFFFF 
is reserved for a special purpose, so I can't put the u-boot.bin at 
FFFE0000. But if I change the TEXT_BASE to another one, for example 
FFF00000, then the u-boot.bin generated by the compiler is FFFFFFFF - 
FFF00000 = 1MB. It means I still can't put the u-boot.bin to FFF00000 
because it will overwrite the reserved address space anyway. I understand 
that u-boot is trying to fill the gap between TEXT_BASE and the end of the 
flash. So my question is:

1. If I use TEXT_BASE = FFFE0000 and simply put the u-boot.bin generated to 
FFF00000, will it mess up the addressing in the u-boot?

2. If the answer for 1 is yes, how can I move up the end of flash to 
FFF80000 so that the u-boot.bin will fill from FFF00000 to FFF80000 instead 
of from FFF00000 to FFFFFFFF?


Thanks,
Frank

_________________________________________________________________
Make the most of your family vacation with tips from the MSN Family Travel 
Guide! http://dollar.msn.com

             reply	other threads:[~2004-06-23 21:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-23 21:22 Frank Young [this message]
2004-06-23 21:45 ` [U-Boot-Users] TEXT_BASE question Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2007-09-27 22:04 robert lazarski
2007-09-28  3:08 ` Swarthout Edward L-SWARTHOU
2007-09-28 12:46   ` robert lazarski

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=BAY2-F23dBdsnvUFcxT00007dc2@hotmail.com \
    --to=young726@hotmail.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