Update uefi to 0.35+#184
Merged
Merged
Conversation
16 tasks
JohnAZoidberg
force-pushed
the
uefi-update
branch
from
January 18, 2026 07:42
e38d8b7 to
63b214c
Compare
Member
Author
|
Rebased on top of latest main branch. Haven't retested yet. |
JohnAZoidberg
force-pushed
the
uefi-update
branch
from
January 26, 2026 06:11
52b0e4b to
b7b2e46
Compare
JohnAZoidberg
force-pushed
the
uefi-update
branch
2 times, most recently
from
March 7, 2026 07:15
5bc6419 to
9b56d8f
Compare
JohnAZoidberg
marked this pull request as ready for review
March 7, 2026 07:15
JohnAZoidberg
force-pushed
the
uefi-update
branch
from
March 7, 2026 11:13
9b56d8f to
d62d8e4
Compare
Add automated UEFI testing using QEMU. The test framework: - Downloads OVMF firmware for QEMU - Builds a test disk image with the UEFI shell and framework tool - Runs test.nsh which exercises version, help, hash, and capsule commands - Validates results via serial output markers (TESTS_COMPLETE/TEST_FAILED) - Adds CI job to run UEFI tests on ubuntu-24.04 Signed-off-by: Daniel Schaefer <[email protected]>
Rename the internal uefi module to fw_uefi to avoid naming conflicts with the uefi crate, in preparation for updating to uefi 0.36.1. Signed-off-by: Daniel Schaefer <[email protected]>
Update from the custom Framework fork of uefi 0.20/uefi-services 0.17 to upstream uefi 0.36.1 from crates.io. Key changes: - Replace uefi-services with uefi's built-in global_allocator, panic_handler, and logger features - Add uefi-raw 0.13 for direct access to shell protocol FFI - Rewrite fw_uefi module to use the new boot:: global API instead of accessing BootServices through the system table - Rewrite shell file I/O to use raw ShellProtocol FFI - Simplify UEFI entry point (no more explicit Handle/SystemTable params) - Remove custom git patches from Cargo.toml Signed-off-by: Daniel Schaefer <[email protected]>
JohnAZoidberg
force-pushed
the
uefi-update
branch
from
March 7, 2026 11:29
d62d8e4 to
5f1613f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updating from uefi 0.20 to 0.35. Actually need unreleased changes, so building from their latest master.
Testing:
framework_tool --infocorrectly gets SMBIOS table (tested on QEMU and Framework hardware)framework_tool --esrtcorrectly gets ESRT table (tested on Framework hardware)framework_tool -h -bprints as much as fits on the screen and pausesframework_tool.efi --hash framework_tool.efiprints the correct file hashframework_tool --capsule winux.bin --dump dump.bmpcan extract the image (check by comparing hash)