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.
Addition: default build flavor changed from macchiatobin to bhyve
"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
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
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?
(In reply to Rebecca Cran from comment #4) Sure, let's wait until the 05 release!
Created attachment 260668 [details] sysutils/edk2: Update to 202505
(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.
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.