Re: changing baud rate without recompiling

看板FB_questions作者時間14年前 (2011/11/11 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/6 (看更多)
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1El53ZE4 (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1El53ZE4 (FB_questions)