RE: booting HardHat on IBM 405GP

3 messages, 3 authors, 2001-03-28 · open the first message on its own page

RE: booting HardHat on IBM 405GP

From: Zehetbauer Thomas <hidden>
Date: 2001-03-27 20:51:29

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:
quoted
My company is going to develop an embedded solution based
on a IBM 406GP
quoted
processor.
We are in early development right now and I am trying to
boot linux on a
quoted
quoted
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
quoted
be the first function executed.
At the very last step this function calls
quoted
   (*(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/

Re: booting HardHat on IBM 405GP

From: Frank Rowand <hidden>
Date: 2001-03-27 21:16:29

Zehetbauer Thomas wrote:
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
What kernel version are you using?  Where did you get the kernel?
What is the console output, from power on to the point where it hangs?

quoted
Zehetbauer Thomas wrote:
quoted
My company is going to develop an embedded solution based
on a IBM 406GP
quoted
processor.
We are in early development right now and I am trying to
boot linux on a
quoted
quoted
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
quoted
be the first function executed.
At the very last step this function calls
quoted
   (*(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?
Check the PVR reported by the bootrom when you power on or reset the Walnut.

405GP rev B    PVR: 40110040
405GP rev C    PVR: 40110082
405GP rev D    PVR: 401100c4


-Frank
--
Frank Rowand [off-list ref]
MontaVista Software, Inc

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

RE: booting HardHat on IBM 405GP

From: Stefano Coluccini <hidden>
Date: 2001-03-28 08:05:24

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help