From: Wolfgang Denk <wd@denx.de>
To: Robert Schwebel <robert@schwebel.de>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: init does not run on 405GP system
Date: Tue, 10 Jun 2003 16:39:06 +0200 [thread overview]
Message-ID: <20030610143911.C3835C5FD7@atlas.denx.de> (raw)
In-Reply-To: Your message of "Tue, 10 Jun 2003 16:10:47 +0200." <20030610141047.GU9379@pengutronix.de>
In message <20030610141047.GU9379@pengutronix.de> you wrote:
>
> I'm currently porting u-boot and Linux to an IBM 405GP based board. The
> problem is now that init seems not to be running and does not give any
> output. Up to that point where init should make some noise the kernel
...
> Nevertheless, the kernel runs smoothly. I can ping the machine, I can
> even floodping it with 0% packet loss. Only that there is no userspace
> running.
Do user space program like init really don;t run, or is there any
chance that you just might see no output?
You can do a couple of things:
* Check your adaptions of the kernel source and your kernel configu-
ration is you really have a working serial console port.
* If booting over NFS realy works, you can try to start a (statically
linked small test program) that does something else but a printf to
the console. For example, open a file in /tmp for output and
frpintf to that file.
* Or start your test program with a known system call (like
gettimeofday() or maybe even getuid() etc.) and set a breakpoint at
the system call handler code inthe kernel.
You wrote "opening the console works" - set a breakpoint, and verify
that your console driver is really initialized and used.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
In general, if you think something isn't in Perl, try it out, because
it usually is :-) - Larry Wall in <1991Jul31.174523.9447@netlabs.com>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-06-10 14:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-10 14:10 init does not run on 405GP system Robert Schwebel
2003-06-10 14:39 ` Wolfgang Denk [this message]
2003-06-10 15:27 ` Robert Schwebel
2003-06-10 15:02 ` Hollis Blanchard
2003-06-10 15:12 ` Robert Schwebel
2003-06-10 16:52 ` Wolfgang Denk
2003-06-10 18:00 ` Robert Schwebel
2003-06-17 9:26 ` Robert Schwebel
-- strict thread matches above, loose matches on Subject: below --
2003-06-11 3:21 Bill Fink
2003-06-11 4:53 ` Robert Schwebel
2003-06-11 6:22 ` Bill Fink
2003-06-11 7:11 ` Robert Schwebel
2006-01-12 22:51 Kabir Ahsan-r9aahw
2006-01-13 1:19 ` Wolfgang Denk
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=20030610143911.C3835C5FD7@atlas.denx.de \
--to=wd@denx.de \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=robert@schwebel.de \
/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 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).