[BusyBox] console on serial port

Gennady Feldman gfeldman at cachier.com
Wed Sep 5 13:44:25 UTC 2001


On 9/5/2001 at 3:24 PM Andrew Dixon wrote:

>Hi All,
>I'm trying to get busybox to put the console on the serial port without
>any luck.  My setup so far is:
>
>1) statically linked bb (libc6) built in ash shell
>2) put "Support for console on serial port" into kernel
>3) crw------- 1 0 0 4, 64 Jan 1 1970 /dev/ttyS0
>4) crw------- 1 0 0 5,  1 Sep 5 15:02 /dev/console
>5) and I passed "console=/dev/ttyS0" to the kernel using syslinux
>
>Any ideas why this isn't working out for me?
>
>thanks,
>Andy
>

try adding to /etc/inittab (this is busybox inittab format):
	ttyS0::respawn:/sbin/getty ttyS0 9600 vt100

This should spawn getty which will listen on the console...  If your software can handle >9600 then change 9600 to a higher number.

G.F.






More information about the busybox mailing list