]>
Commit | Line | Data |
---|---|---|
bb7c65bd JY |
1 | # How to generate Microcode FMP from Microcode PDB file\r |
2 | \r | |
3 | 1) Copy directory `UefiCpuPkg/Feature/Capsule/MicrocodeUpdatePdb` to `<Your Platform Package>/MicrocodeUpdatePdb`.\r | |
4 | \r | |
5 | 2) 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.\r | |
6 | \r | |
7 | `FILE DATA = <your Microcode PDB file path>`\r | |
8 | \r | |
9 | Uncomment and update `PLATFORM_NAME`, `FLASH_DEFINITION`, `OUTPUT_DIRECTORY` section in `<Your Platform Package>/MicrocodeUpdatePdb/MicrocodeCapsulePdb.dsc` with <Your Platform Package>.\r | |
10 | \r | |
11 | PLATFORM_NAME = <Your Platform Package>\r | |
12 | FLASH_DEFINITION = <Your Platform Package>/MicrocodeCapsulePdb/MicrocodeCapsulePdb.fdf\r | |
13 | OUTPUT_DIRECTORY = Build/<Your Platform Package>\r | |
14 | \r | |
15 | 3) Use EDK II build tools to generate the Microcode FMP Capsule\r | |
16 | \r | |
17 | `build -p <Your Platform Package>/MicrocodeCapsulePdb/MicrocodeCapsulePdb.dsc`\r | |
18 | \r | |
19 | 4) The Microcode FMP Capsule is generated at `$(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/MicrocodeCapsule.Cap`\r | |
20 | \r |