slimbootloader/Platform/CoffeelakeBoardPkg
Sai T 20c30ff496 Gpio data convert improvements
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>
2022-02-15 10:39:12 -07:00
..
AcpiTables [TGL] Update MCFG table template with correct end bus number 2022-02-11 09:48:40 -07:00
CfgData Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
Include Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
Library [CFL] Fix Klocwork scanning issue 2022-01-04 13:32:16 -08:00
Script Gpio data convert improvements 2022-02-15 10:39:12 -07:00
VbtBin Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
BoardConfig.py Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
CoffeelakeBoardPkg.dec Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
Readme.md Use LF line endings in the repository 2021-11-10 12:46:42 -08:00

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 -o SBL 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.