[coreboot-gerrit] Patch set updated for coreboot: board-status/to-wiki: Add freedom level to table
Timothy Pearson (tpearson@raptorengineering.com)
gerrit at coreboot.org
Sat Feb 4 23:41:08 CET 2017
Timothy Pearson (tpearson at raptorengineering.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18169
-gerrit
commit 0f03bc866471b0e69ffa806b78f890a2f095a6dd
Author: Timothy Pearson <tpearson at raptorengineering.com>
Date: Wed Jan 18 16:13:18 2017 -0600
board-status/to-wiki: Add freedom level to table
Add a freedom level column to the board-status table on the Wiki
Change-Id: I88b04159cfe51fd056bfe9cdbf11af43c71374e4
Signed-off-by: Timothy Pearson <tpearson at raptorengineering.com>
---
util/board_status/to-wiki/towiki.sh | 31 +++++++++++++++++++++++++------
1 file changed, 25 insertions(+), 6 deletions(-)
diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh
index 8b2d1af..e9edd6f 100755
--- a/util/board_status/to-wiki/towiki.sh
+++ b/util/board_status/to-wiki/towiki.sh
@@ -56,7 +56,8 @@ cat <<EOF
! align="left" | <span title="ROM chip protocol">P <sup>2</sup></span>
! align="left" | <span title="ROM chip socketed?">S <sup>3</sup></span>
! align="left" | <span title="Board supported by flashrom?">F <sup>4</sup></span>
-! align="left" | <span title="Vendor Cooperation Score">VCS<sup>5</sup></span>
+! align="left" | <span title="Freedom level">FL<sup>5</sup></span>
+! align="left" | <span title="Vendor Cooperation Score">VCS<sup>6</sup></span>
EOF
for category in laptop server desktop half mini settop "eval" sbc emulation misc unclass; do
@@ -173,6 +174,7 @@ EOF
rom_protocol="$(sed -n "/^[[:space:]]*ROM protocol:/ s,^[[:space:]]*ROM protocol:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
rom_socketed="$(sed -n "/^[[:space:]]*ROM socketed:/ s,^[[:space:]]*ROM socketed:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
flashrom_support="$(sed -n "/^[[:space:]]*Flashrom support:/ s,^[[:space:]]*Flashrom support:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
+ freedom_level="$(sed -n "/^[[:space:]]*Freedom level:/ s,^[[:space:]]*Freedom level:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
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")"
@@ -184,6 +186,7 @@ EOF
rom_protocol=
rom_socketed=
flashrom_support=
+ freedom_level=
vendor_cooperation_score=
vendor_cooperation_page=
board_url=
@@ -457,7 +460,7 @@ EOF
elif [ "$rom_socketed" = "n" ]; then
echo "| style=\"background:red\" | N"
elif [ "$flashrom_support" = "variable" ]; then
- echo "| ...<sup>7</sup>"
+ echo "| ...<sup>8</sup>"
elif [ "$rom_socketed" = "" ]; then
echo "| ?"
else
@@ -468,12 +471,27 @@ EOF
elif [ "$flashrom_support" = "n" ]; then
echo "| style=\"background:red\" | N"
elif [ "$flashrom_support" = "coreboot-only" ]; then
- echo "| style=\"background:yellow\" | ...<sup>6</sup>"
+ echo "| style=\"background:yellow\" | ...<sup>7</sup>"
elif [ "$flashrom_support" = "" ]; then
echo "| ?"
else
echo "| $flashrom_support"
fi
+ if [ "$freedom_level" = "platinum" ]; then
+ echo "| style=\"background:white\" | Platinum"
+ elif [ "$freedom_level" = "gold" ]; then
+ echo "| style=\"background:#ffd700\" | Gold"
+ elif [ "$freedom_level" = "silver" ]; then
+ echo "| style=\"background:#c0c0c0\" | Silver"
+ elif [ "$freedom_level" = "bronze" ]; then
+ echo "| style=\"background:#dca570\" | Bronze"
+ elif [ "$freedom_level" = "vendorlock" ]; then
+ echo "| style=\"background:red\" | Vendor Controlled"
+ elif [ "$freedom_level" = "" ]; then
+ echo "| ?"
+ else
+ echo "| $freedom_level"
+ fi
if [ "$vendor_cooperation_score" = "4" ]; then
echo -n "| style=\"background:lime\""
elif [ "$vendor_cooperatio_scoren" = "3" ]; then
@@ -497,9 +515,10 @@ cat <<EOF
<sup>2</sup> ROM chip protocol/type (parallel flash, LPC, FWH, SPI).<br />
<sup>3</sup> ROM chip socketed (Y/N)?<br />
<sup>4</sup> Board supported by [http://www.flashrom.org flashrom] (Y/N)?<br />
-<sup>5</sup> Vendor Cooperation Score.<br />
-<sup>6</sup> [http://www.flashrom.org flashrom] does not work when the vendor BIOS is booted, but it does work when the machine is booted with coreboot.<br />
-<sup>7</sup> Some boards have ROM sockets, others are soldered.<br />
+<sup>5</sup> [[Board_freedom_levels|Freedom Level]].<br />
+<sup>6</sup> Vendor Cooperation Score.<br />
+<sup>7</sup> [http://www.flashrom.org flashrom] does not work when the vendor BIOS is booted, but it does work when the machine is booted with coreboot.<br />
+<sup>8</sup> Some boards have ROM sockets, others are soldered.<br />
</small>
EOF
More information about the coreboot-gerrit
mailing list