Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2011 00:23:47 +0200
From:      Manolis Kiagias <sonicy@otenet.gr>
To:        freebsd-questions@freebsd.org
Subject:   Re: changing baud rate without recompiling
Message-ID:  <4EBC4EF3.3080404@otenet.gr>
In-Reply-To: <CAN%2BS=WCnTLq08TWpu=1d1QS9wkbi8Ur8NWy9rwJeO2eq=jwWTQ@mail.gmail.com>
References:  <CAN%2BS=WCnTLq08TWpu=1d1QS9wkbi8Ur8NWy9rwJeO2eq=jwWTQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/11/2011 11:11 πμ, saeedeh motlagh wrote:
> i know adding the "COM_CONSOLE_SPEED=115200" to make.conf and
> recompile it, change the baud rate but i want to know if there is a
> way to change it without recompiling.
> please let me know if there is any way to do that.
> my FreeBSD is 8.0
>
> thanks.

I am using a serial console at 115200 bps. Like you, I've added

comconsole_speed="115200"

to /boot/loader.conf and nothing happened. After booting, the serial 
terminal works at 115200 - but that's because of the /etc/ttys entry 
(which of course is not used until the end of booting). For the actual 
console to work at this speed so you can see the boot messages, it seems 
the only way is to recompile and reinstall the boot blocks. This takes 
very little time however:

# cd /usr/src/sys/boot
# make clean
# make BOOT_COMCONSOLE_SPEED=115200
# make install

No need to recompile the kernel or any other part of the base system.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EBC4EF3.3080404>