public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: A. Geisreiter <ageisreiter@dh-electronics.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Set TEXT_BASE via <project>.h file?
Date: Thu, 28 Jan 2010 13:39:06 +0100	[thread overview]
Message-ID: <001701caa016$e383a2a0$aa8ae7e0$@de> (raw)
In-Reply-To: <20100128115252.GQ23389@leila.ping.de>

Hi Wolfgang,

Thanks for the fast response.
I have tried you're suggestion, but than U-Boot doesn't start. But I don't
get an compiler error. What could be the problem? 
I work with an PXA270 CPU and TEXT_BASE defines the base address of the RAM
copy monitor code.

Regards,
Andreas

-----Urspr?ngliche Nachricht-----
Von: Wolfgang Wegner [mailto:wolfgang at leila.ping.de] 
Gesendet: Donnerstag, 28. Januar 2010 12:53
An: A. Geisreiter
Cc: u-boot at lists.denx.de
Betreff: Re: [U-Boot] Set TEXT_BASE via <project>.h file?

Hi Andreas,

On Thu, Jan 28, 2010 at 12:31:44PM +0100, A. Geisreiter wrote:
> Hi,
> 
> I have a question to the TEXT_BASE setting in the config.mk file. Is it
> possible to set TEXT_BASE via a setting in the <project>.h file?

yes, it is.

In my <project>.h I set:
#define CONFIG_TEXT_BASE		0x40020000
(depending on some CONFIG_MK_... variable)

and in config.mk:
TEXT_BASE=$(CONFIG_TEXT_BASE)

Of course there may be other possibilities, but I found this one to
work after setting TEXT_BASE directly in <project>.h failed.

Regards,
Wolfgang

  reply	other threads:[~2010-01-28 12:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-28 11:31 [U-Boot] Set TEXT_BASE via <project>.h file? A. Geisreiter
2010-01-28 11:52 ` Wolfgang Wegner
2010-01-28 12:39   ` A. Geisreiter [this message]
2010-01-28 12:51     ` Wolfgang Wegner
2010-01-28 13:21       ` A. Geisreiter

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='001701caa016$e383a2a0$aa8ae7e0$@de' \
    --to=ageisreiter@dh-electronics.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