From mboxrd@z Thu Jan 1 00:00:00 1970 From: NZG Date: Wed, 1 Jun 2005 09:43:18 -0500 Subject: [U-Boot-Users] mcf5272 hanging while relocating In-Reply-To: <429CF38F.4000306@scottygroup.com> References: <4289E7A5.90307@scottygroup.com> <200505311618.21651.ngustavson@emacinc.com> <429CF38F.4000306@scottygroup.com> Message-ID: <200506010943.19087.ngustavson@emacinc.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > I will for sure take a look at all the 5282 changes. So far I've only take > the ones that I think are really needed for the 5272 as well. I'm certainly not going to try to talk you out of it, this does need to be done as eventually It would be nice to merge these changes into the main distro. > > The initialization code needs to move the flash, then jump to it. > > Of course, once the flash is moved, the jump instruction will disappear > > if your running from flash, causing a trap. > > Only if you run from the same memory space where you want to activate the > RAM. Exactly right, I followed Zach's lead on this, as putting u-boot into high memory and having memory at 0 seems to be somewhat standard for some reason. To be honest I have no idea if this is really required or if it will break anything, but I was trying to code quickly so I opted not to take the road less traveled. > > Back to the real thread, if you could mail me privately how you got your > toolchain set up I would be very grateful. I've got the Cybertec's > Crossfire Tools for Linux but I > think as the option "-msep_data" is not supported that this is the missing > link to my problem of the missing GOT table. Using the stuff from > fails during > compile. I'm actually experimenting with several toolchains, but the most stable for me seems to be Gregs old pre-build one. You can get this directly off the uclinux website, but it appears to be down at the moment. We've also got it on our SoM ftp in the tools directory. ftp://SoM:sompublic at ftp.emacinc.com This is a very valid Coldfire topic, so I don't really want to do this off list, but since your not really talking about using u-boot, you probably should move over to wildrice, you'll probably find more support in this area there. http://www.wildrice.com/ColdFire/ (I know it looks a little clunky, but trust me it's very active) NZG.