This document describes the observed lifecycle of the recovered HR650X / Purley
AMI UEFI firmware. It is based on the module evidence currently present in the
tree, especially the PEI, DXE IPL, DXE Core, SMM IPL/Core, setup, security, and
BMC module notes.
PeiCore is the first major recovered phase anchor after SEC. Its notes describe
the PEI dispatcher, PEI Services Table setup, firmware-volume discovery, memory
initialization, PPI management, and HOB creation.
Key behaviours:
Evidence:
MdeModulePkg/Core/Pei/PeiMain/PeiCore/README.mdSome security and platform checks occur before DXE. The clearest recovered
example is BootGuardPei, an IA32 PEI module that reads Boot Guard state from
MSR 0x13A, installs a BootGuard PPI, skips FV verification on S3 resume, hashes
FV segments with SHA-256, and sets a disabling PCD on mismatch according to its
README.
Other PEI-stage platform work includes TPM/TCG policy, IPMI/BMC initialization,
CMOS/boot-mode handling, early video, and Purley silicon initialization.
Evidence:
PurleyPlatPkg/BootGuard/ExtendBtGSupportToDxe/Pei/BootGuardPei/README.mdAmiModulePkg/TCG2/Common/AmiTcgPlatformPei/AmiTpm20PlatformPei/README.mdAmiIpmiPkg/Ipmi/PeiIpmiInitialize/PeiIpmiBmcInitialize/PeiIpmiBmcInitialize/README.mdPurleySktPkg/SouthClusterLbg/SiInit/Pei/SiInitPreMem/README.mdPurleyPlatPkg/Platform/Pei/EarlyVideoPei/README.mdDxeIpl bridges PEI and DXE. The README and function table show DXE Core
discovery, firmware-volume section reading, LZMA decompression, x64 page-table
creation, HOB handoff, boot-mode handling, and transfer to the DXE Core entry
point.
Key behaviours:
Evidence:
MdeModulePkg/Core/DxeIplPeim/README.mdMdeModulePkg/Core/DxeIplPeim/DxeIpl.mdMdeModulePkg/Core/DxeIplPeim/DxeIplDiscoverDxeCore.cMdeModulePkg/Core/DxeIplPeim/DxeIplTransferToDxeCore.cThe recovered DXE Core evidence is located atMdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction. Its README
describes the central DXE services:
Evidence:
MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction/README.mdAfter the DXE Core starts dispatching drivers, the firmware builds the server
platform environment. The recovered tree shows several major DXE service groups:
Evidence examples:
AmiModulePkg/PCI/PciBus/README.mdAmiModulePkg/Nvme/Nvme/README.mdAmiNetworkPkg/UefiNetworkStack/PxeBcDxe/README.mdLenovoServerPkg/SystemInventory/SystemInventory/README.mdPurleySktPkg/Me/Sps/Dxe/SpsDxe/README.mdAmiIpmiPkg/Ipmi/IpmiInitialize/DxeIpmiBmcInitialize/DxeIpmiBmcInitialize/README.mdAmiModulePkg/SecureBoot/SecureBootDXE/README.mdAmiModulePkg/TCG2/Common/TcgDxe/Tcg2Dxe/README.mdSMM is established from DXE through PiSmmIpl, which opens/configures SMRAM,
loads SMM Core into SMRAM, exposes SMM access/control/communication protocols,
and bridges S3 boot-script and runtime pointer conversion work. PiSmmCore then
provides SMST services and dispatches registered SMI handlers.
Key behaviours:
Evidence:
MdeModulePkg/Core/PiSmmCore/PiSmmIpl/README.mdMdeModulePkg/Core/PiSmmCore/PiSmmCore/README.mdPurleySktPkg/Override/IA32FamilyCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm/README.mdAMI TSE and Lenovo setup modules control interactive firmware configuration and
boot-option policy. The AMITSE notes describe menu database parsing, HII package
installation, graphics/text rendering, boot-option management, language and
hotkey initialization, and storage-security policy hooks. Lenovo setup modules
handle HR650X-specific setup variables, defaults, server-management forms, and
socket/platform options.
Key behaviours:
Boot####, BootOrder, BootNext, and Timeout.Evidence:
AmiTsePkg/EDK/MiniSetup/AMITSE/README.mdLenovoServerPkg/Setup/README.mdLenovoServerPkg/ServerMgmtSetup/README.mdLenovoServerPkg/SetupDefaults/SetupDefaultLoad/README.mdLenovoServerPkg/SocketSetup/README.mdNear the end of boot-service time, ready-to-boot and platform hooks finalize
platform tables, inventory, boot policy, and BMC/SMBIOS state. Runtime services
and SMM handlers remain available after ExitBootServices, while ACPI/SMBIOS
tables describe platform capabilities to the OS.
Evidence:
LenovoServerPkg/OemReadyToBootDxe/OemReadyToBootDxe/README.mdLenovoServerPkg/OemSaveSmbiosDxe/README.mdLenovoServerPkg/SmbiosType11/SmbiosType11/README.mdLenovoServerPkg/SmbiosType39/README.mdAmiModulePkg/RuntimeDxe/RuntimeDxe/README.mdAmiModulePkg/RuntimeSmm/RuntimeSmm/README.mdAfter OS handoff, the relevant remaining firmware behaviours are primarily:
Evidence:
AmiModulePkg/NVRAM/NvramSmm/README.mdAmiModulePkg/SmiVariable/SmiVariable/README.mdAmiModulePkg/Flash/SmiFlash/README.mdAmiModulePkg/SecureFlash/SecSMIFlash/README.mdAmiIpmiPkg/Ipmi/SmmBmcElog/README.mdCpPlatPkg/Whea/WheaElog/README.mdPurleySktPkg/Smm/Ras/QuiesceSupport/QuiesceSupport/README.md