public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] booting u-boot from internal flash on M5282EVB
@ 2005-09-06 13:53 David Peters
  2005-09-07  6:14 ` [U-Boot-Users] " Jens Scharsig
  0 siblings, 1 reply; 7+ messages in thread
From: David Peters @ 2005-09-06 13:53 UTC (permalink / raw)
  To: u-boot

I'm struggling trying to get U-Boot to boot from the internal flash of the
M5282EVB.  Can anyone get me going in the right direction?

Thank you!

 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Re: booting u-boot from internal flash on M5282EVB
  2005-09-06 13:53 [U-Boot-Users] booting u-boot from internal flash on M5282EVB David Peters
@ 2005-09-07  6:14 ` Jens Scharsig
  2005-09-07 12:40   ` David Peters
  2005-09-07 17:08   ` David Peters
  0 siblings, 2 replies; 7+ messages in thread
From: Jens Scharsig @ 2005-09-07  6:14 UTC (permalink / raw)
  To: u-boot

Hello David,

the original EVB implementation doen't support this. But you can use my 
patches

MCF5282 without reloader
news://news.gmane.org:119/42F75DFA.80002 at bus-elektronik.de

and

New Board (EB+MCF-EV123 based on Frescale MCF5282)
news://news.gmane.org:119/42F75E25.2040301 at bus-elektronik.de

to implement this.

The EB+MCF-EV123 Board can boot from internale and externel FLASH.
For details please read the code.

regards Jens
David Peters schrieb:
> I'm struggling trying to get U-Boot to boot from the internal flash of the
> M5282EVB.  Can anyone get me going in the right direction?
> 
> Thank you!
> 
>  
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Re: booting u-boot from internal flash on M5282EVB
  2005-09-07  6:14 ` [U-Boot-Users] " Jens Scharsig
@ 2005-09-07 12:40   ` David Peters
  2005-09-07 13:02     ` Wolfgang Denk
  2005-09-07 17:08   ` David Peters
  1 sibling, 1 reply; 7+ messages in thread
From: David Peters @ 2005-09-07 12:40 UTC (permalink / raw)
  To: u-boot

> the original EVB implementation doen't support this. But you can use my
> patches
> 
> MCF5282 without reloader
> news://news.gmane.org:119/42F75DFA.80002 at bus-elektronik.de
> 
> and
> 
> New Board (EB+MCF-EV123 based on Frescale MCF5282)
> news://news.gmane.org:119/42F75E25.2040301 at bus-elektronik.de
> 
> to implement this.
> 
> The EB+MCF-EV123 Board can boot from internale and externel FLASH.
> For details please read the code.
> 
> regards Jens
> David Peters schrieb:
> > I'm struggling trying to get U-Boot to boot from the internal flash of
> the
> > M5282EVB.  Can anyone get me going in the right direction?

Where do patches get put when they are uploaded?  I've searched around
SourceForge and haven't found anything.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Re: booting u-boot from internal flash on M5282EVB
  2005-09-07 12:40   ` David Peters
@ 2005-09-07 13:02     ` Wolfgang Denk
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2005-09-07 13:02 UTC (permalink / raw)
  To: u-boot

In message <4407sf$972for@mxip24a.cluster1.charter.net> you wrote:
>
> Where do patches get put when they are uploaded?  I've searched around
> SourceForge and haven't found anything.

They get archived with the mailing list - see for example on gmane.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
He'd been wrong, there _was_ a light at the end of the tunnel, and it
was a flamethrower.                         - Terry Pratchett, _Mort_

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Re: booting u-boot from internal flash on M5282EVB
  2005-09-07  6:14 ` [U-Boot-Users] " Jens Scharsig
  2005-09-07 12:40   ` David Peters
@ 2005-09-07 17:08   ` David Peters
  2005-09-08  6:00     ` Jens Scharsig
  1 sibling, 1 reply; 7+ messages in thread
From: David Peters @ 2005-09-07 17:08 UTC (permalink / raw)
  To: u-boot

> the original EVB implementation doen't support this. But you can use my
> patches
> 
> MCF5282 without reloader
> news://news.gmane.org:119/42F75DFA.80002 at bus-elektronik.de
> 
> and
> 
> New Board (EB+MCF-EV123 based on Frescale MCF5282)
> news://news.gmane.org:119/42F75E25.2040301 at bus-elektronik.de
> 
> to implement this.
> 
> The EB+MCF-EV123 Board can boot from internale and externel FLASH.
> For details please read the code.
> 
> regards Jens
> David Peters schrieb:
> > I'm struggling trying to get U-Boot to boot from the internal flash of
> the
> > M5282EVB.  Can anyone get me going in the right direction?

I'm still not having any luck.  I downloaded the patch and installed it and
everything looks right.
I'm trying to start the evb as if there wasn't any external ram or flash.
We have a project coming up that needs to run the 5282 in single-chip mode.
I suspect that I'm not defining the base addresses correctly or TEXT_BASE.
Can anyone help any further?

Thank you!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Re: booting u-boot from internal flash on M5282EVB
  2005-09-07 17:08   ` David Peters
@ 2005-09-08  6:00     ` Jens Scharsig
  2005-09-08 11:54       ` David Peters
  0 siblings, 1 reply; 7+ messages in thread
From: Jens Scharsig @ 2005-09-08  6:00 UTC (permalink / raw)
  To: u-boot

Hello
> I'm trying to start the evb as if there wasn't any external ram or flash.
> We have a project coming up that needs to run the 5282 in single-chip mode.

U-boot needs more RAM than 64K. Why? U-Boot copies itself to RAM and 
starts this ram copy.

Regards Jens

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Re: booting u-boot from internal flash on M5282EVB
  2005-09-08  6:00     ` Jens Scharsig
@ 2005-09-08 11:54       ` David Peters
  0 siblings, 0 replies; 7+ messages in thread
From: David Peters @ 2005-09-08 11:54 UTC (permalink / raw)
  To: u-boot

> Hello
> > I'm trying to start the evb as if there wasn't any external ram or
> flash.
> > We have a project coming up that needs to run the 5282 in single-chip
> mode.
> 
> U-boot needs more RAM than 64K. Why? U-Boot copies itself to RAM and
> starts this ram copy.
> 
> Regards Jens
> 
That's what I was afraid of.

I was able to get u-boot to start coming up.  The only way I made it happen
was by changing:
Move.l #(CFG_INT_FLASH_BASE + 0x21), %d0
To
Move.l (#CFG_INT_FLASH_BASE + 0x161), %d0

I downloaded CodeWarrior and looked at the code that was generated and that
is what they used.  I haven't looked into it at all.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-09-08 11:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-06 13:53 [U-Boot-Users] booting u-boot from internal flash on M5282EVB David Peters
2005-09-07  6:14 ` [U-Boot-Users] " Jens Scharsig
2005-09-07 12:40   ` David Peters
2005-09-07 13:02     ` Wolfgang Denk
2005-09-07 17:08   ` David Peters
2005-09-08  6:00     ` Jens Scharsig
2005-09-08 11:54       ` David Peters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox