From nobody Wed Sep 10 18:14:46 2025 X-Original-To: uboot@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 4cMTP22tbjz66gDL for ; Wed, 10 Sep 2025 18:14:46 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cMTP22CQ5z3dBk for ; Wed, 10 Sep 2025 18:14:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757528086; 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=WYErRbM/mUGXy3Q0NWXnXFGQ33UFkg4zQA6H/Q6sFEg=; b=FKS72NbWit0FX4iTHBl8YPZHsASfT0yZ+HfgAjEp+3qR8wphgK7JQAivWST2x8n3EBSnzK 9bjAhUW/Aa/Oxq7IwgKh/QaSAfQ9cm1LAui9sn7lSNIOzmI4l8P5AqxJFKnZMluUKgCIm1 Ag1dssKwtpgeDsVhoBCIjXQPj/LQWnp2nTYKdp1APISuDfQrKt1rpTuTXxsleD0wAkHXhO v2ofNXES2kFsV42Z/ZQJwAmVlsjEDxzFWdtg+Vb9s6aj32iQdcXqf89YCuojoYGW8tcTFx iS+9sIWzA/uCH28XIj+WSS7HukLmClPgU5EjX7hVySbh7pJqb7NcG2V4W0p2xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757528086; 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=WYErRbM/mUGXy3Q0NWXnXFGQ33UFkg4zQA6H/Q6sFEg=; b=OexbwPgxERcW4bFsRIrXYadtHyFBdxAWRohZhOgzNO2WbKT0LHBQ8JCK3GQNAXcooFXiPl UHUkgRwQfACrLkyChYYwpw35VkTwujk2msfphom11HtIfPYVtQQP7JYj/ygE2DbvjRl3Q8 pnzX40DsMuz9VE0bfFdXFNkWbJVHnRXcGVMuSSXl/8lieR7tLYlQYArCBm9wZM5PylsfG9 RsJSZaQBVsGaaD8M78Aw+6I777u6Vn6VVyqIXOAuSURQWn5O0chdAvsb2o5urKXNiALSJA siPl08dB54QBT6c/3Wur9y5rNB4aYwAqyG2n/DGvKzqbOcyTEKPaHqbZIuIOyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757528086; a=rsa-sha256; cv=none; b=QOeUDh6z62qCQvPa4DSaYLxn8h6Kk4R43NSxqrpVV7pZKsq1jQFJZHqFHx5NTdTskv1I6p crqLdzSjsypvDrEXqVf0Bnk1/rB73aqulobaViurZJ5uzSvOmb7DnwoKVQ9L3VGoKLy1Do x6JeGROMWFErRUas2BZ/hnK6DshwQvX6qePmGtbjj2SXvLwnaTDb84xQKhrbQBkJE1LGez rElD5RA4qP0hvrEjv3xFBAgVFHMwNX06GMFjeZOIOCyBWBEXjuFgYlvctfgfhdLS3ulMWG JSQTw8OFOk7RpEiJqalWxCnHtF6AN3V4BzYjuTnHetrLANlR9D2FJ4vjLFdz6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cMTP21kvhzXjG for ; Wed, 10 Sep 2025 18:14:46 +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 58AIEkuY007166 for ; Wed, 10 Sep 2025 18:14:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 58AIEkPu007165 for uboot@FreeBSD.org; Wed, 10 Sep 2025 18:14:46 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: uboot@FreeBSD.org Subject: [Bug 285554] sysutils/edk2: Update to 202508 Date: Wed, 10 Sep 2025 18:14:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: novel@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: uboot@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-uboot List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-uboot@freebsd.org Sender: owner-freebsd-uboot@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285554 --- Comment #15 from Roman Bogorodskiy --- (In reply to Michael Osipov from comment #13) It doesn't work for me still, even with the new edk2. My test is the following: I have a FreeBSD guest with HD and CD drives, I w= ant to boot from HD. Commands I use: sudo bhyve -c 2 -m 4096 -A -I -u -H -P \ -s 0:0,hostbridge \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd,/var/lib/libvirt/bhyve= /nvram/freebsd_VARS.fd,fwcfg=3Dqemu \ -s 2:0,xhci,tablet -s 1:0,lpc \ -s 3:0,ahci,hd:/data/img/freebsd.img,bootindex=3D1,cd:/data/isos/FreeBSD-14.2-= RELEASE-amd64-disc1.iso,bootindex=3D2 \ -s 4:0,virtio-net,tap4,mac=3D52:54:00:47:f4:dc -s 5:0,fbuf,tcp=3D127.0.0.1:= 5920 \ -l com1,stdio \ freebsd Same, but with fwcfg on the lpc device: sudo bhyve -c 2 -m 4096 -A -I -u -H -P \ -s 0:0,hostbridge \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd,/var/lib/libvirt/bhyve= /nvram/freebsd_VARS.fd \ -s 2:0,xhci,tablet -s 1:0,lpc,fwcfg=3Dqemu \ -s 3:0,ahci,hd:/data/img/freebsd.img,bootindex=3D1,cd:/data/isos/FreeBSD-14.2-= RELEASE-amd64-disc1.iso,bootindex=3D2 \ -s 4:0,virtio-net,tap4,mac=3D52:54:00:47:f4:dc -s 5:0,fbuf,tcp=3D127.0.0.1:= 5920 \ -l com1,stdio \ freebsd Same, but without VARS: sudo bhyve -c 2 -m 4096 -A -I -u -H -P \ -s 0:0,hostbridge \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ -s 2:0,xhci,tablet -s 1:0,lpc,fwcfg=3Dqemu \ -s 3:0,ahci,hd:/data/img/freebsd.img,bootindex=3D1,cd:/data/isos/FreeBSD-14.2-= RELEASE-amd64-disc1.iso,bootindex=3D2 \ -s 4:0,virtio-net,tap4,mac=3D52:54:00:47:f4:dc -s 5:0,fbuf,tcp=3D127.0.0.1:= 5920 \ -l com1,stdio \ freebsd Same, but with lpc on slot 31: sudo bhyve -c 2 -m 4096 -A -I -u -H -P \ -s 0:0,hostbridge \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ -s 2:0,xhci,tablet -s 31:0,lpc,fwcfg=3Dqemu \ -s 3:0,ahci,hd:/data/img/freebsd.img,bootindex=3D1,cd:/data/isos/FreeBSD-14.2-= RELEASE-amd64-disc1.iso,bootindex=3D2 \ -s 4:0,virtio-net,tap4,mac=3D52:54:00:47:f4:dc -s 5:0,fbuf,tcp=3D127.0.0.1:= 5920 \ -l com1,stdio \ freebsd Am I doing something wrong? BTW, your vm-bhyve change in combination with the bhyve(1) manual look a bit confusing to me. The manual mentions fwcfg in the bootrom section of `-l lpcdev[,conf]`, then gives more details in the "Boot ROM device backends". = It also mentions: The possible values for the conf argument are listed in the -s flag description. But it wasn't obvious to me that it means that "-31,lpc,fwcfg=3Dqemu" shoul= d be used. There are also no examples for that. I haven't yet checked the code though. Almost forgot, after update I've re-created VARs file using: sudo cp /usr/local/share/uefi-firmware/BHYVE_UEFI_VARS.fd /var/lib/libvirt/bhyve/nvram/freebsd_VARS.fd Not sure if that's the right way, there's no information on that in the man= ual page (or I missed that somehow). --=20 You are receiving this mail because: You are the assignee for the bug.=