From: Kylo Ginsberg <kylo@kylo.net>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: Embedded PPC Linux list <linuxppc-embedded@ozlabs.org>
Subject: Re: how to get busybox shell prompt on console port?
Date: Sun, 10 Apr 2005 08:58:16 -0700 [thread overview]
Message-ID: <42594D18.4070403@kylo.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0504101046030.8150@localhost.localdomain>
I use this line in /etc/inittab (assuming you've built busybox to
include sh):
ttyCPM0::respawn:-/bin/sh
Robert P. J. Day wrote:
> i'm still wrestling with how to get my 8xx-based board's shell
>prompt to show up on the console port. i've built a simple
>2.6.11.7-based kernel and (busybox-based) root filesystem and, fairly
>quickly, i realized i needed to use the following kernel boot line:
>
> Linux/PPC load: rw root=/dev/ram0 console=ttyCPM0,9600
>
> as the boot proceeds, i eventually see:
>
> Serial: CPM driver $Revision: 0.01 $
> ttyCPM0 at MMIO 0xfa200a80 (irq = 20) is a CPM UART
> ttyCPM1 at MMIO 0xfa200a00 (irq = 46) is a CPM UART
>
>which seems to be a good sign. however, after all the standard boot
>output, i'm left with no shell prompt, and i'm assuming it's just
>because i haven't correctly started the shell thru /etc/inittab with
>the correct parameters to have it talk to that console port.
>
> what would be the correct invocation of /bin/sh in /etc/inittab to
>reflect my serial/console port setup above? thanks.
>
>rday
>_______________________________________________
>Linuxppc-embedded mailing list
>Linuxppc-embedded@ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
>
next prev parent reply other threads:[~2005-04-10 16:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-10 14:51 how to get busybox shell prompt on console port? Robert P. J. Day
2005-04-10 15:58 ` Kylo Ginsberg [this message]
2005-04-10 17:06 ` Robert P. J. Day
2005-04-10 17:24 ` Kylo Ginsberg
2005-04-10 20:58 ` Robert P. J. Day
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=42594D18.4070403@kylo.net \
--to=kylo@kylo.net \
--cc=linuxppc-embedded@ozlabs.org \
--cc=rpjday@mindspring.com \
/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.