how to get busybox shell prompt on console port?

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


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 at ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>  
>




More information about the Linuxppc-embedded mailing list