From owner-freebsd-current Sun Jan 3 22:16:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA00218 for freebsd-current-outgoing; Sun, 3 Jan 1999 22:16:33 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (m2-20-dbn.dial-up.net [196.34.155.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA00204 for ; Sun, 3 Jan 1999 22:16:25 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id IAA01365; Mon, 4 Jan 1999 08:15:22 +0200 (SAT) From: Robert Nordier Message-Id: <199901040615.IAA01365@ceia.nordier.com> Subject: Re: New boot blocks for serial console ... In-Reply-To: from "Robert V. Baron" at "Jan 3, 99 07:37:13 pm" To: rvb@cs.cmu.edu (Robert V. Baron) Date: Mon, 4 Jan 1999 08:15:18 +0200 (SAT) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Robert V. Baron wrote: > You've forced me to use the new scheme. I have a laptop with the > serial line on com2(0x2f8) and use 56700 baud. A long time ago > I built a boot1/boot2 to do this. In seems that things have changed > in the new scheme. It looks like that in sys/boot/i386/Makefile, I > need to change: > B2SIOPRT?= 0x3f8 > B2SIOFMT?= 0x3 > B2SIODIV?= 0xc > to > B2SIOPRT?= 0x2f8 > B2SIOFMT?= 0x3 > B2SIODIV?= 0x2 > > This is a bit cryptic and could use a comment or two. > > But there are more loaders today. It looks like > sys/boot/i386/libi386/comconsole.c > needs to be handed edited: > #define COMPORT 0x3f8 > #define COMSPEED 9600 > to > #define COMPORT 0x2f8 > #define COMSPEED 57600 > > I guess that this should be pulled out to the makefile building the > lib. > > The two files above are the only ones that contain "3f8" so I guess > that nothing else needs to be changed. Those should be the only modifications required. Otherwise, your comments are reasonable and should be taken into account during an upcoming revision. Though, of course, you'd be welcome to simply commit the suggested improvements yourself. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message