Merged
Conversation
16 tasks
e38d8b7 to
63b214c
Compare
Member
Author
|
Rebased on top of latest main branch. Haven't retested yet. |
52b0e4b to
b7b2e46
Compare
5bc6419 to
9b56d8f
Compare
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 <dhs@frame.work>
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 <dhs@frame.work>
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 <dhs@frame.work>
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)