From 413b0d98462dc877cc53355f425923c116bb490c Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Wed, 19 Jun 2013 12:41:19 +0200 Subject: ifdfake - Create an IFD with just a section layout This new tool called `ifdfake` just creates an empty Intel Firmware Descriptor (IFD) and writes the IFD signature plus the section layout given on the command line. usage: ifdfake [(-b|-m|-g|-p) :]... -b | --bios : BIOS region -m | --me : Intel ME region -g | --gbe : Gigabit Ethernet region -p | --platform : Platform Data region -h | --help print this help and bounds are given in Bytes, the bound is inclusive. All regions must be multiples of 4K in size and 4K aligned. The descriptor region always resides in the first 4K. An IFD created with ifdfake won't work as a replacement for a real IFD. Never try to flash such an IFD to your board! The output of ifdfake can be utilized to build an image with just the later added sections (like coreboot itself) being valid. The resulting image can then be partially written to a machines flash ROM to just update coreboot (i.e. the BIOS section). Change-Id: I925b47cab5c6d490a79d684bdd7a7a45ac442640 Signed-off-by: Nico Huber Reviewed-on: http://review.coreboot.org/3523 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index e57e32fd38..00611524a6 100644 --- a/.gitignore +++ b/.gitignore @@ -62,6 +62,7 @@ util/dumpmmcr/dumpmmcr util/ectool/ectool util/getpir/getpir util/ifdtool/ifdtool +util/ifdfake/ifdfake util/inteltool/.dependencies util/inteltool/inteltool util/k8resdump/k8resdump -- cgit v1.2.3