[coreboot-gerrit] New patch to review for coreboot: eb0698b util/board_status/board_status.sh: Save ROM contents in `cbfs.txt`
Paul Menzel (paulepanter@users.sourceforge.net)
gerrit at coreboot.org
Sun May 25 12:51:29 CEST 2014
Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5867
-gerrit
commit eb0698be57e836356db5602c467eae55280a809b
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date: Sun May 25 12:20:51 2014 +0200
util/board_status/board_status.sh: Save ROM contents in `cbfs.txt`
The ROM content (CBFS content) captured with
cbfstool build/coreboot.rom print
is useful for two reasons.
1. With the used configuration for the build in `.config`, it can be
compared how the size for romstage and ramstage change over time. To
make that reproducible the used toolchain should also be stored
somewhere in the future.
2. With the CBFS content the time stamps can be better interpreted.
For example, the size of the payload file is needed to interpret the
time stamp for loading the payload.
Change-Id: If77ca6412b1710e560f405f9a48df613c1819d36
Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
util/board_status/board_status.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 3cff231..51868c8 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -145,6 +145,7 @@ tmpdir=$(mktemp -d)
cbfstool_cmd="util/cbfstool/cbfstool"
test_cmd $LOCAL "$cbfstool_cmd"
$cbfstool_cmd build/coreboot.rom extract -n config -f ${tmpdir}/config.txt
+$cbfstool_cmd build/coreboot.rom print > ${tmpdir}/cbfs.txt
mainboard_dir="$(grep CONFIG_MAINBOARD_DIR ${tmpdir}/config.txt | awk -F '"' '{ print $2 }')"
vendor=$(echo "$mainboard_dir" | awk -F '/' '{ print $1 }')
mainboard=$(echo "$mainboard_dir" | awk -F '/' '{ print $2 }')
More information about the coreboot-gerrit
mailing list