the following patch was just integrated into master:
commit 561f368a2f2bb9042878e40b1f34bf605b956a33
Author: Martin Roth <gaumless(a)gmail.com>
Date: Fri Dec 30 17:00:19 2016 -0700
util/docker: Update dockerfiles & build method
All files:
- Previously, various things were hardcoded into the docker containers
that made it necessary to update the Dockerfile files for each new
version of the sdk. Turn those into 'Variables" that are updated during
the build step. Because the makefile is piping the dockerfile through
the sed command and back into the docker build command, the normal
docker "COPY" keyword doesn't work.
coreboot-jenkins-node changes:
- Run ssh-keygen -A to explicitly generate the ssh keys. This fixes an
error: Could not load host key: /etc/ssh/ssh_host_dsa_key
coreboot-sdk changes:
- Remove apt-get upgrade command - The Dockerfile guide recommends
not to run this.
- Change libssl-dev to libssl1.0-dev. libssl-dev's header files won't
build the Chrome-EC codebase.
- Add libisl-dev, needed to build the riscv toolchain.
- Build the toolchain using the -b option
- Add environment variables containing the version and commit that the
coreboot-sdk was built from.
Makefile:
- Update targets to use the version and commit variables
Change-Id: I2c1376fe4b791da2a62fca11bc92c4774cbef1c8
Signed-off-by: Martin Roth <gaumless(a)gmail.com>
Reviewed-on: https://review.coreboot.org/18001
Tested-by: build bot (Jenkins)
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
See https://review.coreboot.org/18001 for details.
-gerrit
Duncan Laurie (dlaurie(a)chromium.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18579
-gerrit
commit e8a581898c5517b09551eb0b8e4f02e045a9f4c5
Author: Duncan Laurie <dlaurie(a)chromium.org>
Date: Sun Mar 5 14:35:57 2017 -0800
elog: Fix duplicate event type
The current elog implementation has two event types defined for 0xa7,
apparently the result of divergent coreboot trees on chromium where
some events were added to ARM systems but not upstreamed until later.
Fix this by moving ELOG_TYPE_THERM_TRIP to be 0xab, since the current
elog parsing code in chromium is using ELOG_TYPE_SLEEP for 0xa7.
BUG=b:35977516
TEST=check for proper "CPU Thermal Trip" event when investigating a
device that is unexpectedly powering down.
Change-Id: Idfa9b2322527803097f4f19f7930ccbdf2eccf35
Signed-off-by: Duncan Laurie <dlaurie(a)chromium.org>
---
src/include/elog.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/include/elog.h b/src/include/elog.h
index 501e30d..2734612 100644
--- a/src/include/elog.h
+++ b/src/include/elog.h
@@ -146,9 +146,6 @@ struct elog_event_data_me_extended {
/* EC Shutdown Reason */
#define ELOG_TYPE_EC_SHUTDOWN 0xa5
-/* CPU Thermal Trip */
-#define ELOG_TYPE_THERM_TRIP 0xa7
-
/* ARM/generic versions of sleep/wake - These came from another firmware
* apparently, but not all the firmware sources were updated so that the
* elog namespace was coherent. */
@@ -168,6 +165,9 @@ struct elog_event_mem_cache_update {
u8 status;
} __attribute__ ((packed));
+/* CPU Thermal Trip */
+#define ELOG_TYPE_THERM_TRIP 0xab
+
#if CONFIG_ELOG
/* Eventlog backing storage must be initialized before calling elog_init(). */
extern int elog_init(void);
Timothy Pearson (tpearson(a)raptorengineering.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18168
-gerrit
commit 93286fa78cea5a492ea4c9cd8aa1ca477bde326b
Author: Timothy Pearson <tpearson(a)raptorengineering.com>
Date: Wed Jan 18 16:02:10 2017 -0600
board-info: Add initial freedom levels for select boards
Coreboot supports a wide variety of hardware, some that allows
fully libre fimware to be used, and some where coreboot is a
simple shim on top of signed vendor-controlled firmware blobs.
An initial ranking system has been created here:
https://www.coreboot.org/Board_freedom_levels
These mainboards have been ranked according to the criteria
in that list.
Change-Id: If694825a704ee8ac5d12aa023471c88d845f7a25
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineering.com>
---
src/mainboard/asus/kcma-d8/board_info.txt | 1 +
src/mainboard/asus/kfsn4-dre/board_info.txt | 1 +
src/mainboard/asus/kgpe-d16/board_info.txt | 1 +
src/mainboard/google/slippy/board_info.txt | 1 +
src/mainboard/google/veyron/board_info.txt | 1 +
src/mainboard/lenovo/t400/board_info.txt | 1 +
src/mainboard/lenovo/t500/board_info.txt | 1 +
src/mainboard/lenovo/x200/board_info.txt | 1 +
8 files changed, 8 insertions(+)
diff --git a/src/mainboard/asus/kcma-d8/board_info.txt b/src/mainboard/asus/kcma-d8/board_info.txt
index e69d31a..0f0045d 100644
--- a/src/mainboard/asus/kcma-d8/board_info.txt
+++ b/src/mainboard/asus/kcma-d8/board_info.txt
@@ -3,3 +3,4 @@ ROM package: DIP-8
ROM protocol: SPI
ROM socketed: y
Flashrom support: y
+Freedom level: gold
diff --git a/src/mainboard/asus/kfsn4-dre/board_info.txt b/src/mainboard/asus/kfsn4-dre/board_info.txt
index 678373a..c3f32b5 100644
--- a/src/mainboard/asus/kfsn4-dre/board_info.txt
+++ b/src/mainboard/asus/kfsn4-dre/board_info.txt
@@ -3,4 +3,5 @@ ROM package: PLCC-32
ROM protocol: LPC
ROM socketed: y
Flashrom support: y
+Freedom level: gold
Release year: 2007
diff --git a/src/mainboard/asus/kgpe-d16/board_info.txt b/src/mainboard/asus/kgpe-d16/board_info.txt
index e69d31a..0f0045d 100644
--- a/src/mainboard/asus/kgpe-d16/board_info.txt
+++ b/src/mainboard/asus/kgpe-d16/board_info.txt
@@ -3,3 +3,4 @@ ROM package: DIP-8
ROM protocol: SPI
ROM socketed: y
Flashrom support: y
+Freedom level: gold
diff --git a/src/mainboard/google/slippy/board_info.txt b/src/mainboard/google/slippy/board_info.txt
index 4e2fd7d..0e26a82 100644
--- a/src/mainboard/google/slippy/board_info.txt
+++ b/src/mainboard/google/slippy/board_info.txt
@@ -5,3 +5,4 @@ ROM package: SOIC-8
ROM protocol: SPI
ROM socketed: n
Flashrom support: y
+Freedom level: vendorlock
diff --git a/src/mainboard/google/veyron/board_info.txt b/src/mainboard/google/veyron/board_info.txt
index 5ee07fb..0904de3 100644
--- a/src/mainboard/google/veyron/board_info.txt
+++ b/src/mainboard/google/veyron/board_info.txt
@@ -4,3 +4,4 @@ Category: misc
ROM protocol: SPI
ROM socketed: n
Flashrom support: y
+Freedom level: gold
diff --git a/src/mainboard/lenovo/t400/board_info.txt b/src/mainboard/lenovo/t400/board_info.txt
index a78a21b..f92fe7f 100644
--- a/src/mainboard/lenovo/t400/board_info.txt
+++ b/src/mainboard/lenovo/t400/board_info.txt
@@ -4,3 +4,4 @@ ROM protocol: SPI
ROM socketed: n
Flashrom support: n
Release year: 2008
+Freedom level: bronze
diff --git a/src/mainboard/lenovo/t500/board_info.txt b/src/mainboard/lenovo/t500/board_info.txt
index 007ec6c..656fe7f 100644
--- a/src/mainboard/lenovo/t500/board_info.txt
+++ b/src/mainboard/lenovo/t500/board_info.txt
@@ -4,3 +4,4 @@ ROM protocol: SPI
ROM socketed: n
Flashrom support: n
Clone of: lenovo/t400
+Freedom level: silver
diff --git a/src/mainboard/lenovo/x200/board_info.txt b/src/mainboard/lenovo/x200/board_info.txt
index c9cc003..0c83fbe 100644
--- a/src/mainboard/lenovo/x200/board_info.txt
+++ b/src/mainboard/lenovo/x200/board_info.txt
@@ -4,3 +4,4 @@ ROM protocol: SPI
ROM socketed: n
Flashrom support: n
Release year: 2008
+Freedom level: bronze