From nobody Tue Jan 24 22:12:14 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P1h666C8lz3bfpR; Tue, 24 Jan 2023 22:12:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P1h664hxKz3C9f; Tue, 24 Jan 2023 22:12:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fsjV/uMj2COhHuAGtHmKMl5G+MOghF9YxjfPjDEG4TE=; b=ClAJBz6kRWIA+ICoYsvGmKAobxhyI12Pgyom67V0uE01tTRsTEp5ludCz3dshsK34JXAdO aDBXnAGaaFs0WGndFbeo+ljshIszIuOdYrYZ2jf8Kk+oGifVWobficEc4BohBsh5Escv1O bmVTxbidOIKjLlv0cbIlCvQEJSiJ5uvULCaIkFMxZXMiDEtMvJKRcsXkhI8oc/a9TJWN5e CItCpPeKbVP2YZWvHRNHZJCvTqnQqAj/gw1a6hFGWvtBBPI4Fuf4dCwikVus06Bif3SctV RF/n342piJKeQ0byUP+SOn8yecIAWFka84EhUYROGHLVv84l05gIjvmD0W4FpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fsjV/uMj2COhHuAGtHmKMl5G+MOghF9YxjfPjDEG4TE=; b=j9cv1mdDGG+5Z00w1jjR8OEtbr8dgaS4VcRONzNrD5GmB7kaC0XiOlv0W3FMrodI81XoKf jf/kny79jDK3e2naC3B8LrhBrVJWIeRDjeeXrZYXhSPO92Cm6wOOCvVQanrOHVft7u/8up icB8S/cS04pH8Ri6ivA48qdzG8hYT6pFPyVjA/zUp3pdXNfsVkf4CXYFaR+FY/7nY1gtrf 8tbHY57jW25gDyTwgIWpfKBE2ik1WPDi1JS5pZmYMcsk89e0wXtIDLbhBhq1XSmWq+OdI+ ptd64o/qsYxlUHcSREF3BzoXPsKg77xIBs4rkKu4mFssCcYLWYwKZKGpEZJY6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674598334; a=rsa-sha256; cv=none; b=Q98j/yjUvc2T/7b1NgYxcao493uVnLkEyC6pDJNHM9OEJSDR+UFrKoSBcATu4RgSqK5iOU BRAvLcGAt+DULKFeM6/NMF1uDpF1q7Cdw7lUGvcflVmfTycCvj903BnEDrGwDeNVOUu6sN A32qU7p3kWXKIdNOatQyV5o6zC3nMyOoARPo4ho9iZep3HJob+z9YC2Vh4044fTjirrquM o2dKFeGQn+GzST3MdDkiGZj2TqOnK3jmsz/yR7brHKV33nXZ1hRLc0ZLfggnIqZV3OHv1Q tgipE94aiNme2DD9exztQL0jdCaW8PNEIYnF9TiYg4sEkkQWHg5mJxvTjet3og== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P1h663gpgzQXr; Tue, 24 Jan 2023 22:12:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30OMCESf086752; Tue, 24 Jan 2023 22:12:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30OMCEsE086751; Tue, 24 Jan 2023 22:12:14 GMT (envelope-from git) Date: Tue, 24 Jan 2023 22:12:14 GMT Message-Id: <202301242212.30OMCEsE086751@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: adeec17f8122 - stable/13 - stand: Document that boot0 uses BIOS List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: adeec17f8122f9af4940e6e45391b38b377082c1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=adeec17f8122f9af4940e6e45391b38b377082c1 commit adeec17f8122f9af4940e6e45391b38b377082c1 Author: Warner Losh AuthorDate: 2022-08-26 21:47:21 +0000 Commit: Warner Losh CommitDate: 2023-01-24 21:49:32 +0000 stand: Document that boot0 uses BIOS And thus has a limited range of supported baud rates. Also add that setting BOOT_BOOT0_COMCONSOLE_SPEED=0 will leave it unchanged which sometimes can give you 115200 if the BIOS initialized things outside of the normal BIOS baud rates (which many x86 enbedded-targetted boards do). Sponsored by: Netflix Reviewed by: emaste, manu (earlier versions) Suggestions by: jhb Differential Revision: https://reviews.freebsd.org/D36300 (cherry picked from commit 7ed3228323ef4f9e3130603ea68c3be9c2ed50ce) --- stand/i386/boot0/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stand/i386/boot0/Makefile b/stand/i386/boot0/Makefile index 82eb9eefee76..1453f17751b9 100644 --- a/stand/i386/boot0/Makefile +++ b/stand/i386/boot0/Makefile @@ -42,6 +42,13 @@ BOOT_BOOT0_ORG?= 0x600 ORG=${BOOT_BOOT0_ORG} # Comm settings for boot0sio. +# +# boot0sio uses BIOS INT $0x14 for serial ports, we can only support these +# baudrates due to INT14's limited interface. In addition, if +# BOOT_BOOT0_COMCONSOLE_SPEED=0, then the baud rate and frame format will remain +# unchanged. Some BIOSes initialize the serial ports to 115200, and this may +# allow boot0sio access at that rate if so. +# # Bit(s) Description # 7-5 data rate (110,150,300,600,1200,2400,4800,9600 bps) # 4-3 parity (00 or 10 = none, 01 = odd, 11 = even)