Bug 285554 - sysutils/edk2: Update to 202505
Summary: sysutils/edk2: Update to 202505
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-uboot (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-20 17:01 UTC by Alexey
Modified: 2025-06-03 18:22 UTC (History)
6 users (show)

See Also:
bugzilla: maintainer-feedback? (uboot)


Attachments
Update patch for sysutils/edk2 (17.29 KB, patch)
2025-03-20 17:01 UTC, Alexey
no flags Details | Diff
202502 update patch with reverted memory attributes protocol (30.94 KB, patch)
2025-05-08 17:52 UTC, Alexey
no flags Details | Diff
sysutils/edk2: Update to 202505 (31.19 KB, patch)
2025-05-23 23:51 UTC, Alexey
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2025-03-20 17:01:49 UTC
Created attachment 258837 [details]
Update patch for sysutils/edk2

Patch to update EDK2 OVMF firmware package used in bhyve and some ARM platforms from 2023 to 2025 stable release. New submodules added in GH_TUPLE, some script for build has been moved to a bash subshell.

BHYVE notices: tiny boot speedup, a bug with crashing on CPU sensor wmsr from HWiNFO has stopped occurring, a bug with glibc apps crashing in Linux VMs has stopped occurring, a crash on memtest86+ with more than 1 vCPU has stopped occurring.

No new bugs seem to have surfaced.
Comment 1 Alexey 2025-03-20 18:01:20 UTC
Addition: default build flavor changed from macchiatobin to bhyve
Comment 2 Alexander Ziaee freebsd_committer freebsd_triage 2025-04-25 11:50:17 UTC
"Okay please do not merge this, some versions of grub really seem to refuse to work with this version of edk2 and I have no idea why. We can try the latest 2024 version as noted by Alsono." ~Alexey on discord
Comment 3 Alexey 2025-05-08 17:52:06 UTC
Created attachment 260266 [details]
202502 update patch with reverted memory attributes protocol

edk2 202502 broke booting linux on some versions of grub from the memory attributes protocol, this patch has a package update and reverts the specific feature causing issues with grub
Comment 4 Rebecca Cran freebsd_committer freebsd_triage 2025-05-08 20:09:45 UTC
There's currently a freeze for the next stable tag, edk2-stable202505 so I don't know if you might want to wait for that?
Comment 5 Alexey 2025-05-17 16:03:44 UTC
(In reply to Rebecca Cran from comment #4)
Sure, let's wait until the 05 release!
Comment 6 Alexey 2025-05-23 23:51:42 UTC
Created attachment 260668 [details]
sysutils/edk2: Update to 202505
Comment 7 Alexey 2025-05-23 23:54:57 UTC
(In reply to Rebecca Cran from comment #4)

202505 just came out, created a patch. Had some trouble getting it compiling for rpi4,
figured out I needed to add libfdt into the tuple. I believe this should be fine now.
Comment 8 Roman Bogorodskiy freebsd_committer freebsd_triage 2025-06-03 18:22:47 UTC
I've been testing it for a bit more than a week and didn't notice any regressions on my use cases.

However, it seems this update should enable "bootindex=" support, however, it doesn't work for me, I've posted more details on the mailling list: https://lists.freebsd.org/archives/freebsd-virtualization/2025-May/002948.html

Also, I've been experimenting with TPM devices recently and noticed that my test Ubuntu guest cannot even pass the UEFI boot step when I have TPM enable. I'm not sure if that's a regression because I didn't use this feature before.