From nobody Tue Aug 27 18:07:10 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 4Wtb9C1Cbsz52Yq5; Tue, 27 Aug 2024 18:07:11 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wtb9B61Whz4ZTn; Tue, 27 Aug 2024 18:07:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724782030; 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=IGzTjw+VakiOzx0f9/1ac/3pJ9g3tQdF47mGH0HGMnE=; b=yAn5XtNsLIN5K2B57cmYrdmijusfcWWTenqCex64Iu3sjygIZB/x17p//MGuEhnsrc7Cv6 Fmmmrj2RqHqd8WDGWuO7AXXs6HTEumh+qvo96tfU3GdwoBN0+lcIu+tIavL3pVsfzaV+Bv oNd8dI4lRgKrj9ZsY6yNMMEQHa2cEauA0QTX7O1xN14+qs8U9+jagdHSx9P5y5obXwlsQq brvDrV/sBsA8XYcfjujRulP0LuPvbLLkc3YfiivYhtrhHF+mIowfYmeVyqF0Gld9CkaKx5 bEzrCTCVK6BKbFVsW1Y8r5hC2tpS+9vAxPbOyNALS2608gZzI+8hg3cpqJjNhg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724782030; a=rsa-sha256; cv=none; b=XnYQdFy9uKPLnghGmMsMBQiRI8vd9zXSj3RyjyxJlbBJaw2oo+6vPd6dbHe3RJ9Po7wIIA i0NYi0/BxYkkKBkG5yC2q8ADpGTRYV3bwVBN1Ey6ex1etY1Zi6ue/DAuXU3+3DAe/dCiZq 3kGiY1L4VWksclP2ULFAWC2v+4rgkRLXabPijZWfZWaSOHPHsNNzd8Nfk9Bk4IEyCMwCbv E+okEchws/pvp6eeMkeDbamauc8p8D5iSF86qYX40CaqowMGI9kx7cRpiXa26ffD18jvc4 uAWu5sNuckx89R6abeoo+Szt1n/BFGhTi/FLdGqANWTiMPS5mTNKPI3aYJ3X4w== 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=1724782030; 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=IGzTjw+VakiOzx0f9/1ac/3pJ9g3tQdF47mGH0HGMnE=; b=SZC3VUvbc758aclBVvc4rrWSEj/f0FhwPen89nqMdNvyVDLUmxjE+750qT0QUA5OjMCeYj +NotDeAiIq0SnF+S/bVMFCQiL9KBTG8zCyxJwunEN0lNChnQyn92uEq4uyTRBOxAdsVNQl 9kRD6aVSgQ9/6mWYZrhVWdCAyzCh0Tz01n3dkwe+6QM4UHxDea/U+nLA7MipmFumQx6Sk1 eSNPzfJDiKJnOYDAXeJkc4ZeGPyaSauzDdmtNL7VVu8mHqRPPeNZQ7uUASlzU2DNMGH2y9 0XybGlHXkXv5e4uanwTJ1O6YEOgZ9Acsd2LfeGmyT8LIxd+aho4zHj5ZYF9wfg== 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 4Wtb9B52T6z118P; Tue, 27 Aug 2024 18:07:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47RI7AWS093858; Tue, 27 Aug 2024 18:07:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47RI7Arl093855; Tue, 27 Aug 2024 18:07:10 GMT (envelope-from git) Date: Tue, 27 Aug 2024 18:07:10 GMT Message-Id: <202408271807.47RI7Arl093855@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 3cff088ebdac - stable/14 - src.conf.5: Regen after ddcd3b606c9d 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 3cff088ebdacc1e3b2646e035b3e6edc7aa05cac Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3cff088ebdacc1e3b2646e035b3e6edc7aa05cac commit 3cff088ebdacc1e3b2646e035b3e6edc7aa05cac Author: Warner Losh AuthorDate: 2024-08-06 23:42:52 +0000 Commit: John Baldwin CommitDate: 2024-08-27 16:33:16 +0000 src.conf.5: Regen after ddcd3b606c9d Sponsored by: Netflix (cherry picked from commit 9ed58aa60fd9cfcc7b6d9f4efa3a0631da393fc9) --- share/man/man5/src.conf.5 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index 2713ad0c418c..11801456716c 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -154,6 +154,25 @@ This library is currently only used to perform signature verification and related operations for Verified Exec and .Xr loader 8 . +.Pp +Due to size constraints in the BIOS environment on x86, one may need to set +.Va LOADERSIZE +larger than the +default 500000, although often loader is under the 500k limit even with +this option. +Setting +.Va LOADERSIZE +larger than 500000 may cause +.Xr pxeboot 8 +to be too large to work. +Careful testing of the loader in the target environment when built with a larger +limit to establish safe limits is critical because different BIOS environments +reserve differing amounts of the low 640k space, making a precise limit for +everybody impossible. +.Pp +See also +.Va WITH_LOADER_PXEBOOT +for other considerations. When set, these options are also in effect: .Pp .Bl -inset -compact @@ -1047,6 +1066,17 @@ Build openfirmware bootloader components. .Pp This is a default setting on powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpc64le. +.It Va WITHOUT_LOADER_PXEBOOT +Do not build pxeboot on i386/amd64. +When the pxeboot is too large, or unneeded, it may be disabled with this option. +See +.Va WITH_LOADER_PXEBOOT +for how to adjust the defaults when you need both a larger +.Pa /boot/loader +and +.Pa /boot/pxeboot +.Pp +This option only has an effect on x86. .It Va WITHOUT_LOADER_UBOOT Disable building of ubldr. .Pp @@ -1068,6 +1098,8 @@ with support for verification similar to Verified Exec. .Pp Depends on .Va WITH_BEARSSL . +May require a larger +.Va LOADERSIZE . When set, these options are also in effect: .Pp .Bl -inset -compact