RE: printk/console_init - baud rate setting

2007-11-14 Thread Siva Prasad
: printk/console_init - baud rate setting > Thanks for your response Segher. > I already have the command line "console=ttyS0, 115200". Now, how to > make sure that 115200 setting is calculated properly for the use by > driver. > > In other words, can you kind enough to plea

Re: printk/console_init - baud rate setting

2007-11-14 Thread Segher Boessenkool
> I am getting garbage on the screen. So, I presume this must be some > sort > of baud rate issue. Can some one help me out understand how this baud > is > set for serial drivers? I want to run at 115200. console=ttyS0,115200 See Documentation/kernel-parameters.txt; depending on exactly what ea

RE: printk/console_init - baud rate setting

2007-11-13 Thread Siva Prasad
Thanks a lot Geert and Benjamin for your response. Code is indeed calling register_console from three different places 1) con_init()[name-tty], 2) serial8250_console_init()[name-ttyS], 3) early_uart_console_init()[name-uart]. Among these, 8250 must be the active one. Also serial8250_console_wr