the following patch was just integrated into master: commit 05dccae75df4ed0c6a75867a89cf1a4055507e28 Author: Hung-Te Lin hungte@chromium.org Date: Mon Jan 28 15:04:30 2013 +0800
cbfstool: move flat-binary parsing to cbfs-mkpayload.
The ELF parsing and payload building in add-flat-binary command should be isolated just like mkpayload and mkstage.
Since the add-flat-binary command creates a payload in the end , move payload processing to cbfs-mkpayload.c.
To test: cbfstool coreboot.rom add-flat-binary -f u-boot.bin -n fallback/payload \ -l 0x100000 -e 0x100020
To verify, get output from "cbfstool coreboot.rom print -v": fallback/payload 0x73ccc0 payload 124920 INFO: code (no compression, offset: 0x38, load: 0x1110000, length:..)
Change-Id: Ia7bd2e6160507c0a1e8e20bc1d08397ce9826e0d Signed-off-by: Hung-Te Lin hungte@chromium.org Reviewed-on: http://review.coreboot.org/2197 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks dhendrix@chromium.org
Build-Tested: build bot (Jenkins) at Fri Feb 1 06:05:28 2013, giving +1 Reviewed-By: David Hendricks dhendrix@chromium.org at Fri Feb 1 06:06:41 2013, giving +2 See http://review.coreboot.org/2197 for details.
-gerrit