linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* bootloader for deeply embedded 405CR
@ 2001-04-07 20:09 Bryan Rittmeyer
  2001-04-07 20:50 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Bryan Rittmeyer @ 2001-04-07 20:09 UTC (permalink / raw)
  To: linuxppc-embedded


Hello linuxppc-embedded,

I am attempting to boot Montavista's PPC405 Linux port on
a very minimal 405CR Rev C target: essentially, there's 64MB
of SDRAM and a minicom on UART0. I have a 405GP kernel
loading great on the Walnut board using the IBM serial
monitor and treeboot, but I'm unsure what I need to do
on the CR before I can begin successfully running Linux on it.
I am using an Abatron BDI2000 along with GDB to load code and
tweak registers on the target.

Right now, I am configuring the SDRAM controller and UART0,
but apparently that is not sufficient to fully boot Linux,
since I never get any output on the serial port except for
the 'a' debug printout I enabled in head_4xx.S

Does anyone have a minimal 405GP/CR bootloader that I
could use as an example? Or perhaps a FAQ on how to bring
up a deeply embedded 405 using the Abatron box?

Thanks,

Bryan Rittmeyer

--
Bryan Rittmeyer
mailto:bryan@ixiacom.com
Ixia Communications
26601 W. Agoura Rd.
Calabasas, CA 91302

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

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

* Re: bootloader for deeply embedded 405CR
  2001-04-07 20:09 bootloader for deeply embedded 405CR Bryan Rittmeyer
@ 2001-04-07 20:50 ` Wolfgang Denk
  2001-04-09  7:08   ` AW: " Stefan Roese
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2001-04-07 20:50 UTC (permalink / raw)
  To: Bryan Rittmeyer; +Cc: linuxppc-embedded


Dear Bryan,

in message <3ACF73E8.24CAACE4@ixiacom.com> you wrote:
>
> Does anyone have a minimal 405GP/CR bootloader that I
> could use as an example? Or perhaps a FAQ on how to bring
> up a deeply embedded 405 using the Abatron box?

Did you try to run our Open Source Firmware "PPCBoot" on your  board?
The Walnut is one of the many supported configurations.

See the project page at ppcboot.sourceforge.net, which points you  to
the CVS server on sourceforge or our FTP server at
ftp://ftp.denx.de/pub/ppcboot/

For PPCBoot related  questions  you  can  subscribe  to  the  PPCBoot
mailing list (ppcboot-users@lists.sourceforge.net).

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Contrary to popular belief, thinking does not cause brain damage.

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

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

* AW: bootloader for deeply embedded 405CR
  2001-04-07 20:50 ` Wolfgang Denk
@ 2001-04-09  7:08   ` Stefan Roese
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Roese @ 2001-04-09  7:08 UTC (permalink / raw)
  To: Linuxppc-Embedded


> > Does anyone have a minimal 405GP/CR bootloader that I
> > could use as an example? Or perhaps a FAQ on how to bring
> > up a deeply embedded 405 using the Abatron box?
>
> Did you try to run our Open Source Firmware "PPCBoot" on your  board?
> The Walnut is one of the many supported configurations.

Yes, you should give PPCBoot a try. There is also a PPC405CR implementation
available - "canbt". This board is running PPCBoot as a boot loader firmware
and Linux as OS.

Stefan Roese

*******************************************
esd gmbh
Vahrenwalder Str. 205
D-30165 Hannover
Phone: +49-511-37298-0
Fax:   +49-511-37298-198
email: stefan.roese@esd-electronics.com
www:   http://www.esd-electronics.de
*******************************************


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

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

* Re: bootloader for deeply embedded 405CR
       [not found] <20010407220120.85706281E2@denx.denx.de>
@ 2001-04-10 20:44 ` Bryan Rittmeyer
  2001-04-10 21:16   ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Bryan Rittmeyer @ 2001-04-10 20:44 UTC (permalink / raw)
  To: Wolfgang Denk, linuxppc-embedded


Wolfgang Denk wrote:

> 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:bryan@ixiacom.com
Ixia Communications
26601 W. Agoura Rd.
Calabasas, CA 91302

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

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

* Re: bootloader for deeply embedded 405CR
  2001-04-10 20:44 ` Bryan Rittmeyer
@ 2001-04-10 21:16   ` Wolfgang Denk
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2001-04-10 21:16 UTC (permalink / raw)
  To: Bryan Rittmeyer; +Cc: linuxppc-embedded


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




In message <3AD370AA.93F59622@ixiacom.com> you wrote:
>
> > 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.

> 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: wd@denx.de
"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/

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

end of thread, other threads:[~2001-04-10 21:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-07 20:09 bootloader for deeply embedded 405CR Bryan Rittmeyer
2001-04-07 20:50 ` Wolfgang Denk
2001-04-09  7:08   ` AW: " Stefan Roese
     [not found] <20010407220120.85706281E2@denx.denx.de>
2001-04-10 20:44 ` Bryan Rittmeyer
2001-04-10 21:16   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).