Hello Werner Zeh, Stefan Reinauer, build bot (Jenkins), Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/37660
to look at the new patch set (#2).
Change subject: ifwitool: Introduce a skip BPDT parameter ......................................................................
ifwitool: Introduce a skip BPDT parameter
SoCs like apololake can require two Boot Partition Descriptor Table entries. The second BPDT is usually in the ifwi binary which is supplied but ifwitool can only create a BPDT binary with the first BPDT of the supplied ifwi.
This patch introduces a skip BPDT parameter which is passed to the ifwi_parse() function. It allows the caller script to extract any BPDT separately. This is useful to extract the Logical Boot Partition 2 contains in some IFWI to inject it with fmaptool.
The same result could be achieve mixing up dd and ifwitool commands but it would create dependencies on the dd command and more importantly the script or Makefile would need to know the offset where the second BPDT is. With this simple new ifwitool option, the second BPDP (or third, ...) can be located and then extracted in one command without know its offset.
Change-Id: If32ec11fc7291d52b821bf95c1e186690d06ba11 Signed-off-by: Jeremy Compostella jeremy.compostella@intel.com --- M util/cbfstool/ifwitool.c 1 file changed, 34 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/37660/2