From mboxrd@z Thu Jan 1 00:00:00 1970 From: A. Geisreiter Date: Thu, 28 Jan 2010 13:39:06 +0100 Subject: [U-Boot] Set TEXT_BASE via .h file? In-Reply-To: <20100128115252.GQ23389@leila.ping.de> References: <001001caa00d$7a2207b0$6e661710$@de> <20100128115252.GQ23389@leila.ping.de> Message-ID: <001701caa016$e383a2a0$aa8ae7e0$@de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.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 .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 .h file? yes, it is. In my .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 .h failed. Regards, Wolfgang