the following patch was just integrated into master: commit f56c73f1e1c2b13c7b2b989fc44358138394cc68 Author: Hung-Te Lin hungte@chromium.org Date: Tue Jan 29 09:45:12 2013 +0800
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
Build-Tested: build bot (Jenkins) at Tue Feb 5 00:09:07 2013, giving +1 Reviewed-By: Stefan Reinauer stefan.reinauer@coreboot.org at Tue Feb 5 22:26:06 2013, giving +2 See http://review.coreboot.org/2214 for details.
-gerrit