linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Hangup booting Linux on PPC440GP
@ 2003-07-14 16:31 Steve Boorman
  2003-07-14 17:38 ` Chris Zimman
  2003-07-15  7:15 ` Juergen Beisert
  0 siblings, 2 replies; 7+ messages in thread
From: Steve Boorman @ 2003-07-14 16:31 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

I have an IBM PPC440GP evaluation board (Ebony) which I am
trying to get Linux up and running on.

I read the Cross development mini-howto and downloaded the relevant
files to an X86 based machine, these were binutils-2.14.90.0.4.1,
gcc-core-3.3 and linux-bk-2.4-devel-2.4.21-pre4. Following the mini-howto
I successfully built the kernel. This kernel is loaded using the IBM
Openbios over the ethernet from a Motorola Starmax (603e based I think)
and mounts the root filesystem over nfs which resides on the Starmax.
Everything looks good until Linux attempts to run /sbin/init, then the
machine hangs up, no panic or anything else displayed on the console. If I
remove /sbin/init then I do get the obvious panic, "No init found.  Try
passing init= option to kernel."

I tried replacing /sbin/init with a static linked program which just does a
printf of "hello world", this hangs in the same way with no message. This
prog was compiled using the Starmax running Yellow Dog V3, kernel
2.4.20-8D / gcc 3.2.2.

Any ideas as to what is wrong would be most appreciated.

Regards,
Steve Boorman


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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Hangup booting Linux on PPC440GP
@ 2003-07-15 11:56 Steve Boorman
  2003-07-15 14:12 ` Matt Porter
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Steve Boorman @ 2003-07-15 11:56 UTC (permalink / raw)
  To: linuxppc-embedded


Many thanks to Chris Zimman for the following suggestion which fixed my problem.

>> Do you have math emulation compiled into the kernel?

Once this was configured  the system boots up fine. I overlooked this as being the
cause for several reasons:-

1) Using ebony_defconfig as the kernel config file should, I would have thought, set
CONFIG_MATH_EMULATION=y but it does not.

2) I would not have thought my simple printf of some text
would use floating point code.

3) I expected the kernel to panic with some form of illegal
instruction trap if floating point instructions were being
attempted with no emulator code present.

Steve Boorman


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

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

end of thread, other threads:[~2003-07-15 22:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-14 16:31 Hangup booting Linux on PPC440GP Steve Boorman
2003-07-14 17:38 ` Chris Zimman
2003-07-15  7:15 ` Juergen Beisert
  -- strict thread matches above, loose matches on Subject: below --
2003-07-15 11:56 Steve Boorman
2003-07-15 14:12 ` Matt Porter
2003-07-15 15:58 ` Chris Zimman
2003-07-15 22:41 ` Paul Mackerras

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