From nobody Sun Dec 3 19:02:38 2023 X-Original-To: amd64@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 4Sjx500FF7z53DTQ for ; Sun, 3 Dec 2023 19:02:44 +0000 (UTC) (envelope-from bugzilla-noreply@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 4Sjx4z6GDHz3Snf for ; Sun, 3 Dec 2023 19:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701630163; 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: in-reply-to:in-reply-to:references:references; bh=pzRvJMQDGHM3R7nym+Wh+gMCOgqnqoox05/oFzAdSg8=; b=XgNIOW84Im7PshBL+wurtYlJqxyUCOPtunouuM2kX8y/zXWNpDtfQ4ZxjSk5OONW01vn1i eUCABkSAnqwSuuGiHnOWT5kfYAkB3ZDbl/CrGtttjmekTvrKjL+02AMLTSoUlis7VI9ZPP F+aWE4zZbQF0PavzUCV2SPeG6u/Zn7O3ixVsbde/2quXfnLqDG9CKaGCpvBhnv90peJ7tN oxI+doTWmsf+qtUmZTGHhh9TrK1pqN7lWmTaGiS7Zo9NmtypjfGSnTb7LMY8vNVjYu8+HL q8fv8Yaorf6/r4CR2KTW8MfYgiJwIsvUbkqOdnZylRw4BUQtqryKwowptA8wRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701630163; a=rsa-sha256; cv=none; b=lVfnz4Ywx5KBqDYgS2FkgYAf7BQ8O99n5ZufEJmenH3STdfVMsPt9fktCmouDzYQV7ZFNa /5SjCe9t3TUlse9/Zml7Ah8oXFUFDkmNGe/3x3HBDg9Rmd/OfhNQOkeO0i164PHQ8orbES 1J1rOR37kddP+8v5+885EablDfYrdkdjeAPUUTZ2jJne6FVrEjMAV2UkXvMIzoBX5ZgoiH 9EuK5x21AG3wjl6ABgXUPJw1UP4cGfX3jqQDs5Wa13hUV2++jje1Mrd4jbynYliGFWFSTE EmJ1++HYz60ozq+xhESjvGS2QODM5BbEVO7lpcYwM+Tvn03viSxNCoIkxzNMtQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4Sjx4z5Kyjz19Rb for ; Sun, 3 Dec 2023 19:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3B3J2hGg015743 for ; Sun, 3 Dec 2023 19:02:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B3J2hll015742 for amd64@FreeBSD.org; Sun, 3 Dec 2023 19:02:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: amd64@FreeBSD.org Subject: [Bug 207940] stand/efi/boot1: Add boot partition selection Date: Sun, 03 Dec 2023 19:02:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: nicolas@deffayet.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: imp@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207940 --- Comment #44 from Nicolas --- Can't compile on FreeBSD 14.0: --- gptboot.sym.full --- cc -O2 -pipe -fno-common -I/usr/src/stand/efi/boot1 -I/usr/src/stand/efi/gptboot -DBOOTPROG=3D\"gptboot.efi\" -DHAVE_MEMCPY -I/usr/src/sys/contrib/zlib -Wformat -fshort-wchar -mno-red-zone -nostdinc -I/usr/obj/usr/src/amd64.amd64/stand/libsa -I/usr/src/stand/libsa -D_STANDA= LONE -I/usr/src/sys -Ddouble=3Djagged-little-pill -Dfloat=3Dfloaty-mcfloatface -ffunction-sections -fdata-sections -DLOADER_GELI_SUPPORT -I/usr/src/stand/libsa/geli -DLOADER_DISK_SUPPORT -ffreestanding -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -fPIC -mno-red-zone -mno-relax -I. -Iinclude -DEFI_BOOT1 -I/usr/src/stand/efi/include -I/usr/src/stand/efi/include/amd64 -I/usr/src/sys/contrib/dev/acpica/include -DEFI_UFS_BOOT -DEFI_DEBUG -I/usr/src/stand/common -fPIC -g -gz=3Dzlib -std= =3Dgnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar= ith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parame= ter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safe= ty -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Oz -Qunused-arguments -nostdlib -Wl,-T/usr/src/stand/efi/loader/arch/amd64/ldscript.amd64,-Bsymbolic,-znote= xt -pie -Wl,-znocombreloc -Wl,-zrelro -o gptboot.sym.full gpt.o boot1.o prot= o.o self_reloc.o start.o ufs_module.o devpath.o=20 /usr/obj/usr/src/amd64.amd64/stand/efi/libefi/libefi.a /usr/obj/usr/src/amd64.amd64/stand/libsa/libsa.a=20 ld: error: undefined symbol: getchar >>> referenced by panic.c:48 (/usr/src/stand/libsa/panic.c:48) >>> panic.o:(panic_action) in archive /usr/obj/usr/src/amd64.= amd64/stand/libsa/libsa.a cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [gptboot.sym.full] Error code 1 make[2]: stopped in /usr/src/stand/efi/gptboot 1 error make[2]: stopped in /usr/src/stand/efi/gptboot make[1]: stopped in /usr/src/stand/efi --- all_subdir_efi/boot1 --- Both patch fully applied: 1. Patch for boot1.c and proto.c 2020-03-17 12:10 UTC, Tomoaki AOKI 2. patch for head r350654 proto.c 2020-03-23 16:02 UTC, Naomichi Nonaka (require manual application of the pa= tch for the second part). Any idea on how to fix to make it works on FreeBSD 14.0 RELEASE ? Thanks --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Dec 3 22:18:21 2023 X-Original-To: amd64@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 4Sk1Ql33DBz51hdt for ; Sun, 3 Dec 2023 22:18:23 +0000 (UTC) (envelope-from bugzilla-noreply@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 4Sk1Ql232Cz4Flc for ; Sun, 3 Dec 2023 22:18:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701641903; 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: in-reply-to:in-reply-to:references:references; bh=SMlnzLzDLKu7mNU7twOv6WBL8Scl9vyvkbLbSmtV+hY=; b=RrTdsZ8dhcQzfNnBiirRy689igBOnJEmP00XtImUx/xSko9sftRH8xjRAjfMFRqac+63rF MFav2mOaE4OYh5nlAfxX4JrLACJY3awnnYUhAYyqXmLHGY2pAIBucUbAykpSsbrqbMHmHi 3qVQdGKPPukOj/5EKhPmPOGnilLW4CObL9S4ZXBs3nJSNAUUH8dnN1x+I27SgWx6TTMbzR Cd1MkZf1Wf6d/0MR2gbvMFUfHxcYcLKca43RFXjuzO/E2/vCxZUuvyc7YAXqsutfsrWhRm SORBzK5ejeVQMRFMez9XIdoBf0FW2igT5h7H0cQdljiBrSfXWEvIxuzn2PUpxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701641903; a=rsa-sha256; cv=none; b=VqjGQxxrq+tnU0H9MNGacUF1/KMPK82qE4JAeKCVoVxWadoQafG8ohAFr/lsBIssFxUNxQ I/nQqQr6x6m+zYoyWoIxX72i3dqF8oUcbEz/m2sclMBdVxldMG9UkkV7ODYqEa7oEYrOBC kDNFxiKIp5wodcy+49MHXVMKXKtLOwNDZKvGFDRKZtocqkeSXWzgvGDEmnNlKAExS6M96Y 1+gxMqgq4MsfljWgxLPAH21k/HtjTB53cMr2K5C1krmg001moziZuCLNODsqpuatm76wzG sZKFlaDX3tBb2eIsvIDNsYUNuP9VFWcbUs3Stgv51xZAKd4z+euhJMHQi82Shw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4Sk1Ql1643z1G1q for ; Sun, 3 Dec 2023 22:18:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3B3MINXH014144 for ; Sun, 3 Dec 2023 22:18:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B3MINX4014143 for amd64@FreeBSD.org; Sun, 3 Dec 2023 22:18:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: amd64@FreeBSD.org Subject: [Bug 207940] stand/efi/boot1: Add boot partition selection Date: Sun, 03 Dec 2023 22:18:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: junchoon@dec.sakura.ne.jp X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: imp@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207940 --- Comment #45 from Tomoaki AOKI --- (In reply to Nicolas from comment #44) If you applied BOTH PATCHES AT ONCE, DO NOT DO SO. Choose whichebver you want, just one. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Dec 4 13:49:29 2023 X-Original-To: amd64@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 4SkQ5563vkz53Nyd for ; Mon, 4 Dec 2023 13:49:29 +0000 (UTC) (envelope-from bugzilla-noreply@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 4SkQ5551vSz4hrK for ; Mon, 4 Dec 2023 13:49:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701697769; 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: in-reply-to:in-reply-to:references:references; bh=8ro+wLunUXs/4Gkeh/j+OfKTYBNO2yystdVW5XUDkxg=; b=ha9r7fTWHU7kZFLVDemfbCtYlPQMqSAFQN5fVQn2zRovHEcGmfZa5/8UgkzbYooazbEkmb xLAFzoCqEX3EplKx4/71/wGsd1U4G4IwGH2mv+Go9e3Gu8lgpg/JT50LdZptxLzY9bzckL LZS/e7x5IGfkSzmkGhK5w3YfNmTS27Jk7FLVkEK0c76IDjbZGOJ3vYoI8y65Rm5QOtvRxx +GirnLPmudv4FPaba/cHJo6tCmLhlDqIjC5C4dz4lt1X+kkYh8J4kCn1Q5XG7Gt1zGyuP6 iVc1QEa1gWmSF4XPVwbvFhCOWX8ahq3yV+QXMWYiddQWG/qPaC1vOiE+J4Jkug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701697769; a=rsa-sha256; cv=none; b=WLlyDFMiE5CLQt+4+mnPAu9z1Av9S5pBGlZoPGiDr2GilQ4Piz5etaAIwiIFo3bJd1H9FA cF4clJbfa790V5qBtfV6CjbiTb6mfCKDzLCjGlNKzc4IWdOr3BEnXlPQ/wQ1YHsf+ASJMK RpBnCj8TcxKU69jWdEFfjOnv1ljonUHZSaBfT+IP33YZc6zUBzbBqrFh93Uw/WSuJND0RE Rj1aH+fXBsYSaTQdTe1nMY2PNMoQKPKlHFcQWgac16CH1vjo4v3hJD0PeAzNbA+DuWo6wc 0Dq/qdl8TI+Cs2Wk4Hvo9ZoAEb0JdxsyTWyi8pjqOzK3p3A2N+wzy8MWqyhsnw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4SkQ5546WCzCV8 for ; Mon, 4 Dec 2023 13:49:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3B4DnTBc050540 for ; Mon, 4 Dec 2023 13:49:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B4DnTYs050538 for amd64@FreeBSD.org; Mon, 4 Dec 2023 13:49:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: amd64@FreeBSD.org Subject: [Bug 207940] stand/efi/boot1: Add boot partition selection Date: Mon, 04 Dec 2023 13:49:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: junchoon@dec.sakura.ne.jp X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: imp@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207940 Tomoaki AOKI changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #212457|0 |1 is obsolete| | --- Comment #46 from Tomoaki AOKI --- Created attachment 246766 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246766&action= =3Dedit Patch for stable13 and later proto.c Patch for proto.c, stable/13 and later. This is a forgotten-to-upload patch after Nomichi Nonaka updated his patch. After my previous patch, *Copied Naomichi Nonaka's mygetchar() to proto.c and use it instead of getchar() to leave boot1.c untouched. This modified patch adds disk info in conjunction with partition No., instead of partition raw UUID used by Naomichi's latest patch. CHOOSE WHICHEVER YOU LIKE. DO NOT ATTEMPT TO APPLY BOTH AT ONCE! This should be applicable both head and stable/13 with some offsets or fuzz= es. Ideally, disk and patrition info 100% matches just as running FreeBSD does = like ada0p3, da1s1, but it's not implemented. Beware! NVMe drives would be shown up like drive(??), as proper DEVICE_PATH info is not yet defined on FreeBSD (U)EFI implementation. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Dec 7 13:29:47 2023 X-Original-To: amd64@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 4SmFW052gRz530QH for ; Thu, 7 Dec 2023 13:29:48 +0000 (UTC) (envelope-from bugzilla-noreply@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 4SmFW03vzLz3ZdR for ; Thu, 7 Dec 2023 13:29:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701955788; a=rsa-sha256; cv=none; b=aHLZ+QEtF0JHDrW4LlBn5JVsUTw/qInmD4WgT0hn5BRQl0DYO8yFoR0KDBystCYZ7Qj2vQ LXWM8MqM3c5g+N0Xmdlfu3Gr/UQf2iSKEQB8/Tu8HWMTbP2usYrQxjPrMJylWQHOXHdOp4 j+3m/sT4NMyAD5pyZLXW9v4kbSi0dyxCMRrO6qbyMD5iRhDw4+fyqyuIQNQiIujIrGUzS3 F5VLu+xQyzpnQroy+r+dhRlKfuQVH3m2zZX78GOYj+e2bphiyP3pRjdvPeG5wX6DDEt/D9 9rVDpEfKUFEDntDpX3qzKRXSnKXGTiLUsw3urve2lIBPgEgTO5sm6JsqXtHoRg== 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=1701955788; 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: in-reply-to:in-reply-to:references:references; bh=+CUUtXbByToK8uhbtj6bTzKmvmJE2/Cphk5sddwe+2o=; b=yL8c2YInnxIKo61X7tdzKQu8RZXLVqk/U1Sg3Z1AqTAgzBEfooSUPYw9Ge44YaWYQBfRs5 Ll5gob3RRWpRXcgUsOkYVNUhTcVdUxtMBtoHz6HVadEnvcfrDovltZ1QEQUhqeFH/VAT0r WcYUSDFTSWfoM9bFVlNFSduX0nyC04KVl/yWa0/maZ+D+tTWbCoRuG4T9zxrIWUaAaHYJE CK3PgIfHCYx0hdXlWl2dzAWfOgzx+f0jNJOVuBINBQTGT6sB2WWC0uJ0GBsD7faM5wTfIb zFujD+5xdWD36tZEr84VbfXXliPmdrvz8rvYr1tQZGjGe9GKqKg3ZGFhQOdeGQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4SmFW031DJzfLH for ; Thu, 7 Dec 2023 13:29:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3B7DTm8f073655 for ; Thu, 7 Dec 2023 13:29:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B7DTmZg073654 for amd64@FreeBSD.org; Thu, 7 Dec 2023 13:29:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: amd64@FreeBSD.org Subject: [Bug 207940] stand/efi/boot1: Add boot partition selection Date: Thu, 07 Dec 2023 13:29:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: nicolas@deffayet.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: imp@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207940 --- Comment #47 from Nicolas --- I don't understand why the partition menu display using boot1.efifat (so FreeBSD 12 way) but not using boot1.efi + manual partition setup (so FreeBS= D 13 and newer way). Since FreeBSD 13.0 and newer, boot1.efifat didn't exist anymore, so I use t= he following to write EFI partition of my disk: # newfs_msdos -F 12 -L EFISYS /dev/p1 ; # mount -t msdosfs /dev/p1 /mnt # mkdir -p /mnt/efi/boot # cp /boot/loader.efi /mnt/efi/boot/BOOTx64.efi # echo "BOOTx64.efi" > /mnt/efi/boot/startup.nsh # umount /mnt But the partition menu is not shown. I use the same newfs_msdos paramaters than https://cgit.freebsd.org/src/plain/stand/efi/boot1/generate-fat.sh?h=3Drele= ng/12.3 used to create boot1.efifat. If I put /boot/boot1.efi from FreeBSD 14.0 into FreeBSD 12.3 system, the partition menu is shown. If I create manually a boot1.efifat on FreeBSD 14.0 (using FreeBSD 12 method from https://cgit.freebsd.org/src/plain/stand/efi/boot1/generate-fat.sh?h=3Drele= ng/12.3 & https://cgit.freebsd.org/src/tree/stand/efi/boot1/Makefile?h=3Dreleng/12.= 3), partition menu works. mkdir /temp/boot1 cd /temp/boot1 dd if=3D/dev/zero of=3Dfat-x64.tmpl bs=3D512 count=3D1600 mdconfig -a -f fat-x64.tmpl newfs_msdos -F 12 -L EFISYS md0 mkdir stub mount -t msdosfs /dev/md0 stub mkdir -p stub/efi/boot echo 'Boot1 START' | dd of=3Dstub/efi/boot/BOOTx64.efi cbs=3D384k count=3D1 conv=3Dblock echo BOOTx64.efi > stub/efi/boot/startup.nsh umount stub mdconfig -d -u md0 rmdir stub xz -f fat-x64.tmpl xz -d -c fat-x64.tmpl.xz > boot1.efifat dd if=3D/boot/boot1.efi of=3Dboot1.efifat seek=3D0x2d conv=3Dnotrunc cp boot1.efifat /boot/boot1.efifat dd if=3D/boot/boot1.efifat of=3D/dev/p1 ; Did you know how get the partition menu working on FreeBSD 14.0 without usi= ng boot1.efifat ? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Dec 7 16:09:46 2023 X-Original-To: amd64@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 4SmK3c19x1z53Cjw for ; Thu, 7 Dec 2023 16:09:48 +0000 (UTC) (envelope-from bugzilla-noreply@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 4SmK3c01Xzz4Rjj for ; Thu, 7 Dec 2023 16:09:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701965388; a=rsa-sha256; cv=none; b=wUuO21uhztX5cWI8wQE0+SB11B3VJbDvjctV9iR50VTtGDI9Mo6N+NjuNHeXZBdF2sam12 NxScFttccXoTsQJuGyEoAuXX3980x8uL3ruMMwg2P7UhPhl+nmZAE9ReYnAe3FuA8PDL+3 FmkqRRcnp86LhJ3wUghw2VCuArLdoUWRdsRcakcZ3SNhpyPRIE2ESwQs+I80hRfrmGAd9t ftEWmSHCfhwRpwJtmbbbvH/mPuFtSxp42KLU8Sf5nee6cS3ANgy8IwVaSERb8jeVP7GmP+ kOFsnL7kN4wL9o8JqjW3KEXXT41WAL5jtjpdYTvTWUMNeWCUXKMZ/r+243F+uQ== 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=1701965388; 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: in-reply-to:in-reply-to:references:references; bh=1gIVC0KOgjglWFK5Iq3klyCmT4DAKmkk2dfjailpwwU=; b=e2I8HVGkUUNB9Y0a21GZaBtbkzvqnyMNxycyL3nT+lR0FvXKd7u4Ox1P11cY7Sf5Ea35Fq KJofjVmoOYNdHLXksxmZVgDIx157scZEbxZPhJWEgxCZVbLXqgOT1UtBO6CUA7XBDDx6eG tEhnaRH0OQ+teiCQcb2RL08dH3i49Ak3kG1Ku4aTf3qDHmt26nsLy/VTFESEx8lzaQhAje pKvNAv5Q2ZT/6qPpuR7xx/39zugipkjTt+M8YoZ/yh+Dfr63REs/I6QHl3BvAr9ikHlLJN +kQGaV1UsElJOqybI6c7/zznF3paMXl+uAeSqBeIv9xgtnPmOhRSPo6S3DmrRw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4SmK3b6CxgzkNG for ; Thu, 7 Dec 2023 16:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3B7G9lPx029364 for ; Thu, 7 Dec 2023 16:09:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B7G9l2v029362 for amd64@FreeBSD.org; Thu, 7 Dec 2023 16:09:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: amd64@FreeBSD.org Subject: [Bug 207940] stand/efi/boot1: Add boot partition selection Date: Thu, 07 Dec 2023 16:09:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: imp@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207940 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #48 from Mark Millard --- https://man.freebsd.org/cgi/man.cgi?query=3Dboot1.efi&apropos=3D0&sektion= =3D8&manpath=3DFreeBSD+14.0-RELEASE&arch=3Ddefault&format=3Dhtml reports: QUOTE boot1.efi has been deprecated and will be removed from a future = re- lease. loader.efi(8) handles all its former use cases with more fle= xi- bility. END QUOTE Adding new/adjusted functionality for 14.x+ to something deprecated for 14.x+ seems unlikely. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Dec 7 16:16:56 2023 X-Original-To: amd64@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 4SmKCt5nFgz53DLC for ; Thu, 7 Dec 2023 16:16:58 +0000 (UTC) (envelope-from bugzilla-noreply@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 4SmKCt2SHmz4Sml for ; Thu, 7 Dec 2023 16:16:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701965818; a=rsa-sha256; cv=none; b=Of+wV/Bh4d+bqQa+7MPSatS85jSEKO3W9zkjoHMoJWKF1QdgowMt/Ar6ELjSwNpDKQ9VxL lpneC4Dcl7yYpGdL1kMowtPTRxxgtJGgmIMHq5mEpp1xZfgrNtwE61LAwL65S37LfRPjj/ XKit76qd/DsP6Vp1y6qYBVYW77tjplV+FoH9gbj7nnFSX/djLaatfDX28Iu33ZeMmEC8EJ pCZ54SV37ulJOnOajyK7z4kY9oOU11syQinCJSGOw5Q+++YccZwaCdqpAjqy6Lnk5YJ3mu ifaVtPkyJ/lg/uGJWM1fDqjnoERPOmUeAIAen2a+lP9/h9YIxJfBF9DWrPz8Wg== 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=1701965818; 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: in-reply-to:in-reply-to:references:references; bh=k+nrtPBY+Fczoa1+gmBXnkr4aza8RR1ByTvWcy0LEIw=; b=uIdnDLx+Q2CnHtpQk775H/mGoUZgp0fD60o0yoXz1ZiE1ghjGtYLV5A83oClBu1zhx44Uy gAJ6kN79iU4LtHyk0PFdItTy7wXKBOU/adjC5nGBTfmbEbw5k1G9/PNNEVbh7JBwmoGAz1 XFl1Zv3gEtdkSbnenVwWbuxQW88RXSfAFCdAWGaxSzZWQBJAWZv2ChCRRWc8C4CDIioy1d 9PEmsOrbl9C5zkRBAwucIwYbiEXDkr+3dXYu9EXkFfkPzY0+/I3rl2r7qVgjt8MaL7FS72 /zfqTpBEnpcSGDVVo9y1ZdAHpOW/z3jTaOTFaTslo51bQwDYXFoIeam8J1JLdA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4SmKCt1YVrzjvc for ; Thu, 7 Dec 2023 16:16:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3B7GGwqg053826 for ; Thu, 7 Dec 2023 16:16:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B7GGwQ7053825 for amd64@FreeBSD.org; Thu, 7 Dec 2023 16:16:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: amd64@FreeBSD.org Subject: [Bug 207940] stand/efi/boot1: Add boot partition selection Date: Thu, 07 Dec 2023 16:16:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: imp@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207940 --- Comment #49 from Mark Millard --- Sorry: the deprecated status was already covered by comment #42 ( And the page I referenced says it is from 13.2, so: 13.2+ .) --=20 You are receiving this mail because: You are on the CC list for the bug.=