From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rwcrmhc14.comcast.net (rwcrmhc14.comcast.net [216.148.227.89]) by ozlabs.org (Postfix) with ESMTP id 86BB867B41 for ; Mon, 11 Apr 2005 02:00:41 +1000 (EST) Message-ID: <42594D18.4070403@kylo.net> Date: Sun, 10 Apr 2005 08:58:16 -0700 From: Kylo Ginsberg MIME-Version: 1.0 To: "Robert P. J. Day" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Embedded PPC Linux list Subject: Re: how to get busybox shell prompt on console port? List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > > >