From nobody Fri Jul 01 17:25:42 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 3F52987BF20; Fri, 1 Jul 2022 17:25:43 +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 4LZMY31Jdjz3KYC; Fri, 1 Jul 2022 17:25:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656696343; 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=Jbvxlncw6mVna45+4S2nlkHZ+3SM1XT/ew/dT8P30TQ=; b=oBr6AW6NyLYUfyRvqewyRYFuyuv8vkBSMfwRDPYBHEuts5+LU9IXvlcVVlZibbyW8qX0TA PKDBb85NpDM+dtW3GEBH8EUHZt5+NFn+TLBbAC0NUvhUN7y3mfw+lJ4OHtlrU2O+/2UcYr rYnKtfS/dNo1wM99+28XhzN4mbu2rkCbwR+9G3iMQEj/v0JbFJuO/R6i3LA9JfOJvwlTZq Nfq0dBST2I5IRuTWfL8wC7N/d1OHMKE3VN52S4EUrfv6THq+3OkezeyYgtvC/PV/Ik1J6j QMfQEhB16ywdEg48hLTSJzITzG1udtzIlfUdmNciMs1DDv1n7K0HvYs+Xfc/7w== 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 092051F96E; Fri, 1 Jul 2022 17:25:43 +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 261HPgmK061714; Fri, 1 Jul 2022 17:25:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 261HPgWu061713; Fri, 1 Jul 2022 17:25:42 GMT (envelope-from git) Date: Fri, 1 Jul 2022 17:25:42 GMT Message-Id: <202207011725.261HPgWu061713@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: ea5b2d62426f - main - MIMIMAL: add uart 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: ea5b2d62426ff4387ab4293b977bb9f6e7212700 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656696343; 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=Jbvxlncw6mVna45+4S2nlkHZ+3SM1XT/ew/dT8P30TQ=; b=MChkmwn6DIxHv6bil3I6eDtraHJEFfDHdByUh23pzmbtFfT8r2J6ygFqBzMDr1WBBlOh0V QFXpwfAkWivaF0kK2rApFFvr4NJEPDSO5g42ZUApT4QbmBXB74PcHCzvg/sz/dcGCozJNh etCtPMoPsKuqmGDMJXFWsc7eEw+z5RCRPUC5jbLnweH+r0/RWyHpT9+Np95Mk4mZtnSo5n b15VWQ1CjRLhrJt9tfnM8f0JZ5qgvST3HkpxjzxpWImNumSkW5B4mFE3qIyveTWTdtr4kz z8ILGh+pieIo3wqg4D6wAe9+t4vgZKSbBFxqMgt1VZzg6Su3W6qSkedpOfzg7g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656696343; a=rsa-sha256; cv=none; b=fHBUlCobFpKd+9x2O7jxZku/KZYkSXcLv3Eee2pTfbxS1VdJzsHg3GGzFmJXB918epTdy6 Qbs/QBO6TCLpho/ZEMhz0/hEPeQSYtAE24l07mxy0bvdT/BcUgljX4z48SOiXjTIqsxlMQ W/Oe7yMjL8y1pEiPiHnjE2Q2OES69DPLxTM8uOzBIa4bE+QZcPmdNFaqtq1TBFfAwY79rw AHmxHebbdK2XWZ6vgyEeLRYP7uUbb0f5BQ9LvVg73oh9OHXe6bVJsnVHUoanUDPFZIsQx0 T9I5epChtBWmovJG1dDuOL+lZZ6ARxavFaTPK0VwL/pTsMrfkb+S0YayltSOgQ== 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=ea5b2d62426ff4387ab4293b977bb9f6e7212700 commit ea5b2d62426ff4387ab4293b977bb9f6e7212700 Author: Warner Losh AuthorDate: 2022-07-01 17:22:38 +0000 Commit: Warner Losh CommitDate: 2022-07-01 17:24:51 +0000 MIMIMAL: add uart While uart could be detected completely through plug and play means, add it here for two reasons. First, we don't do that from the loader, so it's not available as a console. Second, even if we did do it from the loader, there's a limitation in the system today that console drivers must be compiled into the kernel because the console is selected before external modules are linked into the kernel. Adding it only increases the kernel size by ~14k as well. Sponsored by: Netflix Idea liked by: des, rpokala, brooks, jhb --- sys/amd64/conf/MINIMAL | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/amd64/conf/MINIMAL b/sys/amd64/conf/MINIMAL index 3c9dc8f4df5b..62f942eef677 100644 --- a/sys/amd64/conf/MINIMAL +++ b/sys/amd64/conf/MINIMAL @@ -118,6 +118,10 @@ device vt_vbefb device agp # support several AGP chipsets +# Bring in 'uart' as well, since it can be a console driver and all console +# drivers must be compiled into the kernel. +device uart + # Pseudo devices. device loop # Network loopback device padlock_rng # VIA Padlock RNG