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

Ampere: Add Platform Boot Manager, IPMI Boot Option, and Porting Guide #227

Merged
merged 10 commits into from
Oct 28, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,5 @@ SMBIOS_PLATFORM_DXE_TABLE_FUNCTION (PlatformCache) {
}
}

return Status;
return EFI_SUCCESS;
}
4 changes: 2 additions & 2 deletions Platform/Ampere/JadePkg/Jade.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
# DEBUG_ERROR 0x80000000 // Error
DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000000F
DEFINE FIRMWARE_VER = 0.01.001
DEFINE SECURE_BOOT_ENABLE = FALSE
DEFINE SECURE_BOOT_ENABLE = TRUE
DEFINE TPM2_ENABLE = TRUE
DEFINE INCLUDE_TFTP_COMMAND = TRUE
DEFINE PLATFORM_CONFIG_UUID = 84BC921F-9D4A-4D1D-A1A1-1AE13EDD07E5
Expand All @@ -60,7 +60,7 @@
DEFINE NETWORK_IP6_ENABLE = FALSE
DEFINE NETWORK_HTTP_BOOT_ENABLE = TRUE
DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
DEFINE NETWORK_TLS_ENABLE = FALSE
DEFINE NETWORK_TLS_ENABLE = TRUE
DEFINE REDFISH_ENABLE = TRUE

!include MdePkg/MdeLibs.dsc.inc
Expand Down
2 changes: 2 additions & 0 deletions Platform/Ampere/JadePkg/Jade.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ APRIORI DXE {
INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
INF MdeModulePkg/Application/UiApp/UiApp.inf
INF MdeModulePkg/Universal/BootManagerPolicyDxe/BootManagerPolicyDxe.inf
INF Silicon/Ampere/AmpereSiliconPkg/Drivers/PlatformBootManagerDxe/PlatformBootManagerDxe.inf
INF Silicon/Ampere/AmpereSiliconPkg/Drivers/IpmiBootDxe/IpmiBootDxe.inf

#
# Networking stack
Expand Down
366 changes: 366 additions & 0 deletions Platform/Ampere/JadePkg/PlatformPortingGuide.md

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
# BDS Libraries
#
UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
PlatformBootManagerLib|Silicon/Ampere/AmpereSiliconPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf

#
Expand Down Expand Up @@ -848,3 +848,5 @@
!endif #$(INCLUDE_TFTP_COMMAND)

EmbeddedPkg/Drivers/MemoryAttributeManagerDxe/MemoryAttributeManagerDxe.inf
Silicon/Ampere/AmpereSiliconPkg/Drivers/PlatformBootManagerDxe/PlatformBootManagerDxe.inf
Silicon/Ampere/AmpereSiliconPkg/Drivers/IpmiBootDxe/IpmiBootDxe.inf
10 changes: 10 additions & 0 deletions Silicon/Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@
## Include/Guid/BmcConfigHii.h
gBmcConfigFormSetGuid = { 0xC4D6ED50, 0x769D, 0x4319, { 0xEB, 0xB7, 0xCC, 0xDD, 0xC8, 0x9D, 0x3D, 0x2D } }

#
# GUID for the After Console event
## Include/Guid/AmpereEventAfterConsole.h
gAmpereEventAfterConsoleGuid = { 0x7CCB608E, 0x428C, 0x44AE, { 0x95, 0x06, 0x58, 0x58, 0x2F, 0x0E, 0x8F, 0xB1 } }

#
# GUID for the Ampere defined UEFI variables
## Include/Guid/AmpereVariableGuid.h
gAmpereVariableGuid = { 0x6B9F9381, 0xB1D0, 0x4991, { 0xBC, 0x4A, 0x17, 0xBC, 0x6B, 0x5B, 0xB0, 0x81 } }

[Ppis]

[PcdsFixedAtBuild]
Expand Down
Loading
Loading