2008-03-29 11:49:52 How to change kernel baud rate to 115200bps
Quang Ng (KOREA, REPUBLIC OF)
Message: 53322
Hi everybody.
I'm newbie in uClinux.
I have a BF533-EZ-Kit, without EZ-LAN module.
I send/receiver file to/from Host PC in 57600bps. Sometimes It take much time.
I want to build my kernel that have default baud rate is 115200.
I've just look at menuconfig but can not find anything about baurate.
Can anyone help me??
Thankss
QuoteReplyEditDelete
2008-03-29 12:14:16 Re: How to change kernel baud rate to 115200bps
Mike Frysinger (UNITED STATES)
Message: 53323 review linux-2.6.x/Documentation/kernel-parameters.txt (the console= option) ... you control the serial console baud rate dynamically via the kernel command line
QuoteReplyEditDelete
2008-03-29 14:03:18 Re: How to change kernel baud rate to 115200bps
Quang Ng (KOREA, REPUBLIC OF)
Message: 53325 Thank Mike.
I have change file bfin_5xx.c on /uClinux-dist-2008R1-RC8/linux-2.6.x/drivers/serial from 57600 to 115200.
This is the my first exprience on Linux.
Thank u very much.
QuoteReplyEditDelete
2008-03-29 15:01:24 Re: How to change kernel baud rate to 115200bps
Mike Frysinger (UNITED STATES)
Message: 53327 uhh, no ... you should never modify the kernel sources like that.
the default settings in the serial driver are only the default. if you set your console argument properly, the kernel will use 115200 baud.
the default u-boot command line also includes examples for how to set your console.