Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2003 06:15:05 -0600
From:      "Aaron Wohl" <freebsd@soith.com>
To:        "Ryan Merrick" <sandshrimp@attbi.com>, "Dirk-Willem van Gulik" <dirkx@webweaving.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Serial Console woes
Message-ID:  <20030512121505.A5ECA283E6@www.fastmail.fm>
In-Reply-To: <3EBEF59A.70009@attbi.com>
References:  <20030511122715.A903-100000@foem> <3EBEF59A.70009@attbi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
notes on setting up freebsd serial console for 115200 baud

-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 XXX(or whatever your kernconf is called)
-add:
options               CONSPEED=115200         # Console Redirection
-cd /usr/src
-make buildkernel KERNCONF=XXX
-make installkernel KERNCONF=XXX
-reboot



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