From nobody Mon Nov 6 12:22:15 2023 X-Original-To: dev-commits-src-main@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 4SP9TM5H2fz50b0t; Mon, 6 Nov 2023 12:22:15 +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 4SP9TM4pvjz4jlr; Mon, 6 Nov 2023 12:22:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699273335; 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=xR3JuTd0SMJGZnj7ua6+hq87+/NSN/legMg9L+fMA9U=; b=UeFGorQe1BSNQdIh0zErVLwd8OWkl7RYtnek8WkChUmQVrVMNhRZ27i182CEB81QWfrqIC UVX7y3XuxTWCxbXvpJRiaD2jt+eGjMJsemNVphrurd4whMYJyLIpPcScaP38o4JkJ2btOO /fX2WX4HloePo0C0P4uD6HG3Jduk2h2/vhO1s9/+2NnvbHJU2mcrMCFQqUTig5Ft1FDkEX TBER1qiGFihfiXLMHTKhuChcS3SSohmyVFo2Qgj6wIGodIiAIc/MClyWtimx/FXhg4ZBqa Mo58rlFTezlMs0nNk7bilVDtgABekWL3FNonPOZJG5d6+fMiW4Li//rYG6zV7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699273335; 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=xR3JuTd0SMJGZnj7ua6+hq87+/NSN/legMg9L+fMA9U=; b=PTH9qf8m6jlya4kqLSwmuFvOcJsihM1QpAbUWo+9TJKkYyJgcBPpOayFLDrnd+3giRCeDK ZzGmc24jcNN4fuZ5wEZp+Yk14wcOyCSHooIQTCTbQVlJtabfgwOVpR4uQbJRNvVy65GWkS P3fgti33A6o/DT5PD7BIuMB04nSWKVpGucpPUPFkm/v7gtDcTOeidg9kg0cyvJNXwd39Lu Ls7gLcZ883cqCbnc4E2LhXTRPtRrcIqS4RiU+OgcURCybMbyePcH7juQn6gzuhGifltc+I dP7RpkAbZI1A2go5h3iH5F32B0ylc8WUs+Mzlgmb0jA5Et9N9LRu1yLAsGWh8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699273335; a=rsa-sha256; cv=none; b=Zd21XVL8Q2+KjV6iiFB1fmkp8g2HogC9y3yL09yoT/Jfi3i4VwEH/t56GNeWQ5wheIlo4R hPj/tdsY/l8Q50gQwwM6lzJAPqMeK999SCtJeaNOP2Ru+y7e37pzyS9Ef6xg/zm334yEod ze5pU44jf2YO7x2VblaOXyz8upZeHtTrhEWqzKtAzeQbndw2ctljzHwL4V+uRLfCTU6x2I VlEwcL28oQokUNazo7YAlsGI3N41i/j1h0qFaaqu22VfBiIrogWJrW80vMZRm7dx9T4SuR bzZ083EbiqULl74aDXZgTVsZlEenG4Fs5eceEUslAyrAB/S8mS40gif3Qv3UfQ== 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 4SP9TM3sdJz16L2; Mon, 6 Nov 2023 12:22:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A6CMFBr021620; Mon, 6 Nov 2023 12:22:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A6CMFuR021617; Mon, 6 Nov 2023 12:22:15 GMT (envelope-from git) Date: Mon, 6 Nov 2023 12:22:15 GMT Message-Id: <202311061222.3A6CMFuR021617@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Guido Falsi Subject: git: bce728719e7f - main - Add paragraph documenting loader.env functionlity List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: madpilot X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bce728719e7f57272d99b6d039f10b4c636fa024 Auto-Submitted: auto-generated The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/src/commit/?id=bce728719e7f57272d99b6d039f10b4c636fa024 commit bce728719e7f57272d99b6d039f10b4c636fa024 Author: Guido Falsi AuthorDate: 2023-11-06 12:11:26 +0000 Commit: Guido Falsi CommitDate: 2023-11-06 12:21:53 +0000 Add paragraph documenting loader.env functionlity Approved by: docs (carlavilla) Differential Revision: https://reviews.freebsd.org/D42476 --- stand/man/loader.efi.8 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/stand/man/loader.efi.8 b/stand/man/loader.efi.8 index 37f56cf7be3f..16165c68556b 100644 --- a/stand/man/loader.efi.8 +++ b/stand/man/loader.efi.8 @@ -205,6 +205,14 @@ does not implement the probe .Fl P functionality where we use the video console if a keyboard is connected and a serial console otherwise. +.Ss Additional Environment Variables +.Nm +loads some extra variables early in startup from +.Pa /efi/freebsd/loader.env +from the EFI partition. Only simple variables can be set here. It can be useful to specify the root filesystem: +.Bd -literal -offset indent +rootdev=disk0s1a +.Ed .Ss Staging Slop The kernel must parse the firmware memory map tables to know what memory it can use.