7400d6f0b3
This patch can reduce the chance of setting SBL_SOURCE when the SBL root directory is not named as "SblOpen" or when the scripts are run from the path other than the SBL root directory. Also note that os.path.abspath() returns the absolute path relative to the current working directory instead of the real path of __file__. So in StitchIfwi.py, sblopen_dir was incorrect since the working directory had been changed before calling stitch(). Signed-off-by: Vincent Chen <vincent.chen@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.