5.11 Stage Enabling Checklist
The following steps should be followed to enable a platform for Stage III.
Add board post-memory initialization code in
BoardInitBeforeSiliconInit ()
andBoardInitAfterSiliconInit ()
, BoardPkg/BoardInitLib/PeiBoardXXXInitPostMemoryLib.c.- Initialize board-specific hardware device, such as GPIO.
- Update post-memory policy configuration by using PCD.
Add board policy update code in
SiliconPolicyUpdatePostMemory ()
, BoardPkg\PeiSiliconPolicyUpdateLib \PeiBoardXXXInitLib.c.- The PCD updated in
BoardInitBeforeSiliconInit ()
might be used here.
- The PCD updated in
Add board initialization DXE code in
BoardInitAfterPciEnumeration ()
,BoardInitReadyToBoot ()
,BoardInitEndOfFirmware ()
.- NOTE: The functions may be empty if nothing needs to be updated.
Ensure all PCDs in the configuration section (DSC files) are correct for your board.
- Set
gMinPlatformPkgTokenSpaceGuid.PcdBootStage
= 2
- Set
Ensure all required binaries in the flash file (FDF files) are correct for your board.
Boot, collect debug log, and verify the test point results defined in section 5.9 are correct.