coreboot-kgpe-d16/util
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
..
abuild abuild: allow building with no payload 2012-10-14 20:10:15 +02:00
acpi Remove whitespace. 2012-02-17 19:04:31 +01:00
amdtools Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
cbfstool cbfstool: add offset parameter to create command 2012-11-08 19:38:26 +01:00
cbmem Revamp cbmem.py to use the coreboot tables. 2012-03-30 17:46:26 +02:00
crossgcc crossgcc: build expat and python in silence 2012-11-02 20:08:01 +01:00
dumpmmcr dumpmmcr: Fix compilation warnings in printf 2012-01-26 09:57:56 +01:00
ectool ectool: Allow build under Cygwin 2012-04-28 02:46:54 +02:00
genprof Fix ramstage location in trace scripts 2012-09-13 10:11:53 +02:00
getpir Cut the crap. 2010-09-21 21:16:27 +00:00
gitconfig gitconfig: Match the Change-Id line more exactly 2012-08-27 15:41:33 +02:00
i915tool Add a tool to work on i915 hardware in user mode 2012-05-08 00:40:36 +02:00
ifdtool ifdtool: Use perror for file write errors 2012-07-24 10:13:33 +02:00
inteltool inteltool: Add output of 64bit registers in PMBASE 2012-10-27 02:54:23 +02:00
k8resdump add license headers to some trivial files and pc87427.h 2010-12-17 00:13:54 +00:00
kconfig kconfig: Some terms or curses libraries treat backspace as 0x08 2012-10-23 05:05:53 +02:00
lbtdump Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
lint lint: Get absolute path in compare_output 2012-10-05 22:06:04 +02:00
mkelfImage mkelfimage: pkgdata directory created but never used 2012-07-09 22:18:37 +02:00
mptable mptable: realign comments with code 2012-06-20 12:46:55 +02:00
msrtool msrtool: Factor out cpuid() from target probe functions into main() 2012-07-21 17:35:46 +02:00
nrv2b Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
nvramtool build: build coreboot on mingw. 2012-10-22 21:49:54 +02:00
optionlist Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
resetcf Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
romcc ROMCC: fix unused attribute lookup 2012-06-22 09:19:37 +02:00
sconfig Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
superiotool superiotool: Fix for FreeBSD 2012-10-03 09:26:59 +02:00
vgabios Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
xcompile Update xcompile to search for x86_64 toolchain. 2012-03-31 12:49:45 +02:00