From owner-freebsd-hackers@freebsd.org Wed Sep 5 18:14:48 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12D58FF8E85 for ; Wed, 5 Sep 2018 18:14:48 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8F578D120; Wed, 5 Sep 2018 18:14:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from coleburn.home.andric.com (coleburn.home.andric.com [192.168.0.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id A76DEB1E6; Wed, 5 Sep 2018 20:14:46 +0200 (CEST) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_35876750-DA3F-42B5-9942-4253D2F7BED6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Is here way to have 9600+ serial console and see boot0 message? Date: Wed, 5 Sep 2018 20:14:41 +0200 In-Reply-To: <0bc33818-641c-07db-194b-66fd1eb30c55@FreeBSD.org> Cc: Allan Jude , freebsd-hackers@freebsd.org To: lev@FreeBSD.org References: <14cd401a-660c-1a3a-8d80-677a42727146@freebsd.org> <0bc33818-641c-07db-194b-66fd1eb30c55@FreeBSD.org> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2018 18:14:48 -0000 --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 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--