how to get busybox shell prompt on console port?

Kylo Ginsberg kylo at
Mon Apr 11 01:58:16 EST 2005

I use this line in /etc/inittab (assuming you've built busybox to 
include 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
> 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.
>Linuxppc-embedded mailing list
>Linuxppc-embedded at

More information about the Linuxppc-embedded mailing list