Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14462
-gerrit
commit e561e9275535a848d276fa6cf41590d20305e687
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Thu Apr 21 18:16:30 2016 -0700
buildgcc: Use smaller xz archives
The xz archives are slightly smaller than the bz2 archives for gmp
and mpfr, so use them instead to speed up the download.
Change-Id: I3729455cdbc46e5a0cff119ecca97b0e00c3d402
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
util/crossgcc/buildgcc | 4 ++--
util/crossgcc/sum/gmp-6.1.0.tar.bz2.cksum | 1 -
util/crossgcc/sum/gmp-6.1.0.tar.xz.cksum | 1 +
util/crossgcc/sum/mpfr-3.1.4.tar.bz2.cksum | 1 -
util/crossgcc/sum/mpfr-3.1.4.tar.xz.cksum | 1 +
5 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 487dd2c..088c904 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -51,8 +51,8 @@ MAKE_VERSION=4.1
# These are sanitized by the jenkins toolchain test builder, so if
# a completely new URL is added here, it probably needs to be added
# to the jenkins build as well, or the builder won't download it.
-GMP_ARCHIVE="http://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}.tar.bz2"
-MPFR_ARCHIVE="http://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.bz2"
+GMP_ARCHIVE="http://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}.tar.xz"
+MPFR_ARCHIVE="http://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.xz"
MPC_ARCHIVE="http://ftpmirror.gnu.org/mpc/mpc-${MPC_VERSION}.tar.gz"
LIBELF_ARCHIVE="http://www.mr511.de/software/libelf-${LIBELF_VERSION}.tar.gz"
GCC_ARCHIVE="http://ftpmirror.gnu.org/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2"
diff --git a/util/crossgcc/sum/gmp-6.1.0.tar.bz2.cksum b/util/crossgcc/sum/gmp-6.1.0.tar.bz2.cksum
deleted file mode 100644
index 06db257..0000000
--- a/util/crossgcc/sum/gmp-6.1.0.tar.bz2.cksum
+++ /dev/null
@@ -1 +0,0 @@
-db38c7b67f8eea9f2e5b8a48d219165b2fdab11f tarballs/gmp-6.1.0.tar.bz2
diff --git a/util/crossgcc/sum/gmp-6.1.0.tar.xz.cksum b/util/crossgcc/sum/gmp-6.1.0.tar.xz.cksum
new file mode 100644
index 0000000..348b80f
--- /dev/null
+++ b/util/crossgcc/sum/gmp-6.1.0.tar.xz.cksum
@@ -0,0 +1 @@
+99d691607613e749aa5d7c0c2a89aeab38fec070 tarballs/gmp-6.1.0.tar.xz
diff --git a/util/crossgcc/sum/mpfr-3.1.4.tar.bz2.cksum b/util/crossgcc/sum/mpfr-3.1.4.tar.bz2.cksum
deleted file mode 100644
index b0bdf4a..0000000
--- a/util/crossgcc/sum/mpfr-3.1.4.tar.bz2.cksum
+++ /dev/null
@@ -1 +0,0 @@
-e3b0af77f18505184410d621fe0aae179e229dba tarballs/mpfr-3.1.4.tar.bz2
diff --git a/util/crossgcc/sum/mpfr-3.1.4.tar.xz.cksum b/util/crossgcc/sum/mpfr-3.1.4.tar.xz.cksum
new file mode 100644
index 0000000..90f90eb
--- /dev/null
+++ b/util/crossgcc/sum/mpfr-3.1.4.tar.xz.cksum
@@ -0,0 +1 @@
+cedc0055d55b6ee4cd17e1e6119ed412520ff81a tarballs/mpfr-3.1.4.tar.xz
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14462
-gerrit
commit a5b500c808e05ef43894acb61812c219e2bf351e
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Thu Apr 21 18:16:30 2016 -0700
buildgcc: Use smaller xz archives
The xz archives are slightly smaller than the bz2 archives for gmp
and mpfr, so use them instead to speed up the download.
Change-Id: I3729455cdbc46e5a0cff119ecca97b0e00c3d402
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
util/crossgcc/buildgcc | 4 ++--
util/crossgcc/sum/gmp-6.1.0.tar.bz2.cksum | 1 -
util/crossgcc/sum/gmp-6.1.0.tar.xz.cksum | 1 +
util/crossgcc/sum/mpfr-3.1.4.tar.bz2.cksum | 1 -
util/crossgcc/sum/mpfr-3.1.4.tar.xz.cksum | 1 +
5 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 487dd2c..088c904 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -51,8 +51,8 @@ MAKE_VERSION=4.1
# These are sanitized by the jenkins toolchain test builder, so if
# a completely new URL is added here, it probably needs to be added
# to the jenkins build as well, or the builder won't download it.
-GMP_ARCHIVE="http://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}.tar.bz2"
-MPFR_ARCHIVE="http://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.bz2"
+GMP_ARCHIVE="http://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}.tar.xz"
+MPFR_ARCHIVE="http://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.xz"
MPC_ARCHIVE="http://ftpmirror.gnu.org/mpc/mpc-${MPC_VERSION}.tar.gz"
LIBELF_ARCHIVE="http://www.mr511.de/software/libelf-${LIBELF_VERSION}.tar.gz"
GCC_ARCHIVE="http://ftpmirror.gnu.org/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2"
diff --git a/util/crossgcc/sum/gmp-6.1.0.tar.bz2.cksum b/util/crossgcc/sum/gmp-6.1.0.tar.bz2.cksum
deleted file mode 100644
index 06db257..0000000
--- a/util/crossgcc/sum/gmp-6.1.0.tar.bz2.cksum
+++ /dev/null
@@ -1 +0,0 @@
-db38c7b67f8eea9f2e5b8a48d219165b2fdab11f tarballs/gmp-6.1.0.tar.bz2
diff --git a/util/crossgcc/sum/gmp-6.1.0.tar.xz.cksum b/util/crossgcc/sum/gmp-6.1.0.tar.xz.cksum
new file mode 100644
index 0000000..348b80f
--- /dev/null
+++ b/util/crossgcc/sum/gmp-6.1.0.tar.xz.cksum
@@ -0,0 +1 @@
+99d691607613e749aa5d7c0c2a89aeab38fec070 tarballs/gmp-6.1.0.tar.xz
diff --git a/util/crossgcc/sum/mpfr-3.1.4.tar.bz2.cksum b/util/crossgcc/sum/mpfr-3.1.4.tar.bz2.cksum
deleted file mode 100644
index b0bdf4a..0000000
--- a/util/crossgcc/sum/mpfr-3.1.4.tar.bz2.cksum
+++ /dev/null
@@ -1 +0,0 @@
-e3b0af77f18505184410d621fe0aae179e229dba tarballs/mpfr-3.1.4.tar.bz2
diff --git a/util/crossgcc/sum/mpfr-3.1.4.tar.xz.cksum b/util/crossgcc/sum/mpfr-3.1.4.tar.xz.cksum
new file mode 100644
index 0000000..90f90eb
--- /dev/null
+++ b/util/crossgcc/sum/mpfr-3.1.4.tar.xz.cksum
@@ -0,0 +1 @@
+cedc0055d55b6ee4cd17e1e6119ed412520ff81a tarballs/mpfr-3.1.4.tar.xz
Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14457
-gerrit
commit c7793899998c372f0ea37ae2d0331aaa0c1ab0c1
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Thu Apr 21 17:06:37 2016 -0500
board_status/to-wiki: Indicate age of test results by background color
A major issue with the board-status Wiki page is that it shows all
test results equally regardless of age. As a test result ages it
becomes more likely that the board no longer works peroperly under
coreboot due to code churn.
Visually indicate board-test status "at a glance" by smoothly fading
the background color of the test result from green to yellow to red
as the test result ages. This patch sets the full red transition
to 256 days after test for programming convenience, however the
number of days required to fully "stale" a test result could be
modified relatively easily.
Change-Id: I5a076a6cc17d53fda8e4681e38074fc1f46c0e12
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
util/board_status/to-wiki/towiki.sh | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh
index 9cf8a3c..c47a10d 100755
--- a/util/board_status/to-wiki/towiki.sh
+++ b/util/board_status/to-wiki/towiki.sh
@@ -412,7 +412,23 @@ EOF
if [ -z "$lastgood" ]; then
echo "| style=\"background:red\" | Unknown"
else
- echo "| style=\"background:lime\" | [[#$vendor/$board|$lastgood]]"
+ lastgood_ts=$(date -d "$lastgood" "+%s")
+ current_ts=$(date "+%s")
+ lastgood_diff=0
+ if [ $lastgood_ts -lt $current_ts ]; then
+ lastgood_diff=$(( $current_ts - $lastgood_ts ))
+ # Convert seconds to days
+ lastgood_diff=$(( $lastgood_diff / 86400 ))
+ # Set maximum age at 255 days for convenience of code
+ if [ $lastgood_diff -gt 255 ]; then
+ lastgood_diff=255
+ fi
+ fi
+ lastgood_diff_hex=$(echo "obase=16; $lastgood_diff" | bc)
+ green_component=$(( 255 - $lastgood_diff ))
+ green_component_hex=$(echo "obase=16; $green_component" | bc)
+ cell_bgcolor=$(echo "#${lastgood_diff_hex}${green_component_hex}00")
+ echo "| style=\"background:${cell_bgcolor}\" | [[#$vendor/$board|$lastgood]]"
fi
echo "| $northbridge_nice"