coreboot-kgpe-d16/util/cbfstool
Hung-Te Lin f56c73f1e1 cbfstool: Use cbfs_image API for "create" command.
Usage Changes: To support platforms with different memory layout, "create" takes
two extra optional parameters:

    "-b": base address (or offset) for bootblock. When omitted, put bootblock in
          end of ROM (x86  style).
    "-H": header offset. When omitted, put header right before bootblock,
          and update a top-aligned virtual address reference in end of ROM.

  Example: (can be found in ARM MAkefile):
    cbfstool coreboot.rom create -m armv7 -s 4096K -B bootblock.bin \
             -a 64 -b 0x0000 -H 0x2040 -o 0x5000

Verified to boot on ARM (Snow) and X86 (QEMU).

Change-Id: Ida2a9e32f9a459787b577db5e6581550d9d7017b
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2214
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2013-02-05 22:27:08 +01:00
..
lzma cbfstool: Update LZMA encoder to LZMA SDK 9.12 2012-11-12 18:35:52 +01:00
EXAMPLE cbfstool: Update example file. 2013-02-04 11:12:15 +01:00
Makefile cbfstool: Add cbfs_image new CBFS image manipulation API. 2013-02-05 22:25:02 +01:00
Makefile.inc cbfstool: Add cbfs_image new CBFS image manipulation API. 2013-02-05 22:25:02 +01:00
cbfs-mkpayload.c cbfstool: move flat-binary parsing to cbfs-mkpayload. 2013-02-01 06:06:41 +01:00
cbfs-mkstage.c cbfstool: Make endian detection functions to work without prior setup. 2013-02-01 06:50:17 +01:00
cbfs.h cbfstool: Use cbfs_image API for "print" command. 2013-02-05 22:25:13 +01:00
cbfs_image.c cbfstool: Use cbfs_image API for "create" command. 2013-02-05 22:27:08 +01:00
cbfs_image.h cbfstool: Use cbfs_image API for "create" command. 2013-02-05 22:27:08 +01:00
cbfstool.c cbfstool: Use cbfs_image API for "create" command. 2013-02-05 22:27:08 +01:00
common.c cbfstool: Add buffer management API. 2013-02-05 22:24:45 +01:00
common.h cbfstool: Add buffer management API. 2013-02-05 22:24:45 +01:00
compress.c cbfstool: Add -v (verbose) output. 2013-02-01 05:54:24 +01: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