MinnowBoard-org / bugs-and-help

Ask QUESTIONS here. MinnowBoard.org issue and get help submission. See README for use.
14 stars 2 forks source link

how to modify EDKII MRC parameters(PCD)? #164

Open naiyining opened 8 months ago

naiyining commented 8 months ago

PCD don't work: My problem is how to modify EDKII MRC parameters(PCD)? or, I must use the FSP to do this work?

  1. HOW TO CONFIGURE THE PLATFORM FOR DIFFERENT OPTIONS

  2. How to configure for Intel(R) Firmware Support Package (Intel(R) FSP) See Section 4.5.

  3. How to configure memory parameters for new custom platforms

    If you want to configure memory parameters for your own platform, the following steps must be done before building the source tree.

    (1) Open the platform DSC file, which is /edk2-platforms/Vlv2TbltDevicePkg/ PlatformPkgIA32.dsc or /edk2-platforms/Vlv2TbltDevicePkg/PlatformPkgX64.dsc depending on your which CPU architecture you prefer to support.

    (2) Search in the platform DSC file for following PCDs. There are a total of 17 PCDs for memory parameter configuration. Taking PCD "VlvRefCodePkgTokenSpaceGuid.PcdMemoryParameterPatchable|FALSE", for example, the string before "|" represents PCD name, while the string after "|" represents configurable PCD value. And the comment, which is above the PCD and marked by #, provides the usage of the PCD and valid selectable values.

    ############################################################################## #

    Begin of MRC parameters

    #

    Memory Parameter Patchable.

    FALSE - MRC Parameters are fixed for MinnowBoard Max

    TRUE - MRC Parameters are patchable by following PCDs

    @Prompt Memory Parameter Patchable.

    @ValidList 0x80000001 | 0, 1

    gVlvRefCodePkgTokenSpaceGuid.PcdMemoryParameterPatchable|FALSE