Skip to content

Creating Intel(R) Firmware Support Package (Intel(R) FSP) for Intel(R) Quark SoC X1000

License

Notifications You must be signed in to change notification settings

feizwang/quarkfsp

Repository files navigation

EDK II firmware of Intel(R) Firmware Support Package (Intel(R) FSP) for Intel(R) Quark SoC X1000

Work List

  • Move BIOS code from Platform/Pei/PlatformInit/BiosCode* into coreboot and TianoCore
  • Reduce to minimal FSP
  • Pass in memory data via SPDs
  • Convert to FSP 2.0

Get the Source

git clone https://github.com/tianocore/edk2.git
git clone https://github.com/tianocore/edk2-non-osi.git
cd edk2
git clone ssh://[email protected]:29418/LeeLeahy/quarkfsp && scp -p -P 29418 [email protected]:hooks/commit-msg quarkfsp/.git/hooks/
mv quarkfsp QuarkFspPkg

HTTPS is also available:

  1. Go to https://github.com/LeeLeahy/quarkfsp
  2. Click on "Clone with commit-msg hook" tab
  3. Click on http tab
  4. Copy the git clone string
  5. Rename the directory from quarkfsp to QuarkFspPkg

Pushing patches

  1. Make sure patch includes: "Contributed-under: TianoCore Contribution Agreement 1.0"
  2. git push origin HEAD:refs/for/master
  3. Review patches with Gerrit
  4. Add reviewers: Fei Wang, Lee Leahy

Linux Build Instructions

Setup the build environment

export PACKAGES_PATH=$PWD/edk2:$PWD/edk2-non-osi
cd edk2
export WORKSPACE=$PWD
make -C BaseTools
. edksetup.sh

Build FSP

QuarkFspPkg/BuildFsp.sh -d32

Delete the generated files:

QuarkFspPkg/BuildFsp.bat -clean

Windows Build Instructions

Pre-requisites

Create a new directory for an EDK II WORKSPACE.

The code block below shows the GIT clone operations required to pull the EDK II source tree, the QuarkFspPkg sources, the pre-built versions of BaseTools as WIN32 binaries, and the edk2-non-osi repository that provides a binary file for the Quark Remote Management Unit (RMU).

git clone https://github.com/tianocore/edk2.git
git clone https://github.com/tianocore/edk2-BaseTools-win32.git
git clone https://github.com/tianocore/edk2-non-osi.git

set WORKSPACE=%CD%
set PACKAGES_PATH=%WORKSPACE%\edk2;%WORKSPACE%\edk2-non-osi
set EDK_TOOLS_BIN=%WORKSPACE%\edk2-BaseTools-win32

QuarkFspPkg/BuildFsp.bat /d32

Delete the generated files:

QuarkFspPkg/BuildFsp.bat /clean

About

Creating Intel(R) Firmware Support Package (Intel(R) FSP) for Intel(R) Quark SoC X1000

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published