[U-Boot-Users] relocate_code problem

Wolfgang Denk wd at denx.de
Tue Jul 6 23:10:00 CEST 2004


In message <40EADF20.20424.AE0466 at localhost> you wrote:
> 
> > > of in_ram correctly, but the copied code is somehow shifted.
> > 
> > Maybe it just looks shifted or repeated?
> You are right. It was hard to accept the idea that the seen code was not within the RAM.

Probably your SDRAM init sequence is broken.

> It was not the problem to find relocate_code. I was not smart enough to recognize
> the nice little loop. Because the destination content did not change during relocate_code,
> I thought it was done elsewhere.

Well, check your RAM init code.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Wenn das dann in die Hose geht, nehme ich es auf meine Kappe.
                                         -- Rudi Völler, 15. Nov 2003




More information about the U-Boot mailing list