From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ray Zhao Date: Fri, 15 Jul 2005 14:29:34 -0400 Subject: [U-Boot-Users] Re: how can I boot u-boot from 0x40000 in flash instead In-Reply-To: <20050715165053.9DD4B3539FE@atlas.denx.de> References: <20050715165053.9DD4B3539FE@atlas.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Thanks. I am a newbie on u-boot. 1. I changed the u-boot.lds in my board directory. in the line .=0x00000000 I changed it to .=0x00040000 2. Could you please tell me where are the codes which COPY the code from flash to the cache and sdram? best regard Ray On 7/15/05, Wolfgang Denk wrote: > In message you wrote: > > > > 0x0000 (right?). How could I let it know that the u-boot is actually > > locates in the 0x40000. > > Change at least the linker script. Probaly you will need to tweak a > few other places as well. > > Best regards, > > Wolfgang Denk > > -- > Software Engineering: Embedded and Realtime Systems, Embedded Linux > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de > "Pull the wool over your own eyes!" - J.R. "Bob" Dobbs > -- --------------------------------------------------------------- Everything that has a beginning has an end.