20c30ff496
Pass in a pch_series param to GpioDataConvert tool to fetch the correct gpio group info for a platform based on the pch series. The tool expects the platform specific config file to implement a function vir_to_phy_grp () that returns a BOOL value based on: If vir_to_phy_grp = False, SBL's config has A->0, B->1 etc. mapping. And GpioSiLib.c or GpioInitLib.c corresponding libraries will map this virtual group #s to real physical group #s (if not same). If vir_to_phy_grp = True, SBL's config has A->G1, B->G2 etc. physical mapping directly, so the GpioLib library uses this as is. GpioDataConfig.py file was added for ADL platform. Signed-off-by: Sai T <sai.kiran.talamudupula@intel.com> |
||
---|---|---|
.. | ||
AcpiTables | ||
CfgData | ||
Include | ||
Library | ||
Script | ||
VbtBin | ||
BoardConfig.py | ||
CoffeelakeBoardPkg.dec | ||
Readme.md |
Readme.md
Whiskeylake(WHL)/CoffeeLake(CFL)
Clone source
Building
- python BuildLoader.py build cfl
- NOTE: Build target(cfl) is common for both WHL/CFL
- NOTE: For UEFI payload, please refer to UefiPayloadPkg in edk2 repo. In UefiPayloadPkg/BuildAndIntegrationInstructions.txt, refer to section.
Stitching
- Prepare/Download UEFI based IFWI for WHL or CFL
- python Platform/CoffeelakeBoardPkg/Script/StitchLoader.py
-i
EXISTING IFWI IMAGE
-oSBL IFWI IMAGE
-s Outputs/cfl/SlimBootloader.bin - NOTE: Please make sure that this stitching method will work only if Boot Guard in the base image is not enabled, and the silicon is not fused with Boot Guard enabled.
Flashing
- Flash generated
SBL IFWI IMAGE
to the target board using DediProg SF100 or SF600 programmer.