mirror of https://github.com/acidanthera/audk.git
bb7c65bd03
This folder provides the sample build for Microcode FMP. The DSC/FDF is to convert the Microcode binary/text to Microcode FMP. Cc: Jeff Fan <jeff.fan@intel.com> Cc: Feng Tian <feng.tian@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> |
||
---|---|---|
.. | ||
MicrocodeCapsulePdb.dsc | ||
MicrocodeCapsulePdb.fdf | ||
Readme.md |
Readme.md
How to generate Microcode FMP from Microcode PDB file
-
Copy directory
UefiCpuPkg/Feature/Capsule/MicrocodeUpdatePdb
to<Your Platform Package>/MicrocodeUpdatePdb
. -
Uncomment and update
FILE DATA
statement in<Your Platform Package>/MicrocodeUpdatePdb/MicrocodeCapsulePdb.fdf
with path to a Microcode PDB file. The PDB file can placed in<Your Platform Package>/MicrocodeUpdatePdb
or any other path.
FILE DATA = <your Microcode PDB file path>
Uncomment and update PLATFORM_NAME
, FLASH_DEFINITION
, OUTPUT_DIRECTORY
section in <Your Platform Package>/MicrocodeUpdatePdb/MicrocodeCapsulePdb.dsc
with .
PLATFORM_NAME = <Your Platform Package>
FLASH_DEFINITION = <Your Platform Package>/MicrocodeCapsulePdb/MicrocodeCapsulePdb.fdf
OUTPUT_DIRECTORY = Build/<Your Platform Package>
- Use EDK II build tools to generate the Microcode FMP Capsule
build -p <Your Platform Package>/MicrocodeCapsulePdb/MicrocodeCapsulePdb.dsc
- The Microcode FMP Capsule is generated at
$(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/MicrocodeCapsule.Cap