From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Cavallini Date: Tue, 19 Sep 2006 07:59:16 +0200 Subject: [U-Boot-Users] support usb storage in u-boot for at91rm9200 In-Reply-To: <450EFF6F.7090804@atmel.com> References: <450EFF6F.7090804@atmel.com> Message-ID: <450F8734.5090301@koansoftware.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Your problem is that U-boot is linked to the wrong address (0). > Instead it should be linked to the position, where you intend to run > u-boot (in SDRAM) > I know Wolfgang Denx diesnt like the idea of running U.boot from RAM, > but you cannot run from an SPI flash, have to copy to RAM first, > and the SDRAM on AT91RM9200 is located at 0x20000000 and above. > > The prinout you see, is not from U.boot. > It looks like a customized version of "dataflashboot.bin" > It "bombs" after dataflashboot.bin has loaded u-boot into SDRAM > and jumped to it starting point. > > Since it is in the wrong locatgion, all the constant string pointers are > off, and really only points at '\0' characters, so any attempt to > printout data will fail. > > If you are using Dataflash to store u-boot, you can read this as well. http://www.koansoftware.com/it/art.php?art=90 HTH -- Marco Cavallini Koan s.a.s. - Bergamo - ITALIA Embedded and Real-Time Software Engineering - Atmel Third Party Consultant Tel. +39-(0)35-255.235 - Fax +39-178-223.9748 www.KoanSoftware.com | www.KaeilOS.com