
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 http://www.cybertec.com.au/crossfire.htm 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 http://www.uclinux.org/pub/uClinux/m68k-elf-tools/gcc-3/ 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@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.