how to get busybox shell prompt on console port?
Robert P. J. Day
rpjday at mindspring.com
Mon Apr 11 00:51:29 EST 2005
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
188.8.131.52-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.
More information about the Linuxppc-embedded