From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reinhard Meyer Date: Mon, 03 Jan 2011 21:34:34 +0100 Subject: [U-Boot] skip relocation In-Reply-To: <201101032041.14919.korgull@home.nl> References: <201101011631.39450.korgull@home.nl> <4D20E96B.7040108@emk-elektronik.de> <201101031957.33515.korgull@home.nl> <201101032041.14919.korgull@home.nl> Message-ID: <4D2232DA.4000605@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marcel, > On Monday, January 03, 2011 07:57:33 pm Marcel wrote: > > Great, I've got it to boot. > > I have no idea why it suddenly works, but I guess after reviewing my config and > changing a couple of things one of those things must have been the cause. > > CONFIG_SYS_TEXT_BASE is 0x7f300000 which is the final jump address as mentioned > in AT91bootstrap. If this address is near end of SDRAM, and since u-boot relocates itself to end of SDRAM, you might risk an overlap, depending on malloc and stack sizes. I'd advise to have AT91Bootstrap load u-boot to the very SDRAM start (so I did for our board). > > I guess the issue is solved now and I'll certainly check out at91bootstrap to > create my own low level init in u-boot. It eventually saves time at production > level I think and I generally like to keep things as simple as possible > anyways. Since all initialisation code is in at91bootstrap I guess I can just > move it from there to u-boot (sounds easy, but I guess there's some more to > it). It might not be THAT easy. Also be aware that at91bootstrap is not GPL-ed... Reinhard