Re: u-boot on M5475EVB and M5474Lite

Allon Stern <[email protected]> Sun, 31 Aug 2008 10:36:43 -0400
Newsgroups gmane.comp.hardware.motorola.microcontrollers.coldfire
Message-ID <[email protected]>
On Aug 30, 2008, at 4:39 AM, Wouter Verhelst wrote:
> I noticed yesterday that there's a new LTIB BSP out for the coldfire
> boards, and downloaded it.
>
> The last version of the LTIB BSP that I had is quite old now, and came
> with colilo; recent versions seem to come with u-boot.
>
> What I can't seem to find is documentation on u-boot -- i.e., how  
> to use
> or run it. My 5475EVB currently boots on dBUG, but has colilo at
> e0000400; the 5474Lite only has dBUG, AFAIK. I've so far not yet  
> managed
> to load u-boot successfully, and a kernel compiled with the new BSP
> doesn't seem to boot with colilo.
>
> Could anyone give me some pointers?
>
> Thanks,

I've got a good bit of experience with u-boot.
#1: Get the latest u-boot from denx.com
#2: build it -
make M5475AFE_CONFIG

or similar - this board is a bitt different from the other targets  
I've used, in that there are multiple configurations - look in the  
makefile and see what you need;

the actual configuration for your board is done in include/configs/ 
M5475EVB.h
the board support is in board/freescale/m547xevb
the cpu support is in cpu/mcf547x_8x

u-boot likes to run from ram; depending on configuration options, it  
will probably do early board initialization, then relocate itself.  
This can make debugging a little tricky, particularly when coding  
support for a new platform.
Since you're putting it on an already supported platform, it  
shouldn't be too hard.

Lemme know if you need anything further.

-
allon
---
[email protected]              Send a post to the list.
[email protected]        Join the list.
[email protected]    Join the list in digest mode.
[email protected]     Leave the list.