Re: Question related to FreeBSD Serial Console...

From: Scott Long <scottl_at_freebsd.org>
Date: Mon, 01 Sep 2003 17:29:09 -0600
Aaron Wohl wrote:
> My notes on getting a serial console at 115200
> 
> -must be com1
> -com1 must be at port 0x3F8 irq 4
> -in bios set the port and irq as above
> -in bios set serial redirection to com1
> -in bios set baud rate 115200
> -in bios set RTS/CTS flow control
> -edit (or create) /etc/make.conf to add these lines:
> BOOT_COMCONSOLE_PORT=   0x3F8
> BOOT_COMCONSOLE_SPEED=  115200
> -cd /sys/boot
> -make clean
> -make
> -make install
> -fdisk -B
> No im not kidding.  Part of the boot knowing baud rate loader lives in
> the main disk boot block.
> -cd /boot
> -edit loader.conf
> -add a line:
> console=comconsole
> -edit /boot.config make it read (with a return after it):
> -Dh
> (the above is minus D h return, thats 4 characters)
> -cd /usr/src/sys/i386/conf
> -edit PASODOBLE (or whatever your kernconf is called)
> -add:
> options               CONSPEED=115200         # Console Redirection
> -cd /usr/src
> -make buildkernel KERNCONF=PASODOBLE
> -make installkernel KERNCONF=PASODOBLE
> -reboot
> -pray
> 


At one time I was working on patches to the loader to make the console
speed configurable.  At the time, at least, I didn't see any evidence
that the settings were stored in the boot0 block, but maybe I was wrong.
In any case, finishing this up is on my TODO list.

Scott
Received on Mon Sep 01 2003 - 14:29:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC