coreboot-kgpe-d16/util/cbfstool
Stefan Reinauer a90bd527d9 cbfstool: add offset parameter to create command
CBFS allows coreboot rom images that are only partially covered
by the filesystem itself. The intention of this feature was to
allow EC / ME / IMC firmware to be inserted easily at the beginning
of the image. However, this was never implemented in cbfstool.

This patch implements an additional parameter for cbfstool.

If you call cbfstool like this:
cbfstool coreboot.rom create 8192K bootblock.bin 64 0x700000
it will now create an 8M image with CBFS covering the last 1M of
that image.

Test:
     cbfstool coreboot.rom create 8192K bootblock.bin 64 0x700000
     creates an 8M image that is 7M of 0xff and 1M of CBFS.

Change-Id: I5c016b4bf32433f160b43f4df2dd768276f4c70b
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1708
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2012-11-08 19:38:26 +01:00
..
lzma fix typo in minilzma.cc, found by Idwer. 2010-10-10 22:05:02 +00:00
EXAMPLE Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
Makefile cbfstool: respect dependencies when building locally 2012-11-07 18:29:18 +01:00
Makefile.inc cbfstool: Add -mno-ms-bitfields on (mingw) 2012-10-22 21:49:46 +02:00
cbfs-mkpayload.c correctly mark code segments as code in SELF 2012-03-07 14:20:09 +01:00
cbfs-mkstage.c remove trailing whitespace 2011-11-01 19:07:45 +01:00
cbfs.h Various fixes to cbfstool. 2011-10-24 20:29:29 +02:00
cbfstool.c cbfstool: add offset parameter to create command 2012-11-08 19:38:26 +01:00
common.c cbfstool: add offset parameter to create command 2012-11-08 19:38:26 +01:00
common.h cbfstool: add offset parameter to create command 2012-11-08 19:38:26 +01:00
compress.c New cbfstool. Works without mmap or fork/exec and 2009-09-14 13:29:27 +00:00
elf.h fix some wrong versions of the FSF's address (trivial) 2009-09-23 21:52:45 +00:00
swab.h Various fixes to cbfstool. 2011-10-24 20:29:29 +02:00