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
early
: 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 please let me know how 115200
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