On Sun, Jul 28, 2013 at 10:02 AM, Jiapeng Li <[email protected]> wrote: > Hi everyone, > > Today i dig the linux kernel to see what happened. > I want to find from which funciton these kernel info comes. > And i found below result. But for the [ 0.400000] 10000c00.uartlite: ttyS0 > at MMIO 0x10000c00 (irq = 20) is a 16550A, i didn't find mention from any > source code. >
Not sure what is your exact problem. But maybe you find some useful cheat-codes in Documentation/kernel-parameters.txt to get some more outputs. See "console=" (uart[8250]), "boot console" etc. Try to contact the linux-serial ML as this is not an OpenWrt-specific thingie? Hope this helps you. - Sedat - [1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/kernel-parameters.txt > Thanks. > Jiapeng > > // this kernel info comes from serial8250_init > [ 0.360000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled > > // ???????????????????????????????????????? > [ 0.400000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a > 16550A > > // this two info come from linux function register_console### > [ 0.420000] console [ttyS0] enabled, bootconsole disabled > [ 0.420000] console [ttyS0] enabled, bootconsole disabled > > // ????????????????????????????????????????? > [ 0.450000] 10000500.uart: ttyS1 at MMIO 0x10000500 (irq = 13) is a > 16550A > > > > > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
