Skip to contentSkip to conversation

bootloader for deeply embedded 405CR

DISCUSSION Bryan Rittmeyer 2 participants 2 messages Apr 10, 2001 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · Wolfgang Denk

For the Walnut it should be a simple thing to do:

make WALNUT405_config
make

Hello Wolfgang,

I have built a CVS ppcboot as you suggest, however it appears to expect being burned into flash memory.

What I would like to do is GDB-load an ELF ppcboot into the Walnut's 32MB SDRAM mapped at address 0, then execute it in place. Then I want to GDB load a kernel at another higher address, and use ppcboot to boot it. Is this already possible or will I have to modify Makefiles, linker scripts, and possibly code?

Regards,

Bryan

--
Bryan Rittmeyer
mailto:[email protected]
Ixia Communications
26601 W. Agoura Rd.
Calabasas, CA 91302

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw

*** Please send PPCBoot related messages to the PPCBoot mailing list ***

Quoted 8 lines · In message <[email protected]> you wrote:
Quoted 4 lines

For the Walnut it should be a simple thing to do:
make WALNUT405_config
make

I have built a CVS ppcboot as you suggest, however it appears to expect being burned into flash memory.

Right. That's what most of the people do.

Quoted 7 lines

What I would like to do is GDB-load an ELF ppcboot into the Walnut's 32MB SDRAM mapped at address 0, then execute it in place. Then I want to GDB load a kernel at another higher address, and use ppcboot to boot it. Is this already possible or will I have to modify Makefiles, linker scripts, and possibly code?

You have to modify the link address at least; but most probably you have to modify other code as well - for instance to prevent the exception handlers to be installed, etc.

Why don't you do what everybody does, and write the image to flash?

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] "Here's a fish hangs in the net like a poor man's right in the law.
'Twill hardly come out." - Shakespeare, Pericles, Act II, Scene 1

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/