Re: u-boot & uImage on M5282LITE

Allon Stern <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers.coldfire
Message-ID <[email protected]>
> > I'm starting up development for a project based on the 5282 CPU, so
> > I'm starting with the M5282LITE board; I have u-boot built for it,

I got it working.

I was loading code at the wrong address; With a u-boot header on it,  
the start of the kernel was pushed forward 0x40 bytes. For some  
reason, if I changed the start address to 0x10040, it didn't work  
(hang on boot). If I load the code at 0xFFC0, though, all is happy.

Also, the version of the kernel I have (2.6.19 uc1) didn't have  
support for passing kernel arguments in it; took a couple of lines of  
code to implement a hack that would let me pass args from u-boot to  
the kernel.

Yes, I should probably have a later kernel. Just getting things going  
for now, though.

-
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.