changing baud rate without recompiling

saeedeh motlagh saeedeh.motlagh at gmail.com
Sat Nov 12 11:02:04 UTC 2011


thanks for your reply
it's good but includes recompiling again. i don't want to recompile in
any way. is there any other solution for doing that? i don't think
so:(.  are you sure recompiling is the only way to change the baud
rate?
thanks for your attention

On 11/11/11, Manolis Kiagias <sonicy at otenet.gr> wrote:
> 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.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list