From mboxrd@z Thu Jan 1 00:00:00 1970 From: Friedrich Lobenstock Date: Tue, 31 May 2005 00:10:42 +0200 Subject: [U-Boot-Users] mcf5272 hanging while relocating In-Reply-To: References: <4289E7A5.90307@scottygroup.com> Message-ID: <429B8F62.7040202@scottygroup.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Zachary Landau wrote on 17.05.2005 15:31 MET: >>I've got a little problem porting U-Boot to a Coldfire MCF5272 based platform. >>Everything's fine (now) up to the point where it relocates itself to RAM. See >>the boot message: > > > If you haven't already, you should search the mailing list archives > for information about the 5282 patches floating around. Your best bet > is probably to modify those for the 5272. > Ok back to that problem - after some time with other stuff. I then found "EMAC 5282 Second U-Boot code release" which was just posted the day before: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/17178 I've tried to disable the cache or activate it the "new way" like in the u-boot code from the address above but no luck. I've also ported the serial initialization code from that code to a generice form which applies for the mcf5272 as well as the m5282. Might post a patch for that some time. Using gdb with the BDM interface I find that the actual copying of the code to RAM succeeds but while clearing the BSS an exception happens as the system goes into the _fault endless loop. Someone with a Motorola Coldfire 5272 cpu experienced the same and could give me a hint. -- MfG / Regards Friedrich Lobenstock