[uClinux-dev] uClinux 2.4.x Kernel: Hardcoded Console Speed
Erwin Authried
eauth at softsys.co.at
Wed Jun 27 14:25:03 EDT 2007
Am Mittwoch, den 27.06.2007, 11:04 -0700 schrieb Paul Romero:
> Dear User Group:
>
> The speed of the console--/dev/ttyS0, is hardcoded to 19200
> baud in the 2.4.x kernel. This means that fcntl() and similar
> calls can not be used to change the speed.
>
> You can quickly grasp the problem if you search for
> CONSOLE_BAUD_RATE in the file
> linux-2.4.x/drivers/char/mcfserial.c. I believe that
> is the only file that needs to be modified to make
> the speed of ttyS0 configurable like other ttys ?
> Is that correct ?
>
> More importantly, has someone already made the ttyS0
> speed configurable, and if so, where can one obtain the
> relevant code ?
>
> Note: I am using UC Linux release 2.4.27 with the 2.4.x kernel
> on an M5249C3.
>
> Best Regards,
>
> Paul R.
>
you can override the default CONSOLE_BAUD_RATE from the kernel cmdline,
with "console=ttyS0,9600", or whatever baudrate you like.
Regards,
Erwin
More information about the uClinux-dev
mailing list