Put a getty on the serial port

Dmytro Bablinyuk dmytro.bablinyuk at rftechnology.com.au
Wed Oct 12 00:05:35 UTC 2005


The kernel has command line:
Kernel command line: console=ttyCPM0,115200 root=31:01 rw 
rootfstype=jffs2 
mtdparts=phys_mapped_flash:1024k(Linux),4096k(FS),2048k(Unused),512k(U-Boot),-()

In inittab I put

# Put a getty on the serial port
#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
ttyCPM::respawn:/sbin/getty -L ttyCPM 115200 vt100

I does not show anymore "Bummer, can't open ttyS0" but it's not opening 
serial console either.
I am using latest snapshot of busybox.
Does anybody know what shall I do to open serial console?

Thank you



More information about the busybox mailing list