Rickard Dahlstrand
2006-Aug-23 13:35 UTC
[flashboot] 19200 baud-rate during boot after kernel
Hi, I''m using the binary release 1.0beta1 for the wrap-box and I''m having some troubles with the baudrate on the console. The bios, boot-load and kernel are all using 38400, but when the Kernel is done and starts executing rc it jumps to 19200. After rc and rc.more is done I''m back to 38400 and I can login. All of the tty (/etc/ttys, /flash/etc/ttys, /flash/conf/etc/ttys) are saying 38400 and there is no boot.conf. The kernel seems to be compiled with 38400 because I can see the kernel loading and I have checked the source and it has been 38400 for a while now. So why am I getting 19200 during rc? Rickard.
Stuart Henderson
2006-Aug-23 14:02 UTC
[flashboot] 19200 baud-rate during boot after kernel
On 2006/08/23 15:35, Rickard Dahlstrand wrote:> All of the tty (/etc/ttys, /flash/etc/ttys, /flash/conf/etc/ttys) are > saying 38400 and there is no boot.conf.See if boot.conf (and using OS serial-console rather than BIOS redirection) helps - (echo "stty com0 38400"; echo "set tty com0") > /flash/etc/boot.conf /flash/etc/ttys is unused; the boot loader looks there for boot.conf but that''s it. Other parts of the system use the files in the ramdisk-image ($FLASHBOOT/initial-conf/$FOO when making the flashboot kernel), or after a certain point in /etc/rc the files copied from /flash/conf or untarred from *.tgz files.
Rickard Dahlstrand
2006-Aug-23 14:48 UTC
[flashboot] 19200 baud-rate during boot after kernel
Stuart Henderson wrote:> On 2006/08/23 15:35, Rickard Dahlstrand wrote: > >> All of the tty (/etc/ttys, /flash/etc/ttys, /flash/conf/etc/ttys) are >> saying 38400 and there is no boot.conf. >> > > See if boot.conf (and using OS serial-console rather than > BIOS redirection) helps - > (echo "stty com0 38400"; echo "set tty com0") > /flash/etc/boot.conf > > /flash/etc/ttys is unused; the boot loader looks there for > boot.conf but that''s it. Other parts of the system use the files > in the ramdisk-image ($FLASHBOOT/initial-conf/$FOO when making > the flashboot kernel), or after a certain point in /etc/rc the > files copied from /flash/conf or untarred from *.tgz files. >Yup, that did the trick. Thanks Stuart. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mindrot.org/pipermail/flashboot/attachments/20060823/ff8e2535/attachment.html