u-boot on M5475EVB and M5474Lite

View: New views
2 Messages — Rating Filter:   Alert me  

u-boot on M5475EVB and M5474Lite

by Wouter Verhelst :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

X-SpamDetect-Info: ------------- Start ASpam results ---------------
X-SpamDetect-Info: This message may be spam. This message BODY has been altered to show you the spam information
X-SpamDetect: *****: 5.400000 From3consonants=0.3, GreyPassed=1.0, From isn't in return path=1.1, DodgySource=2.0, SPF Default Fail=1.0
X-SpamDetect-Info: ------------- End ASpam results -----------------

Hi,

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,

--
<Lo-lan-do> Home is where you have to wash the dishes.
  -- #debian-devel, Freenode, 2004-09-22
---
coldfire@...              Send a post to the list.
coldfire-join@...        Join the list.
coldfire-digest@...    Join the list in digest mode.
coldfire-leave@...     Leave the list.


Re: u-boot on M5475EVB and M5474Lite

by Allon Stern :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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
---
coldfire@...              Send a post to the list.
coldfire-join@...        Join the list.
coldfire-digest@...    Join the list in digest mode.
coldfire-leave@...     Leave the list.