Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RfC] OvmfPkg/AmdSev: add support for systemd-boot and secure boot #6537

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions OvmfPkg/OvmfPkg.dec
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@
gOvmfVariableGuid = {0x50bea1e5, 0xa2c5, 0x46e9, {0x9b, 0x3a, 0x59, 0x59, 0x65, 0x16, 0xb0, 0x0a}}
gQemuFirmwareResourceHobGuid = {0x3cc47b04, 0x0d3e, 0xaa64, {0x06, 0xa6, 0x4b, 0xdc, 0x9a, 0x2c, 0x61, 0x19}}
gRtcRegisterBaseAddressHobGuid = {0x40435d97, 0xeb37, 0x4a4b, {0x7f, 0xad, 0xb7, 0xed, 0x72, 0xa1, 0x43, 0xc5}}
gSdBootFileGuid = {0x2b86cc73, 0x1c22, 0x4179, {0x87, 0xaa, 0x8e, 0x31, 0xfa, 0x8c, 0x86, 0x7b}}

[Ppis]
# PPI whose presence in the PPI database signals that the TPM base address
Expand Down
23 changes: 23 additions & 0 deletions OvmfPkg/SdBootDxe/SdBoot.inf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## @file
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

[Defines]
INF_VERSION = 0x00010006
BASE_NAME = SdBoot
FILE_GUID = 2b86cc73-1c22-4179-87aa-8e31fa8c867b # gSdBootFileGuid
MODULE_TYPE = UEFI_APPLICATION
VERSION_STRING = 1.0
ENTRY_POINT = UefiMain

[Packages]
OvmfPkg/OvmfPkg.dec

[Binaries.X64]
PE32|/usr/lib/systemd/boot/efi/systemd-bootx64.efi|*

[Binaries.AA64]
PE32|/usr/lib/systemd/boot/efi/systemd-bootaa64.efi|*

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kraxel Can you also add support for Binaries.LOONGARCH64 (systemd-bootloongarch64.efi)? I will be able to do platform testing for you, Tks !