Skip to contentSkip to conversation

booting u-boot from internal flash on M5282EVB

U-Boot-Users David Peters 3 participants 7 messages Sep 6, 2005 – Sep 8, 2005

lore
Share & tools
lore
#0 lore raw

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!

#1 lore raw

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

Quoted 15 lines · David Peters

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

#2 lore raw
Quoted 13 lines

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.

Quoted 8 lines

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

regards Jens

Quoted 1 line · David Peters

I'm struggling trying to get U-Boot to boot from the internal flash of

the

Quoted 1 line

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.

#3 lore raw
Quoted 3 lines · In message <[email protected]> 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

Signature · 4 lines
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_
#4 lore raw
In reply to Jens Scharsig
Quoted 13 lines

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.

Quoted 8 lines

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

regards Jens

Quoted 1 line · David Peters

I'm struggling trying to get U-Boot to boot from the internal flash of

the

Quoted 1 line

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!

#5 lore raw

Hello

Quoted 2 lines

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

#6 lore raw
Quoted 11 lines

Hello

Quoted 1 line

I'm trying to start the evb as if there wasn't any external ram or

flash.

Quoted 1 line

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.