[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    Re: [uClinux-dev] uClinux 2.4.x Kernel: Hardcoded Console Speed
From:       Erwin Authried <eauth () softsys ! co ! at>
Date:       2007-06-27 18:25:03
Message-ID: 1182968703.22460.353.camel () justakiss ! home ! at
[Download RAW message or body]

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


_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic