]>
Commit | Line | Data |
---|---|---|
bb7c65bd JY |
1 | # How to generate Microcode FMP from Microcode TXT file\r |
2 | \r | |
3 | 1) Copy directory `UefiCpuPkg/Feature/Capsule/MicrocodeUpdateTxt` to `<Your Platform Package>/MicrocodeUpdateTxt`\r | |
4 | \r | |
5 | 2) Copy microcode TXT file to`<Your Platform Package>/MicrocodeUpdateTxt/Microcode`\r | |
6 | \r | |
7 | 3) 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.\r | |
8 | \r | |
9 | [Sources]\r | |
10 | <Your Microcode TXT file>\r | |
11 | \r | |
12 | 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/`.\r | |
13 | \r | |
14 | `FILE DATA = <your Microcode MCB file path>`\r | |
15 | \r | |
16 | Uncomment and update `PLATFORM_NAME`, `FLASH_DEFINITION`, `OUTPUT_DIRECTORY` section in `<Your Platform Package>/MicrocodeUpdateTxt/MicrocodeCapsuleTxt.dsc` with <Your Platform Package>.\r | |
17 | \r | |
18 | PLATFORM_NAME = <Your Platform Package>\r | |
19 | FLASH_DEFINITION = <Your Platform Package>/MicrocodeCapsuleTxt/MicrocodeCapsuleTxt.fdf\r | |
20 | OUTPUT_DIRECTORY = Build/<Your Platform Package>\r | |
21 | \r | |
22 | Uncomment and update statement in `Components` section of `<Your Platform Package>/MicrocodeUpdateTxt/MicrocodeCapsuleTxt.dsc` with path to a Microcode INF file.\r | |
23 | \r | |
24 | [Components]\r | |
25 | <Your Microcode INF file>\r | |
26 | \r | |
27 | 4) Use EDK II build tools to generate the Microcode FMP Capsule\r | |
28 | \r | |
29 | `build -p <Your Platform Package>/MicrocodeCapsuleTxt/MicrocodeCapsuleTxt.dsc`\r | |
30 | \r | |
31 | 5) The generated Microcode FMP Capsule is found at `$(WORKSPACE)/$(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/FV/MicrocodeCapsule.Cap`\r | |
32 | \r | |
33 | \r |