Vladimir Serbinenko (phcoder(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4751
-gerrit
commit 7c2973b35f54c0c8cd78daf55e73406d2b94f5de
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Jan 19 15:33:45 2014 +0100
boardstatus: Use BOARD_TYPE as fallback for categorizing.
Change-Id: If9b379656b3ac35f950ee3337e55439447e47cc7
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
util/board_status/to-wiki/towiki.sh | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh
index fd0dcf0..43ee3c1 100755
--- a/util/board_status/to-wiki/towiki.sh
+++ b/util/board_status/to-wiki/towiki.sh
@@ -147,8 +147,31 @@ EOF
if [ -f "$vendor_board_dir/board_info.txt" ]; then
cur_category="$(sed -n "/^[[:space:]]*Category:/ s,^[[:space:]]*Category:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
+ clone_of="$(sed -n "/^[[:space:]]*Clone of:/ s,^[[:space:]]*Clone of:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
else
cur_category=
+ clone_of=
+ fi
+ if [ -z "$cur_category" ]; then
+ # eval board may be of other type as well. Prefer "eval"
+ # desktop is pretty generic, keep it for last
+ for candidate in "eval" server laptop half mini settop emulation sbc misc desktop; do
+ if grep -i BOARD_TYPE_"$candidate" "$vendor_board_dir/Kconfig" > /dev/null ; then
+ cur_category="$candidate"
+ break
+ fi
+ done
+ fi
+
+ if [ -z "$cur_category" ] && ! [ -z "$clone_of" ]; then
+ # eval board may be of other type as well. Prefer "eval"
+ # desktop is pretty generic, keep it for last
+ for candidate in "eval" server laptop half mini settop emulation sbc misc desktop; do
+ if grep -i BOARD_TYPE_"$candidate" "$COREBOOT_DIR"/src/mainboard/"$clone_of"/Kconfig > /dev/null ; then
+ cur_category="$candidate"
+ break
+ fi
+ done
fi
case "$cur_category" in
@@ -171,7 +194,6 @@ EOF
vendor_cooperation_score="$(sed -n "/^[[:space:]]*Vendor cooperation score:/ s,^[[:space:]]*Vendor cooperation score:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
vendor_cooperation_page="$(sed -n "/^[[:space:]]*Vendor cooperation page:/ s,^[[:space:]]*Vendor cooperation page:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
board_url="$(sed -n "/^[[:space:]]*Board URL:/ s,^[[:space:]]*Board URL:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
- clone_of="$(sed -n "/^[[:space:]]*Clone of:/ s,^[[:space:]]*Clone of:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
else
board_nice=
rom_package=
@@ -181,7 +203,6 @@ EOF
vendor_cooperation_score=
vendor_cooperation_page=
board_url=
- clone_of=
fi
if [ "$last_vendor" != "$vendor" ]; then
last_vendor="$vendor"
the following patch was just integrated into master:
commit a00676c1f005f45782254c0f19f7c943da8d45c2
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Jan 19 03:50:06 2014 +0100
boardstatus: Add useful info from old page header to foreword.
Change-Id: Ie3d1be1e51df458cd8b55230c888f032ab705ef8
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
See http://review.coreboot.org/4743 for details.
-gerrit
the following patch was just integrated into master:
commit df067f7f34245c5b2270385ea2232f5f92e32f9c
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Jan 19 13:37:16 2014 +0100
linutop: Add Linutop-1 as a clone of artecgroup/dbe61
Change-Id: I69e99e2a1bf9b890281caaf0633f91850d923241
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
See http://review.coreboot.org/4747 for details.
-gerrit
the following patch was just integrated into master:
commit be996dee1a9667245a8bbf51c940f3186e1fd33c
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Jan 19 14:44:04 2014 +0100
boardstatus: Do not error out on unknown CPU/northbridge
On bot, stderr is unmonitored, so it make no sense to stop with an error.
Instead use some sensible guesses.
Change-Id: I6292e9fbf446b751471b95f86e7515c6680bddf3
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
See http://review.coreboot.org/4748 for details.
-gerrit