From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Wegner Date: Thu, 28 Jan 2010 13:51:25 +0100 Subject: [U-Boot] Set TEXT_BASE via .h file? In-Reply-To: <001701caa016$e383a2a0$aa8ae7e0$@de> References: <001001caa00d$7a2207b0$6e661710$@de> <20100128115252.GQ23389@leila.ping.de> <001701caa016$e383a2a0$aa8ae7e0$@de> Message-ID: <20100128125125.GS23389@leila.ping.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 Andreas, On Thu, Jan 28, 2010 at 01:39:06PM +0100, A. Geisreiter wrote: > 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. remote diagnosis is always difficult. ;-) Did you issue a "make mrproper", re-configure and the rebuild? For Coldfire targets I had some problems that all objects originating from C sources were correctly rebuilt after changing .h, but not the objects originating from assembler sources. In the case of Coldfire, TEXT_BASE is also used in the assembler CPU startup code, so this would lead to the exact problem you describe... Currently I have no other ideas. Regards, Wolfgang