Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SplitFspBin.py #4

Closed
wants to merge 4 commits into from
Closed

Add SplitFspBin.py #4

wants to merge 4 commits into from

Conversation

pgeorgi
Copy link

@pgeorgi pgeorgi commented Sep 12, 2018

Keeping this in the edk2 repo means that every non-edk2 project needs to pull and maintain it on its own.

Taken from github.com/tianocore/edk2.git,
commit 7431e4f

Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
@pietrushnic
Copy link

@vincent-j-zimmer We really would like to get that it would simplify our validation environment a lot.

@zaolin
Copy link

zaolin commented Sep 16, 2018

@nate-desimone-intel Can you take care of it. That would be awesome :)

@nate-desimone
Copy link
Contributor

nate-desimone commented Sep 17, 2018

Hi All,

It seems that SplitFspBin.py is used by a large number of UEFI boot loaders. Most of the feedback I have received is that the developers of those boot loaders would like SplitFspBin.py to remain in the EDK2 repository. Therefore, it seems the best coarse of action would be to maintain 2 copies of SplitFspBin.py, one copy here and one copy in https://github.com/tianocore/edk2/tree/master/IntelFsp2Pkg/Tools.

This results in the question of which copy is the "official" copy, it doesn't make much sense to maintain 2 forks of this script. Naturally, we feel that since tianocore is an open source project, (whereas this repo is just used for distributing binaries,) tianocore is the best place to maintain the official copy. So... TLDR is lets keep all code contributions for changes to SplitFspBin.py under tianocore, then an Intel employee will cherry pick those changes here.

So, next steps. @pgeorgi, please submit these two commits to tianocore: bd11836, and 6c3f698.

For instruction on how to do this, please see here: https://raw.githubusercontent.com/tianocore/edk2/master/Contributions.txt

TLDR is:

  1. Make sure you are OK with submitting your code under the tianocore contribution agreement, it is at the end of Contributions.txt
  2. Join the EDK2-Devel Mailing List: https://lists.01.org/mailman/listinfo/edk2-devel
  3. Add the "Contributed-under" and "Signed-off-by" lines to your commit message.
  4. Use git format-patch and git send-email to submit your changes to the EDK2-Devel mailing list.

After those get merged to EDK2, I'll cherry-pick SplitFspBin.py to here. @pgeorgi, is it OK if I close this pull request?

@pgeorgi
Copy link
Author

pgeorgi commented Sep 18, 2018

sure, let's do that. Thanks for sorting out a proper workflow

@pgeorgi pgeorgi closed this Sep 18, 2018
@pgeorgi
Copy link
Author

pgeorgi commented Sep 21, 2018

The typo commit is merged and the others were decided against. @nate-desimone-intel, could you please copy the script in here?

@pgeorgi pgeorgi reopened this Sep 21, 2018
@nate-desimone
Copy link
Contributor

Hi @pgeorgi, I have committed SplitFspBin.py per your request. Accordingly, I am closing this one.

pgeorgi added a commit to coreboot/coreboot that referenced this pull request Oct 12, 2018
With intel/FSP#4 merged, this allows using
Intel's FSP repo (that we mirror) to build a complete BIOS ifd region
with a simple coreboot build, automatically drawing in headers and
binaries.

This commit covers Apollolake, Coffeelake, Skylake, and Kabylake.

Skylake is using Kabylake's FSP since its own is FSP 1.1 and Kabylake's
also supports Skylake.

Another candidate (given 3rdparty/fsp's content) is Denverton NS, but
it requires changes to coreboot's FSP bindings to become compatible.

Cannonlake, Whiskeylake require an FSP release.

Change-Id: I8d838ca6555348ce877f54e95907e9fdf6b9f2e7
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/28593
Reviewed-by: Pratikkumar V Prajapati <pratikkumar.v.prajapati@intel.com>
Reviewed-by: Naresh Solanki <naresh.solanki@intel.com>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants