Add tpm2 to MACHINE_FEATURES and use OE-core's OVMF recipe#937
Closed
amstewart wants to merge 2 commits into
Closed
Add tpm2 to MACHINE_FEATURES and use OE-core's OVMF recipe#937amstewart wants to merge 2 commits into
tpm2 to MACHINE_FEATURES and use OE-core's OVMF recipe#937amstewart wants to merge 2 commits into
Conversation
added 2 commits
February 3, 2026 14:36
PXIs and other x86_64 devices may be populated with TPM2 compatible TPMs. Add 'tpm2' to the MACHINE_FEATURES so that recipes which use that value to determine configured functionality are aware. Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
The OE-core ovmf recipe generates raw OVMF image files, but then converts them to qcow2 images, and moves only the qcow2 files to the deploy directory. QEMU can use either format, but only the raw format supports writable EFI variables - which NILRT uses and which upstream OE core testing does not. So add a NILRT-specific bbappend which also outputs the raw-formatted OVMF files, for use in NILRT QEMU virtual machines. Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
4 tasks
Contributor
Author
|
Closed. Superseded by #957. |
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.
Summary of Changes
OE-core PR #187 corrects the OE-core
ovmfrecipe to support TPM2 devices, when building for MACHINEs that have thetpm2feature. This patchset adds that feature to NILRT x64 - needed for Secure Boot and Measured Boot - and also tweaks the OVMF recipe to extract the raw-formatted binaries on the following basis.Justification
These changes are necessary to use virtualized TPM2 devices in the NILRT QEMU virtual machines.
Testing
After building the
ovmfrecipe, thedeploy/images/x64directory contains the files...bitbake packagefeed-ni-core)Procedure