Re: [nslu2-linux] ttyS0 settings
- Mike, thanks for reply.
Mike Westerhof murmured, on 8/30/2010 8:46 PM:
It has nothing to do with Slug, it is rather limitation of my serial terminal.
I am trying to use serial terminal connected to the internal serial port, but communication is not reliable at default 115200 bps.
When tested with PC, via putty, it shows the same behavior, works fine at lower speed but is erratic at 115.2k
My hope was that there is an utility/command that can be used to set parameters (speed) of the serial port after the boot is completed.
I tested serial terminal with putty at 9600 and 19200 and it works fine. Is there any way to change settings on ttyS0, in particular the speed from 115200 to 9600 bps?
Not recommended; it slows the boot down a lot. Also, you can't change the speed for the bootloader messages. The way to do this is to change it via the boot command line; easiest way to do that is to install a custom (self-built) linux kernel, since there's no way to change the boot command line that's stored in the bootloader.
So far I had no luck.
I have never built kernel before, but I guess there is the first time for everything.
Any pointers how to go about it?
I tried it with agetty by adding line to inittab: S0:23:respawn:/sbin/agetty -L ttyS0 9600 vt100 but could not get it work. Any ideas? Thanks Roman
-Mike (mwester) ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/nslu2-linux/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/nslu2-linux/join (Yahoo! ID required) <*> To change settings via email: firstname.lastname@example.org email@example.com <*> To unsubscribe from this group, send an email to: firstname.lastname@example.org <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/