Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2004 13:47:15 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        hackers@freebsd.org
Subject:   Re: A20/keybord/no-keyboard
Message-ID:  <xzpr7mj8ld8.fsf@dwp.des.no>
In-Reply-To: <20041124074757.3B35643D46@mx1.FreeBSD.org> (Danny Braniss's message of "Wed, 24 Nov 2004 09:47:55 %2B0200")
References:  <20041124074757.3B35643D46@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Danny Braniss <danny@cs.huji.ac.il> writes:
> im using hint.sio.0.flags=3D"0x20", and still, only after i removed
> the vga from the config file did i get the console output on the
> serial line.

0x20 (COM_FORCECONSOLE) isn't enough, you have to use 0x30
(COM_FORCECONSOLE | COM_CONSOLE).  COM_FORCECONSOLE is ignored if
COM_CONSOLE isn't set.

> i'm using boot0sio, so the boot is also talking via the serial, but
> the BTX is still using the vga, compiling it to use the serial gave
> errors.

There's no need to recompile anything; the third-stage loader will
automatically use the serial console if the second-stage loader does
(i.e. /boot.config contains -h).  The reason why there are two
versions of the first-stage loader is that space constraints preclude
supporting both VGA and serial in the same code.  The second- and
third-stage loaders have no such constraints.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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