Copy directory UefiCpuPkg/Feature/Capsule/MicrocodeUpdateTxt
to <Your Platform Package>/MicrocodeUpdateTxt
Copy microcode TXT file to<Your Platform Package>/MicrocodeUpdateTxt/Microcode
Uncomment and update statement in [Sources]
section of <Your Platform Package>/MicrocodeUpdateTxt/Microcode/Microcode.inf
with name of Microcode TXT file copied in previous step.
[Sources]
Uncomment and update FILE DATA
statement in <Your Platform Package>/MicrocodeUpdateTxt/MicrocodeCapsuleTxt.fdf
with path to a Microcode MCB file. The MCB file is placed in $(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/IA32/<Your Platform Package>/MicrocodeUpdateTxt/Microcode/Microcode/OUTPUT/
.
FILE DATA = <your Microcode MCB file path>
Uncomment and update PLATFORM_NAME
, FLASH_DEFINITION
, OUTPUT_DIRECTORY
section in <Your Platform Package>/MicrocodeUpdateTxt/MicrocodeCapsuleTxt.dsc
with .
PLATFORM_NAME = <Your Platform Package> FLASH_DEFINITION = <Your Platform Package>/MicrocodeCapsuleTxt/MicrocodeCapsuleTxt.fdf OUTPUT_DIRECTORY = Build/<Your Platform Package>
Uncomment and update statement in Components
section of <Your Platform Package>/MicrocodeUpdateTxt/MicrocodeCapsuleTxt.dsc
with path to a Microcode INF file.
[Components] <Your Microcode INF file>
build -p <Your Platform Package>/MicrocodeCapsuleTxt/MicrocodeCapsuleTxt.dsc
$(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/MicrocodeCapsule.Cap