From nobody Sat Aug 27 04:18:47 2022 X-Original-To: dev-commits-src-all@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 4MF3Nm0lG2z4ZQwZ; Sat, 27 Aug 2022 04:18:48 +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 4MF3Nl6mzPz3NXJ; Sat, 27 Aug 2022 04:18:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661573928; 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=3WIsDDX4jBJ6oybNjCgMEzaxwR22XnLVERtNiNFaeKo=; b=B+AfugwJGIsbkPgcwHMMZ20uGBccLl8kYbJcd6gzDkZGU26AQqfIDcMp/D8mG3OLxkwNsn fNtTQkGEtDXDBbLvX9N/JpAgfXSSt5hi/ubjqGUj+NEtg04c3Ha+4vr2ieJAJyQrIWmdlg dm4OU75KLLYczdqA53tVSelkVh6Vrt6JFx/ifOJuEVUo0E2zS8QJIJEicmb7M3p/AfwL5T gzMRdnYMutMLZ9JQRl/BcYNNiW+ORNM9MwCMskx8P/MgZopgATC9Tdy/ZsqdWzmzLwJjHS KGYQyGjYNFfHMq0lXrVVrKRCodqW9/Rvan2G34lyLIiUav8ASAO+UeNQ5A3A4A== 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 4MF3Nl5qdkzdhv; Sat, 27 Aug 2022 04:18:47 +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 27R4IlpZ078179; Sat, 27 Aug 2022 04:18:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27R4IlSj078178; Sat, 27 Aug 2022 04:18:47 GMT (envelope-from git) Date: Sat, 27 Aug 2022 04:18:47 GMT Message-Id: <202208270418.27R4IlSj078178@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 7ed3228323ef - main - stand: Document that boot0 uses BIOS List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 7ed3228323ef4f9e3130603ea68c3be9c2ed50ce Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661573928; 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=3WIsDDX4jBJ6oybNjCgMEzaxwR22XnLVERtNiNFaeKo=; b=RTc87p6w5VOPLB6TzgjkvMkk9AlcUEQMx/kJTMcOygs0XGm2IYBuEkv7GXFIQ40Jhy2nTR gR+iRokT4cKYRQK/KJAbws7JvvOVi4kPwK2CbPpEUwD5GwCqhuL2RFOFZrnCPSASCXMaus MXM8+jOPcN2BMp37qsPq7ASjWp+ECcqnwRc7VYdUvON0SabP8p/sZbG4WP1qlpT5OacC1u j6FsUv1OLHLRENoYSUR3vBHnlgQBTKH62MrlCdUM2sUIYnWoIA0H5xC+uBIQgh013ZBnD3 SIspsDIORuhYTwYmhGIzQRB/InEFZHp0U7jierXHmsFetohlDRDF9q/M1GI8qA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661573928; a=rsa-sha256; cv=none; b=tDUvCDGNkHcERMKHPKxTD+pPv/H39zuTz0XbUYoarmkr1+wpr8W6iSHD0QyO1uhR/dEwiw VgHllFHHW+OYb/Wo7RQ6RAnv4NHGrT816wha/sK0dDY13/4xAV3teVz+z7rQQEVAG5mbHv hJNBm7EJDhpJxF3PgYfrmWVZpmEO7rtQh5V6d85cJCehHHSu13oklzfVHYC2KyMB5JQgo7 UEFMWZz3gn6/pvQO9ZE/MKpwa+S623ZBHtdg1M0Bso6T3Fk/uvMkx/iWO2OnofTmRLl/AO hSDQ5d4WSu7rj/n9z/BtRfpGKEwkpv9HHV27wzHJKWna8mZn1yqpKLOMKZhUAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=7ed3228323ef4f9e3130603ea68c3be9c2ed50ce commit 7ed3228323ef4f9e3130603ea68c3be9c2ed50ce Author: Warner Losh AuthorDate: 2022-08-26 21:47:21 +0000 Commit: Warner Losh CommitDate: 2022-08-27 04:17:56 +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 --- 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)