linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* booting HardHat on IBM 405GP
@ 2001-03-26 16:12 Zehetbauer Thomas
  2001-03-27 12:50 ` Ralph Blach
  0 siblings, 1 reply; 6+ messages in thread
From: Zehetbauer Thomas @ 2001-03-26 16:12 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hi!

My company is going to develop an embedded solution based on a IBM 406GP
processor.
We are in early development right now and I am trying to boot linux on a
> IBM 25 EB 405 P4 WIN WAL 00
evaluation kit (this is the information on the bill of delivery).

Attempting to debug I've found linux/arch/ppc/boot/tree/main.c:start to
be the first function executed.
At the very last step this function calls
>    (*(void (*)())sa)(&board_info,
>                      initrd_start,
>                      initrd_start + initrd_size,
>                      cmdline,
>                      cmdline + strlen(cmdline));
and I can't find where execution goes on.

Any help is greatly appreciated.

TIA
Tom

PS: Does someone know how to determine the board's revision number?

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: booting HardHat on IBM 405GP
@ 2001-03-27 20:51 Zehetbauer Thomas
  2001-03-27 21:16 ` Frank Rowand
  2001-03-28  8:05 ` Stefano Coluccini
  0 siblings, 2 replies; 6+ messages in thread
From: Zehetbauer Thomas @ 2001-03-27 20:51 UTC (permalink / raw)
  To: linuxppc-embedded


It seems that execution stops when calling rfi in
arch/ppc/kernel/head_4xx.S. I have put the sample code provided to
output a single character on the serial port immediately before the rfi
call and after the after the start_here label. Only the first is beeing
executed. Any ideas?

Tom

> -----Original Message-----
> From: Ralph Blach [mailto:rcblach@raleigh.ibm.com]
>
> Hi,  This is a function call to sa, and if you look at the
> address of sa
> (the starting address) I'll bet it absoulte 0.  So, what
> happens is you
> get a jump to zero.
>
> Heres the boot process.
> 1)move the ramdisk to upper memory.
> 2)uncompress the kernel image starting a real 0.
> 3)Jump to 0.
>
> Chip Blach
>
> Zehetbauer Thomas wrote:
> >
> > My company is going to develop an embedded solution based
> on a IBM 406GP
> > processor.
> > We are in early development right now and I am trying to
> boot linux on a
> > > IBM 25 EB 405 P4 WIN WAL 00
> > evaluation kit (this is the information on the bill of delivery).
> >
> > Attempting to debug I've found
> linux/arch/ppc/boot/tree/main.c:start to
> > be the first function executed.
> > At the very last step this function calls
> > >    (*(void (*)())sa)(&board_info,
> > >                      initrd_start,
> > >                      initrd_start + initrd_size,
> > >                      cmdline,
> > >                      cmdline + strlen(cmdline));
> > and I can't find where execution goes on.
> >
> > PS: Does someone know how to determine the board's revision number?

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: booting HardHat on IBM 405GP
@ 2001-03-28 11:17 Zehetbauer Thomas
  0 siblings, 0 replies; 6+ messages in thread
From: Zehetbauer Thomas @ 2001-03-28 11:17 UTC (permalink / raw)
  To: linuxppc-embedded


I am not certain but I have tried to enable MSR_DR and was still able to
print to the serial console.

Tom

> -----Original Message-----
> From: Stefano Coluccini [mailto:s.coluccini@caen.it]
> Sent: Wednesday, March 28, 2001 10:05 AM
> To: Zehetbauer Thomas
> Cc: linuxppc-embedded@lists.linuxppc.org
> Subject: RE: booting HardHat on IBM 405GP
>
>
>
> > It seems that execution stops when calling rfi in
> > arch/ppc/kernel/head_4xx.S. I have put the sample code provided to
> > output a single character on the serial port immediately
> before the rfi
> > call and after the after the start_here label. Only the
> first is beeing
> > executed. Any ideas?
>
> Are you sure that the code that print a char on the serial
> port works also
> with MMU enabled ?
>

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

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

end of thread, other threads:[~2001-03-28 11:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-26 16:12 booting HardHat on IBM 405GP Zehetbauer Thomas
2001-03-27 12:50 ` Ralph Blach
  -- strict thread matches above, loose matches on Subject: below --
2001-03-27 20:51 Zehetbauer Thomas
2001-03-27 21:16 ` Frank Rowand
2001-03-28  8:05 ` Stefano Coluccini
2001-03-28 11:17 Zehetbauer Thomas

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).