All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: Edward Hong <edward.qin.hong@gmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: kernel ported from ELDK 3.0 hangs (loops in idled()) on my custom MPC870 Board
Date: Sat, 04 Jun 2005 03:17:31 +0200	[thread overview]
Message-ID: <20050604011736.B199EC1512@atlas.denx.de> (raw)
In-Reply-To: Your message of "Fri, 03 Jun 2005 17:10:51 MDT." <21fb73bc05060316102325f94d@mail.gmail.com>

In message <21fb73bc05060316102325f94d@mail.gmail.com> you wrote:
> I am trying to bring up Linux on a custom MPC870 Board using ELDK 3.0. 

Why are you using old (not to say ancient) tools?

> The ported kernel from ELDK 3.0 hangs (loops in idled()) and the kernel_thread 
> init never gets started!???

How do you know that init didn't  run?  Runningthe  idle  loop  is  a
perfectly normal situation.

> Linux version 2.4.24-pre2 (ehong@chico) (gcc version 3.2.2 20030217 (Yellow
> Dog Linux 3.0 3.2.2-2a_1)) #8 Fri Jun 3 10:13:10 MDT 2005 On node 0 
> totalpages: 16384
> zone(0): 16384 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line: root=/dev/nfs rw nfsroot=10.15.10.170:/opt/eldk/pp
> c_8xx 
> ip=10.15.2.101:10.15.10.170::::eth0:off panic=1
> Decrementer Frequency = 495000000/60
> Calibrating delay loop... 131.48 BogoMIPS
> Memory: 63132k available (1204k kernel code, 360k data, 60k init, 0k highme
> m)
> Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
> Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
> Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
> POSIX conformance testing by UNIFIX
> 
> 
> (kernel loops in idled() after kernel_thread(init, ...) in rest_init().) 

Are you sure that your kernel configuration is sensible? For example,
did you configure a console port that matches your hardware? Did  you
configure the serial ports (SMC / SCC) at all?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
I read part of it all the way through.

  reply	other threads:[~2005-06-04  1:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-03 23:10 kernel ported from ELDK 3.0 hangs (loops in idled()) on my custom MPC870 Board Edward Hong
2005-06-04  1:17 ` Wolfgang Denk [this message]
2005-06-04 23:40   ` Edward Hong
2005-06-05  0:28     ` Wolfgang Denk
2005-06-06  5:33       ` Edward Hong
2005-06-06  8:03         ` Wolfgang Denk
2005-06-06 18:48         ` Randy Vinson
2005-06-06 20:00           ` Edward Hong
2005-06-10 21:43             ` Edward Hong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050604011736.B199EC1512@atlas.denx.de \
    --to=wd@denx.de \
    --cc=edward.qin.hong@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.