Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 1999 08:15:18 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        rvb@cs.cmu.edu (Robert V. Baron)
Cc:        current@FreeBSD.ORG
Subject:   Re: New boot blocks for serial console ...
Message-ID:  <199901040615.IAA01365@ceia.nordier.com>
In-Reply-To: <yzs3e5rooue.fsf@sicily.odyssey.cs.cmu.edu> from "Robert V. Baron" at "Jan 3, 99 07:37:13 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



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