Messages in this thread | | | Date | Tue, 7 Oct 2008 12:15:19 +0100 | From | Alan Cox <> | Subject | Re: [PATCH][SERIAL] Drop probe_baud() and default to "9600n8" |
| |
On Tue, 07 Oct 2008 13:06:26 +0200 Paul Bolle <pebolle@tiscali.nl> wrote:
> The early console kernel parameters (i.e. "console=uart[...]" and > "earlycon=uart[...]" allow to omit the baud/parity/bits option. If that > option is not provided probe_baud() is used to determine the baud rate > to be used by that early console.
That depends a lot on the system.
> I noticed that probe_baud() produced useless and/or unpredictable > results on the few machines I tested the early console parameters (e.g. > 1355 or 1200 and 115200 alternating). My guess is that this is because
Depends on what the firmware has done. When the firmware has set the port up as is common in embedded then it is a very useful option to continue with the rates currently in use.
> probe_baud() and simply use "9600n8" as (safe) defaults for > baud/parity/bits.
I don't plan to apply this change. If you can figure out a reliable way to decide a port is uninitialised and default to 9600 in that case then that would be interesting.
Alan
| |