Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2018 20:14:41 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        lev@FreeBSD.org
Cc:        Allan Jude <allanjude@freebsd.org>, freebsd-hackers@freebsd.org
Subject:   Re: Is here way to have 9600+ serial console and see boot0 message?
Message-ID:  <D6BAE4EA-2926-4000-93E2-DAD7689DFC9D@FreeBSD.org>
In-Reply-To: <0bc33818-641c-07db-194b-66fd1eb30c55@FreeBSD.org>
References:  <ac3fe50c-d9a0-96ba-28f0-84ffca8e4cd3@FreeBSD.org> <14cd401a-660c-1a3a-8d80-677a42727146@freebsd.org> <0bc33818-641c-07db-194b-66fd1eb30c55@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_35876750-DA3F-42B5-9942-4253D2F7BED6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 5 Sep 2018, at 19:22, Lev Serebryakov <lev@FreeBSD.org> wrote:
>=20
> On 05.09.2018 20:19, Allan Jude wrote:
>=20
>>> I want to have my serial console 115200 (of course), *including* =
BIOS
>>> redirection (which goes before boot0sio).
>>>=20
>>> But boot0sio supports only speeds up to 9600 (due to int 14h =
limitations).
>>>=20
>>> Is it possible to solve this clash somehow?
>>=20
>> /boot/loader reads /boot.config where you can put -S115200
> I think, /boot/boot reads /boot.config, and it works for me.
>=20
> My question is somewhat more tricky: I have 115200 BEFORE boot0sio
> (from BIOS) and I have 115200 AFTER boot0sio (from /boot/boot and
> /boot/loader later). And I want to see "F1 / F2" boot selection from
> boot0sio.

Recompile stand/i386 with BOOT_BOOT0_COMCONSOLE_SPEED=3D115200, I would
normally say, but apparently stand/i386/boot0 is limited to a maximum
of 9600 baud.  This looks like a BIOS int 0x14 limitation. :(

-Dimitry


--Apple-Mail=_35876750-DA3F-42B5-9942-4253D2F7BED6
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCW5AdEQAKCRCwXqMKLiCW
o2X6AJwJ5OqRemLagOz+8tUDEQCZRPuGyACff2Z0OHULTmXrkogfbJcEX3EdWZI=
=xTgK
-----END PGP SIGNATURE-----

--Apple-Mail=_35876750-DA3F-42B5-9942-4253D2F7BED6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D6BAE4EA-2926-4000-93E2-DAD7689DFC9D>