From d677d9cedd4cf2e0022314ce79f893f6d797e645 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 29 Sep 2016 13:56:28 -0700 Subject: Documentation/Intel/Soc: Update Quark FSP build instructions Update the FSP build instructions for Quark: * Discuss multiple types BRANCH=none BUG=None TEST=Build Quark FSP using new instructions Change-Id: Ibc4bfe32d0eb3877d3b988bc185c73be58d44878 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/16826 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- Documentation/Intel/SoC/quark.html | 47 +++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) (limited to 'Documentation/Intel/SoC/quark.html') diff --git a/Documentation/Intel/SoC/quark.html b/Documentation/Intel/SoC/quark.html index 61abebd239..9c180daf41 100644 --- a/Documentation/Intel/SoC/quark.html +++ b/Documentation/Intel/SoC/quark.html @@ -130,14 +130,55 @@ Getting the Quark FSP source:
  • Use git to clone QuarkFspPkg into the QuarkFpsPkg directory (.)
  • +

    Building QuarkFspPkg

    -Building QuarkFspPkg: +There are two versions of FSP: FSP 1.1 and FSP 2.0. There are also two +different implementations of FSP, one using subroutines without SEC and +PEI core and the original implementation which relies on SEC and PEI core. +Finally there are two different build x86 types release (r32) and debug (d32). +

    +

    Note that the subroutine implementations are a work in progress.

    +

    +Build commands shown building debug FSP:

      -
    • Linux: QuarkFspPkg/BuildFsp.sh -d32
    • -
    • Windows: QuarkFspPkg/BuildFsp.bat -d32
    • +
    • Linux: +
        +
      • QuarkFspPkg/BuildFsp1_1.sh -d32
      • +
      • QuarkFspPkg/BuildFsp1_1Pei.sh -d32
      • +
      • QuarkFspPkg/BuildFsp2_0.sh -d32
      • +
      • QuarkFspPkg/BuildFsp2_0Pei.sh -d32
      • +
      +
    • Windows: +
        +
      • QuarkFspPkg/BuildFsp1_1.bat -d32
      • +
      • Windows: QuarkFspPkg/BuildFsp2_0.bat -d32
      • +
      +
    +

    Copying FSP files into coreboot Source Tree

    +

    +There are some helper scripts to copy the FSP output into the coreboot +source tree. The parameters to these scripts are: +

    +
      +
    1. EDK2 tree root
    2. +
    3. coreboot tree root
    4. +
    5. Build type: DEBUG or RELEASE
    6. +
    +

    +Script files: +

    +
      +
    • Linux: +
        +
      • QuarkFspPkg/coreboot_fsp1_1.sh
      • +
      • QuarkFspPkg/coreboot_fsp1_1Pei.sh
      • +
      • QuarkFspPkg/coreboot_fsp2_0.sh
      • +
      • QuarkFspPkg/coreboot_fsp2_0Pei.sh
      • +
      +

    -- cgit v1.2.3