Subject: Re: serial-console boot blocks?
To: Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>
From: Rob Windsor <windsor@warthog.com>
List: port-i386
Date: 10/07/1997 14:19:35
Verily did Matthias Drochner write:
>> Ok. I would rather hardcode "yes, I have a serial port, it is always
>> console".
> For that, the initio() argument "CONSDEV_COM0" (..3) are made.
> They get the actual serial port setting from the BIOS, so the port
> should not be disabled in the setup.
Ah. ok.
So, you're suggesting that I do the following?:
(r) grunge:/sys/arch/i386/stand/biosboot#diff -c main.c.orig main.c
*** main.c.orig Tue Oct 7 15:14:24 1997
--- main.c Tue Oct 7 15:15:21 1997
***************
*** 223,229 ****
int currname;
char c;
! initio(CONSDEV_PC);
gateA20();
print_banner();
--- 223,229 ----
int currname;
char c;
! initio(CONSDEV_COM0);
gateA20();
print_banner();
(r) grunge:/sys/arch/i386/stand/biosboot#diff -c Makefile.orig Makefile
*** Makefile.orig Tue Oct 7 13:23:32 1997
--- Makefile Tue Oct 7 13:29:21 1997
***************
*** 12,19 ****
CLEANFILES+= ${BSSTART}
CPPFLAGS+= -DCOMPAT_OLDBOOT
! #CPPFLAGS+= -DSUPPORT_SERIAL
! #CPPFLAGS+= -DDIRECT_SERIAL -DCOMCONS_KEYPRESS -DCONSPEED=38400
#CPPFLAGS+= -DPASS_BIOSGEOM
#uncomment if there are problems with memory detection
#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
--- 12,19 ----
CLEANFILES+= ${BSSTART}
CPPFLAGS+= -DCOMPAT_OLDBOOT
! CPPFLAGS+= -DSUPPORT_SERIAL
! CPPFLAGS+= -DDIRECT_SERIAL -DCOMCONS_KEYPRESS -DCONSPEED=9600
#CPPFLAGS+= -DPASS_BIOSGEOM
#uncomment if there are problems with memory detection
#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
Did I miss anything?
-- Rob
----------------------------------------
Internet: windsor@warthog.com
Life: Rob@Carrollton.Texas.USA.Earth
The weather is here, wish you were beautiful.