On Thu, Jan 20, 2011 at 2:30 PM, Felipe Balbi <balbi@xxxxxx> wrote: > On Thu, Jan 20, 2011 at 01:32:24PM +0800, Bob Liu wrote: >> On Wed, Jan 19, 2011 at 7:06 PM, Felipe Balbi <balbi@xxxxxx> wrote: >> > Hi, >> > >> > On Wed, Jan 19, 2011 at 06:57:33PM +0800, Bob Liu wrote: >> >> Any ideas? >> > >> > s/console=ttyS2,115200n8/console=ttyO2,115200n8/ >> > >> > on your CMDLINE. >> > >> >> Yeah, that work! Thanks! >> >> But my system still can't enter shell, I have changed /etc/inittab >> from "tty0::respawn:/sbin/getty -L ttyS2 115200 vt102" to >> "tty0::respawn:/sbin/getty -L ttyO2 115200 vt102", and also have added >> ttyO2 to /etc/securetty. > > Add this line to /etc/inittab: > > 1:2345:respawn:/sbin/getty 115200 ttyO2 > Hi, balbi I tried it ,this can't work. always show: can't open /dev/1: No such file or directory. Now I fixed this problem by add major and minor number to struct serial_omap_reg in omap-serial.c. The same major minor number as 8250.c. It can enter console now. Thanks -- Regards, --Bob -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html