[coreboot] [PATCH]compareboard utility

Patrick Georgi patrick at georgi-clan.de
Mon Oct 12 19:00:59 CEST 2009


Hi,

attached patch adds the compareboard utility, which compares a kbuildall
build's variables with those of an abuild build.

The previous version which I used so far only looked for existance of
variables (and had a bug for AMD boards, so some of them lack a bunch of
crucial values, sorry about that).
This version also tells you the values, but converts them from hex to
integer first. While this is not very helpful for vendor/device id pairs
and addresses, it helps because it eliminates "0xa" vs. "10" issues.

It hooks up to kbuildall, so just running it leads to abuild being
called (warning: large set of large trees around), and compares their
output.
The results are dumped to stdout and stored as
kbuildall.results/$boardname.variables.txt

Starting from these diffs, it should be easier to make board
configurations in kconfig more correct.

Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>

Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20091012-1-compareboard
Type: text/x-patch
Size: 3247 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091012/c56a07dd/attachment.diff>


More information about the coreboot mailing list