From db7410e0a4250631e9757c2dbd6514dd2559da2a Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Wed, 10 Feb 2016 11:12:50 -0800 Subject: [PATCH] Documentation: x86 add EDK2 CorebootPayloadPkg and documentation links Add EDK2 CorebootPayloadPkg build instructions, EDK2 documentation links and EDK2 BIOS build instructions. TEST=None Change-Id: I236405914c5fa8e33a7826cc4fa60f6dbf0e7724 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/13717 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- Documentation/Intel/SoC/quark.html | 120 +++++++++++++++++++++++++---- 1 file changed, 107 insertions(+), 13 deletions(-) diff --git a/Documentation/Intel/SoC/quark.html b/Documentation/Intel/SoC/quark.html index e8b6c85b44..bd32b242ec 100644 --- a/Documentation/Intel/SoC/quark.html +++ b/Documentation/Intel/SoC/quark.html @@ -47,42 +47,136 @@
-

Quark™ FSP

-
    -
  • Intel® Firmware Support Package External Architecture Specification V1.1
  • -
  • Intel® Quark™ SoC X1000 UEFI Firmware Writer's Guide
  • -
  • EDK2 Sources: +

    Quark™ EDK2 CorebootPayloadPkg

    +

    +Build Instructions: +

    +
      +
    1. Set up build environment
    2. +
    3. Build Instructions:
        +
      • Linux: +
        build -p CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc  -a IA32  -t GCC48  -b DEBUG  -DDEBUG_PROPERTY_MASK=0x27  -DDEBUG_PRINT_ERROR_LEVEL=0x80000042
        +ls Build/CorebootPayloadPkg/DEBUG_GCC48/FV/UEFIPAYLOAD.fd
        +
        +
      • +
      • Windows: +
        build -p CorebootPayloadPkg\CorebootPayloadPkgIa32.dsc  -a IA32  -t VS2012x86  -b DEBUG  -DDEBUG_PROPERTY_MASK=0x27  -DDEBUG_PRINT_ERROR_LEVEL=0x80000042
        +dir Build\CorebootPayloadPkg\DEBUG_VS2012x86\FV\UEFIPAYLOAD.fd
        +
        +
      • +
      +
    4. +
    5. Set the following Kconfig values: +
        +
      • CONFIG_PAYLOAD_ELF=y
      • +
      • CONFIG_PAYLOAD_FILE="path to UEFIPAYLOAD.fd"
      • +
      +
    6. +
    7. Build coreboot
    8. +
    9. Copy the image build/coreboot.rom into flash
    10. +
    + + + +
    +

    Quark™ EDK2 Build Environment

    +

    + Use the following steps to setup a build environment: +

    +
      +
    1. Get the EDK2 sources: +
      1. EDK2: git clone https://github.com/tianocore/edk2.git
      2. EDK2-FatPkg: git clone https://github.com/tianocore/edk2-FatPkg.git FatPkg
      3. EDK2-non-osi: git clone https://github.com/tianocore/edk2-non-osi.git
      4. Win32 BaseTools: git clone https://github.com/tianocore/edk2-BaseTools-win32.git
      5. -
+ -
  • Linux Build Instructions: +
  • Set up a build window: +
      +
    • Linux:
      export WORKSPACE=$PWD
       export PACKAGES_PATH="$PWD/edk2:$PWD/FatPkg:$PWD/edk2-non-osi"
       cd edk2
       export WORKSPACE=$PWD
       . edksetup.sh
      -build -p QuarkPlatformPkg/Quark.dsc  -a IA32  -t GCC48  -b DEBUG  -DDEBUG_PROPERTY_MASK=0x27  -DDEBUG_PRINT_ERROR_LEVEL=0x80000042
      -ls Build/Quark/DEBUG_GCC48/FV/QUARK.fd
       
      -
    • -
    • Win32 Build Instructions: +
    • +
    • Windows:
      set WORKSPACE=%CD%
       set PACKAGES_PATH=%WORKSPACE%\edk2;%WORKSPACE%\FatPkg;%WORKSPACE%\edk2-non-osi
       set EDK_TOOLS_BIN=%WORKSPACE%\edk2-BaseTools-win32
       cd edk2
       edksetup.bat
      -build -p QuarkPlatformPkg/Quark.dsc  -a IA32  -t VS2012x86  -b DEBUG  -DDEBUG_PROPERTY_MASK=0x27  -DDEBUG_PRINT_ERROR_LEVEL=0x80000042
       
      +
    • +
  • + + +

    +EDK2 Documentation: +

    +
    -

    Modified: 1 February 2016

    +

    Quark™ FSP

    +

    +Documentation: +

    +
      +
    • Intel® Firmware Support Package External Architecture Specification V1.1
    • +
    + + + +
    +

    Quark™ EDK2 BIOS

    +

    +Build Instructions: +

    +
      +
    1. Set up build environment
    2. +
    3. Build the image: +
        +
      • Linux: +
        build -p QuarkPlatformPkg/Quark.dsc  -a IA32  -t GCC48  -b DEBUG  -DDEBUG_PROPERTY_MASK=0x27  -DDEBUG_PRINT_ERROR_LEVEL=0x80000042
        +ls Build/Quark/DEBUG_GCC48/FV/Quark.fd
        +
        +
      • +
      • Windows: +
        build -p QuarkPlatformPkg/Quark.dsc  -a IA32  -t VS2012x86  -b DEBUG  -DDEBUG_PROPERTY_MASK=0x27  -DDEBUG_PRINT_ERROR_LEVEL=0x80000042
        +dir Build\Quark\DEBUG_VS2012x86\FV\Quark.fd
        +
        +
      • +
      +
    4. +
    + +

    +Documentation: +

    + + + + +
    +

    Modified: 10 February 2016

    \ No newline at end of file