From nobody Tue Apr 16 02:34:35 2024 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 4VJSmX3HpLz5HZdk; Tue, 16 Apr 2024 02:34:36 +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 4VJSmX0fj2z4HMW; Tue, 16 Apr 2024 02:34:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713234876; 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=uQBwMvMg89n+y0/f0mfD/JEfdEOjpUg8jXZBwlTXDUg=; b=ItcezH+Z5DbnH6YA1q2gw13j/ka5iVyP6UhELr/fLxUQPBh5eRS56QVbuldqDXSPoQKvAG PLBpHbNa3T9Sj5yeC5+l/yq7u+5Hcw71/14t4cIL7SrHwV4QGKVz0dhGiYXGHcpJ37pLUX wlRODM99dkkyLX5xIhpcRPYY3Sx/mLQ9fYmslGyDaBun8TdImUrDEE3RNIZJ5nooyRR1RM SfgPwlwEcaj/CzPeJTMF8OJ4OKc+JesEjpWm0TfKb5jTagjIAuam/HAum3rHHWXX9zbvod Ew6VnHsC32zsnr+qUh5LRVEeq16N2iWmYEjyy9Vqf3Lvh/gW9VswyuQcXNigCQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713234876; a=rsa-sha256; cv=none; b=uOiWUkfoPEP9dCQecw6w4G4Ea9dqgmuvXm1Aa2DYq++bAq6N/vpcWqPMwYk9XSZVh6ahrR Ut9lIJKVe0uzp8Wh56AKun2B6YlMwWmfxtq5oXbPKEiBg5YCnMW3tMnb9y6fJYLwpFT2z5 JcBO8ypNDynKw48EjkxG9UDbFAataN1MSY9UpCk3E5KLpXxJZO4QzPNj1V0s1RAgArXTsE kEOryg7MqfI4WhJJXv3sBDVofV0IA1i+cFukeiSXJ3UbECqi2aAFgJF42KtOVg5M5oFZAI huvXAjIqJTwKmsMWYQIzlTZgYsXaQfdDLYAcsGBY5xIu/hLZon6WIBsQ87qE3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713234876; 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=uQBwMvMg89n+y0/f0mfD/JEfdEOjpUg8jXZBwlTXDUg=; b=jq5VcNuv/Qny1gboB1lOWi+bxTauAWXhU43YbkErVbnjsb2eYKWQEKeC7MpwsPJZ9GElq0 Na0ImzbWVkmMhK0ZI7MXhxupqlsIReNfLP43U9ygapsVdxegBABl9xpcKwEGZ4/kXdvowT f3Um6UtTgWm7+4txi9g+qaSpEOecK+F/EWc/Sq6zl0pQlog2M7H5a0CKlg/YdvL6mh87vA t9PmeHnMxvwAIYM+36v5fAbBSkxwkUkIyidAS3yQotW6SkVSUr+eG52oS1KjKOCnsmUQ+A wu0NJ2o5WwhtXfuhp6nodD0OXoqpNUHPx9Btzc6lCD41QhDN62oND3SOkqpWkA== 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 4VJSmX0G2KzQB9; Tue, 16 Apr 2024 02:34:36 +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 43G2YZCV037262; Tue, 16 Apr 2024 02:34:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43G2YZPX037260; Tue, 16 Apr 2024 02:34:35 GMT (envelope-from git) Date: Tue, 16 Apr 2024 02:34:35 GMT Message-Id: <202404160234.43G2YZPX037260@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: 25cf4c045208 - stable/14 - Add paragraph documenting loader.env functionlity 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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/stable/14 X-Git-Reftype: branch X-Git-Commit: 25cf4c045208aff47ae7fece8ccc2717f0c0ad6a Auto-Submitted: auto-generated The branch stable/14 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=25cf4c045208aff47ae7fece8ccc2717f0c0ad6a commit 25cf4c045208aff47ae7fece8ccc2717f0c0ad6a Author: Guido Falsi AuthorDate: 2023-11-06 12:11:26 +0000 Commit: Warner Losh CommitDate: 2024-04-16 02:32:03 +0000 Add paragraph documenting loader.env functionlity Approved by: docs (carlavilla) Differential Revision: https://reviews.freebsd.org/D42476 (cherry picked from commit bce728719e7f57272d99b6d039f10b4c636fa024) --- 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.