Hello build bot (Jenkins), Nico Huber, Jeremy Soller, Michael Niewöhner, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/44952
to look at the new patch set (#2).
Change subject: soc/intel/cnl: Add new Kconfig option which matches its FSPs name
......................................................................
soc/intel/cnl: Add new Kconfig option which matches its FSPs name
Since there are 4 different versions of FSPs for the Comet Lake
platform, add a new Kconfig option for the currently used SoC being able
to differ between the various SoCs and FSPs.
The new Kconfig option selects the Comet Lake SoC as base for taking
over its specific configuration and is only used for configuring the
path to its specific FSP header files and FSP binary.
Also, adjust all related mainboards so that their Kconfig selects the
new option.
For details, please see
https://github.com/intel/FSP/tree/master/CometLakeFspBinPkg
Built System76/lemp9 with BUILD_TIMELESS=1 before and after this patch
and both images are equal.
Change-Id: I44b717bb942fbcd359c7a06ef1a0ef4306697f64
Signed-off-by: Felix Singer <felixsinger(a)posteo.net>
---
M src/mainboard/google/drallion/Kconfig
M src/mainboard/google/hatch/Kconfig
M src/mainboard/intel/coffeelake_rvp/Kconfig.name
M src/mainboard/system76/lemp9/Kconfig
M src/soc/intel/cannonlake/Kconfig
5 files changed, 10 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/44952/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/44952
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I44b717bb942fbcd359c7a06ef1a0ef4306697f64
Gerrit-Change-Number: 44952
Gerrit-PatchSet: 2
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Jeremy Soller <jeremy(a)system76.com>
Gerrit-Reviewer: Michael Niewöhner
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45044 )
Change subject: crossgcc: Ensure that GMP is built for a generic CPU on x86
......................................................................
crossgcc: Ensure that GMP is built for a generic CPU on x86
While GMP supports fat builds on x86 that adapt to the CPU's
capabilities, by default it builds for the CPU of the builder.
Running that binary on an older CPU then can fail.
Change-Id: Iafdc2eb696189b9e2c5ead316f310d98c949ef74
Signed-off-by: Patrick Georgi <pgeorgi(a)google.com>
---
A util/crossgcc/patches/gmp-6.2.0_generic-build.patch
1 file changed, 20 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/45044/1
diff --git a/util/crossgcc/patches/gmp-6.2.0_generic-build.patch b/util/crossgcc/patches/gmp-6.2.0_generic-build.patch
new file mode 100644
index 0000000..a05635f
--- /dev/null
+++ b/util/crossgcc/patches/gmp-6.2.0_generic-build.patch
@@ -0,0 +1,20 @@
+Ensure that GMP is built for a generic CPU on x86
+
+While GMP supports fat builds on x86 that adapt to the CPU's
+capabilities, by default it builds for the CPU of the builder.
+Running that binary on an older CPU then can fail.
+--- gmp-6.2.0/config.guess~ 2020-09-02 19:23:01.817510842 +0200
++++ gmp-6.2.0/config.guess 2020-09-02 19:24:55.742325907 +0200
+@@ -1029,6 +1029,12 @@
+ virtualisers allow guests to set a broken state. */
+ suffix = "noavx";
+
++ if (cpuid_64bit) {
++ modelstr="x86_64";
++ } else {
++ modelstr="pentium";
++ }
++ suffix="";
+ printf ("%s%s", modelstr, suffix);
+ return 0;
+ }
--
To view, visit https://review.coreboot.org/c/coreboot/+/45044
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iafdc2eb696189b9e2c5ead316f310d98c949ef74
Gerrit-Change-Number: 45044
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newchange
Martin Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44986 )
Change subject: util/amdfwtool: Fix warning taking address of packed struct member
......................................................................
util/amdfwtool: Fix warning taking address of packed struct member
GCC9 introduced a new warning [-Waddress-of-packed-member]. This
is giving the following warning when building amdfwtool: warning: taking
address of packed member of ‘struct _bios_directory_entry’ may result in
an unaligned pointer value. Looking at the definition of the struct, it
looks like this is probably true.
Since the function being called doesn't read from the values, zeroing
them out in the beginning of the function, the code just passes pointers
to the temporary variables without initializing them.
BUG=None
TEST=Build & use AMD firmware table.
BRANCH=Zork
Signed-off-by: Martin Roth <martinroth(a)chromium.org>
Change-Id: I2f1e0aede8563e39ab0f2ec6daed91d6431eac43
---
M util/amdfwtool/amdfwtool.c
1 file changed, 6 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/44986/1
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index 499a1bd..299ed0c 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -888,6 +888,8 @@
unsigned int i, count;
int level;
int apob_idx;
+ uint32_t size;
+ uint64_t source;
/* This function can create a primary table, a secondary table, or a
* flattened table which contains all applicable types. These if-else
@@ -996,10 +998,11 @@
break;
case AMD_BIOS_BIN:
/* Don't make a 2nd copy, point to the same one */
- if (level == BDT_LVL1 && locate_bdt2_bios(biosdir2,
- &biosdir->entries[count].source,
- &biosdir->entries[count].size))
+ if (level == BDT_LVL1 && locate_bdt2_bios(biosdir2, &source, &size)) {
+ biosdir->entries[count].source = source;
+ biosdir->entries[count].size = size;
break;
+ }
/* level 2, or level 1 and no copy found in level 2 */
biosdir->entries[count].source = fw_table[i].src;
--
To view, visit https://review.coreboot.org/c/coreboot/+/44986
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2f1e0aede8563e39ab0f2ec6daed91d6431eac43
Gerrit-Change-Number: 44986
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-MessageType: newchange