From nobody Tue Aug 06 23:42:46 2024 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 4Wdqc7357Pz5S9HR; Tue, 06 Aug 2024 23:42:47 +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 4Wdqc70gf2z4qBg; Tue, 6 Aug 2024 23:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722987767; 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=QU6+ygjs4w5PCWcDn52DUPL2AhiOl1VU0WMionAlPkU=; b=d7RJY1MRK2wIH9zFz15QJcZNUBvPD/MRTuyCbzAFoRHqWAYOoX1wQ7cgDBZeZ8HtUHhm8N pGTY9nhrjjtP/PuPZfrOElnRYaJaQf9QlJO7uo1VDqcZ2JzQiETWA6jG9PEOT11lQ0OOun C7GvlhLrHLDxRHwKKqMGwa/p6Sm/rSoRKo4flm13ZuErdFz4LIw+6+LBgrlJDpqAaqQ+SS 4H5ljWesQMwP5gy914fJxkpNyvu/pLvDveq0pfN0Kb2ct2FoX62qae9f1TYbhPSfyk4LbI ovs7Xb8NpGfTTkZkPnSKiY9Kgs0AHd8hxX7e2oSIwXXEVoUEl9OT5HxaTEbRyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722987767; a=rsa-sha256; cv=none; b=FSF0ElHRM8EROa8q/E6rx8vJ7+YZaf0+K5cvc7VxhItf7IQ18jRZI9fk7OxoMmRbqPq78t MoWvxyrwG3aOcwtakxM3IFij9mgIvHpZQP+IZ4XFC9/pAoxwHF57oRiQf8atRv5pUrW/ix TrM20+Jcx7GhjwxNLftrSNfJhsEqT+ufwH+dSu2wGyKlYuwzrD1I9v+yfLPxc5V3AqEXDR 5q90js3HJ55VOgyycub9kT2fw1s9FZWu05fe/hdE9WJaCCvdbrjDPVh+ZM7yNQ5bO15s4T rPmOZQWawNMNdWM20XrPv+XtieNNjXRHHOYQSCcOdS0F5BqIojxtc+s5uqrXeg== 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=1722987767; 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=QU6+ygjs4w5PCWcDn52DUPL2AhiOl1VU0WMionAlPkU=; b=GLxHBnRURnJ9dNB/uWqljlic7v4hRXvwpHK1jJJo5VY1s3HBasJC4VNkcTATXeVsPhEW2z p8wpyoq1+8JB7Ro5UlfLNb0gBLCVLIjVdvGW80wZ+o3VGCMw/9Y0Lr5gL6KCJcIcy4SIHd USMXKu2RTIKtbju8Lq49wc53IJ7yX75l4ffGbmE+lnOpSvkPb2sd0jKwR64OncUgie14RB xO9UfEO30VZ3y7baO8cNz+tT2H/Az31oVZ98NaunqxADC26sipCJqTId13/O2EgJbMxFIq Ped5miurnpsfvZ/Cb3v1hMwVq61I6zX9OWCnbj80dMdmJaoMhZYs/XRI9Lf5pg== 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 4Wdqc70H0ZzRkP; Tue, 6 Aug 2024 23:42:47 +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 476Ngkrv004590; Tue, 6 Aug 2024 23:42:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 476Ngk02004587; Tue, 6 Aug 2024 23:42:46 GMT (envelope-from git) Date: Tue, 6 Aug 2024 23:42:46 GMT Message-Id: <202408062342.476Ngk02004587@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: 9ed58aa60fd9 - main - src.conf.5: Regen after ddcd3b606c9d 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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: 9ed58aa60fd9cfcc7b6d9f4efa3a0631da393fc9 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=9ed58aa60fd9cfcc7b6d9f4efa3a0631da393fc9 commit 9ed58aa60fd9cfcc7b6d9f4efa3a0631da393fc9 Author: Warner Losh AuthorDate: 2024-08-06 23:42:52 +0000 Commit: Warner Losh CommitDate: 2024-08-06 23:42:52 +0000 src.conf.5: Regen after ddcd3b606c9d Sponsored by: Netflix --- share/man/man5/src.conf.5 | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index a12a2a8cb9f4..200ce8211e17 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -1,5 +1,5 @@ .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. -.Dd July 29, 2024 +.Dd August 6, 2024 .Dt SRC.CONF 5 .Os .Sh NAME @@ -158,6 +158,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 @@ -1041,6 +1060,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 @@ -1062,6 +1092,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