Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2026 19:58:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 295943] sysutils/edk2: Update to 202605
Message-ID:  <bug-295943-7788@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295943

            Bug ID: 295943
           Summary: sysutils/edk2: Update to 202605
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: uboot@FreeBSD.org
          Reporter: 9vlc@proton.me
             Flags: maintainer-feedback?(uboot@FreeBSD.org)
          Assignee: uboot@FreeBSD.org

Quite a big report, don't really know how to split it.

This series of patches adds a bit of stuff, I'll go one by one:
        0001-devel-edk2-tools-New-port.patch:
        - Adds the devel/edk2-tools port, mainly to avoid repeatedly building
EDK2s
          C utilities for each flavor. Also, one of the reasons I'm splitting
utils
          off into a separate port is the EfiRom utility can be used for
converting
          drivers extracted from vendor UEFI firmware into bhyve-compatible
OpROMs.

        0002-sysutils-edk2-Update-to-202605.patch:
        - Bumps the sysutils/edk2 port's version to g202605, many patches
included.
        - Brings back the MemAttr protocol; let's not disregard the UEFI
standards.
        - Changes the compiler to LLVM from ports (host LLVM may lack alien
archs).
        - Adds two new flavors: xen_aarch64 and qemu_aarch64 and removes
qemu_i386.
        - Heavily reformats the Makefile for easier switching between LLVM and
GCC.
        - No longer installs firmware into legacy paths for
sysutils/bhyve-firmware.
        - No longer resizes your terminal emulator when connecting over serial.

        0003-sysutils-edk2-legacy-New-port.patch:
        - Repurposes the updated sysutils/edk2 Makefile with little changes.
        - Brings back the pre-update g202305 version of the sysutils/edk2 port.
        - Adds support for x2APIC that bhyve provides with the '-x' option.

        0004-sysutils-bhyve-firmware-Use-sysutils-edk2-legacy.patch:
        - Points sysutils/bhyve-firmware to sysutils/edk2-legacy.

Patch 0001 can be applied by its own, patches 0002, 0003 and 0004 must be
applied
all at the same time and 0002 with 0003 depend on 0001.

The sysutils/edk2 package update also comes with a couple of upstreamed patches
from me
that bring back the UEFI Shell and iPXE Boot (big sorry, did not notice they
was gone from the previous update!)
and bump the modules closer to QEMU's EDK2. This means the '-x' option works
now since we have x2APIC!

Sadly, EDK2 on bhyve still relies on an HPET timer rather than APIC, even
though APIC timer support exists.
When using an APIC timer, everything UEFI related seems to count time about
five times slower than it should.
This might of course be an AMD-only issue or even something specific to my
setup, I have only tested an APIC
build on a single machine.

Also, it builds EDK2 with HTTPS (no HTTP) boot and TLS.

(I gave up on making all the changes lines exactly 83 characters long)
(If you don't see all the patches attached right away, I might still be
uploading them)

Sorry for the update taking so long! This was quite a journey!

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295943-7788>