[#4968] early_printk doesn't print out at the correct baud rate
Submitted By: Robin Getz
2009-03-08 14:24:20 Close Date
Closed Fixed In Release:
Found In Release:
Kernel Functions Board:
ALL Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
trunk Toolchain version or rev.:
App binary format:
Summary: early_printk doesn't print out at the correct baud rate
early_printk doesn't work when not using default baud rate of 57600.
This is because common functions in ./kernel/printk.c:register_console()
call bfin_serial_console_setup() without any options, and it defaults to 57600.
int baud = 57600;
So, make sure that doesn't happen.
--- Robin Getz 2009-03-08 14:32:28
I'm not sure if this is the best fix - but what happens is:
- we setup the UART when parsing bfin_earlyserial_init with the options that
are passed from the command line
- we call register_console, which does the same thing, but since it doesn't
have the right options, things always get set to 57600...
so, remove the setup option in the struct.
--- Robin Getz 2009-03-08 14:33:03
Marked as closed/fixed.
File Name File Type File Size Posted By
No Files Were Found