Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40860 )
Change subject: payloads/tianocore: Fix check for custom bootsplash
......................................................................
payloads/tianocore: Fix check for custom bootsplash
-n needs to check against a string, but if CONFIG_TIANOCORE_BOOTSPLASH_FILE
is unset, then $(CONFIG_TIANOCORE_BOOTSPLASH_FILE) evaluates to nothing
and the check fails, leading the Makefile to try and copy a non-
existant file/path.
Change-Id: Iff717dd48748cff16f485bafaa91c7a225fb5bdb
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
---
M payloads/external/tianocore/Makefile
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/40860/1
diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile
index 1dc368d..21bae75 100644
--- a/payloads/external/tianocore/Makefile
+++ b/payloads/external/tianocore/Makefile
@@ -94,7 +94,7 @@
build: update checktools
unset CC; $(MAKE) -C $(project_dir)/BaseTools
echo " build $(project_name) $(TAG)"
- if [ -n $(CONFIG_TIANOCORE_BOOTSPLASH_FILE) ]; then \
+ if [ -n "$(CONFIG_TIANOCORE_BOOTSPLASH_FILE)" ]; then \
echo " Copying custom bootsplash image"; \
case "$(CONFIG_TIANOCORE_BOOTSPLASH_FILE)" in \
/*) cp $(CONFIG_TIANOCORE_BOOTSPLASH_FILE) \
--
To view, visit https://review.coreboot.org/c/coreboot/+/40860
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iff717dd48748cff16f485bafaa91c7a225fb5bdb
Gerrit-Change-Number: 40860
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-MessageType: newchange
Hello Hung-Te Lin, build bot (Jenkins), Patrick Georgi, Paul Menzel, Yu-Ping Wu,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/40623
to review the following change.
Change subject: Revert "soc/mediatek/mt8183: Force retraining memory if requested"
......................................................................
Revert "soc/mediatek/mt8183: Force retraining memory if requested"
This reverts commit 285975dbba8c7f3bbb9f9950e79a30bb983d5123.
Reason for revert: VB2_RECOVERY_TRAIN_AND_REBOOT was never meant to have
any special effect on memory training behavior. It was just supposed to
be a "reboot automatically after reaching kernel verification" recovery
reason. On x86 devices this was used to prime the separate recovery
MRC cache in the factory (make sure it is initialized before shipping).
This isn't used on Kukui anyway, but in order to make sure nobody copies
this code and keep the behavior consistent between platforms, let's
remove it.
Change-Id: I5df5e00526e90cb573131de3c8bac9f85f4e3a5f
---
M src/soc/mediatek/mt8183/memory.c
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/40623/1
diff --git a/src/soc/mediatek/mt8183/memory.c b/src/soc/mediatek/mt8183/memory.c
index b9ed619..2a4ebbd 100644
--- a/src/soc/mediatek/mt8183/memory.c
+++ b/src/soc/mediatek/mt8183/memory.c
@@ -169,8 +169,7 @@
/* Load calibration params from flash and run fast calibration */
if (recovery_mode) {
printk(BIOS_WARNING, "Skip loading cached calibration data\n");
- if (vboot_recovery_mode_memory_retrain() ||
- vboot_check_recovery_request() == VB2_RECOVERY_TRAIN_AND_REBOOT) {
+ if (vboot_recovery_mode_memory_retrain()) {
printk(BIOS_WARNING, "Retrain memory in next boot\n");
/* Use 0xFF as erased flash data. */
memset(dparam, 0xff, sizeof(*dparam));
--
To view, visit https://review.coreboot.org/c/coreboot/+/40623
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5df5e00526e90cb573131de3c8bac9f85f4e3a5f
Gerrit-Change-Number: 40623
Gerrit-PatchSet: 1
Gerrit-Owner: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newchange
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40877 )
Change subject: soc/intel/skl: always enable SataPwrOptEnable
......................................................................
Patch Set 3:
(9 comments)
https://review.coreboot.org/c/coreboot/+/40877/3//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/40877/3//COMMIT_MSG@11
PS3, Line 11: This leads to all sorts of problems and errors, for example:
: - links get lost
: - only 1.5 or 3 Gbps instead of 6 Gbps
: - "Unaligned Write" errors in Linux
: - ...
You told me this only happens when you enable power management in SATA (e.g. SALP), so why don't you mention it anywhere?
https://review.coreboot.org/c/coreboot/+/40877/3//COMMIT_MSG@22
PS3, Line 22: provide an option
: for breaking coreboot
That is not its intended purpose, yet your wording makes it sound as it were. I would suggest a less charged wording:
There is no reason to have debugging switches as devicetree options, anyway.
Its actual purpose would be to disable power management stuff for debugging purposes. Power management mechanisms in the hardware are increasingly complex, so there's lots of things that could go wrong. Unfortunately, there are undocumented interdependencies between FSP UPDs. In this case, looks like enabling SATA power management but disabling power management programming steps is an invalid configuration, but nothing says a word about that. Moreover, the FSP integration in coreboot results in default values of zero for the devicetree fields that are not explicitly assigned on each mainboard. So, even if FSP had the correct default value in the UPDs, it would get overwritten by coreboot.
https://review.coreboot.org/c/coreboot/+/40877/3//COMMIT_MSG@24
PS3, Line 24:
: Surprisingly cml and cnl are not affected, even though they share mostly
: the same reference code in this regard.
That nobody reported any problems doesn't mean that it's not affected. There's no guarantee that things remain like this in the future, so I would omit this part.
https://review.coreboot.org/c/coreboot/+/40877/3//COMMIT_MSG@26
PS3, Line 26: Thus, only skl gets changed.
A more compelling reason to only change SKL for now is because it has been tested and works: as per IRC, this change fixes problems on two different types of platforms without any noticeable downsides.
https://review.coreboot.org/c/coreboot/+/40877/3/src/soc/intel/skylake/chip…
File src/soc/intel/skylake/chip.c:
https://review.coreboot.org/c/coreboot/+/40877/3/src/soc/intel/skylake/chip…
PS3, Line 264: (link)
Why the parentheses?
https://review.coreboot.org/c/coreboot/+/40877/3/src/soc/intel/skylake/chip…
PS3, Line 264: * For unknown reasons FSP skips SATA init steps, resulting in (link) errors, unaligned write
> line over 96 characters
Please fix
https://review.coreboot.org/c/coreboot/+/40877/3/src/soc/intel/skylake/chip…
PS3, Line 264: unaligned write
What's an unaligned write error?
https://review.coreboot.org/c/coreboot/+/40877/3/src/soc/intel/skylake/chip…
PS3, Line 264: For unknown reasons FSP skips SATA init steps
Does it always skip those SATA init steps? If not, when does it skip such steps? The current wording of this sentence does not make this clear enough.
https://review.coreboot.org/c/coreboot/+/40877/3/src/soc/intel/skylake/chip…
PS3, Line 265: the SATA SIR
Only one SATA SIR?
--
To view, visit https://review.coreboot.org/c/coreboot/+/40877
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8531ba9743453a3118b389565517eb769b5e7929
Gerrit-Change-Number: 40877
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Niewöhner
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Angel Pena Galvão <mragalvao(a)gmail.com>
Gerrit-Reviewer: Jeremy Soller <jeremy(a)system76.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Swift Geek (Sebastian Grzywna) <swiftgeek(a)gmail.com>
Gerrit-Reviewer: Youness Alaoui <snifikino(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Comment-Date: Fri, 01 May 2020 15:41:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: comment
9elements QA has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40481 )
Change subject: mb/ocp/tiogapass: Implement port 80h direct to GPIO and init UART pins
......................................................................
Patch Set 5:
Automatic boot test returned (PASS/FAIL/TOTAL): 4/0/4
Emulation targets:
"QEMU x86 q35/ich9" using payload TianoCore : SUCCESS : https://lava.9esec.io/r/2946
"QEMU x86 q35/ich9" using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/2945
"QEMU x86 i440fx/piix4" using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/2944
"QEMU AArch64" using payload LinuxBoot_u-root_kexec : SUCCESS : https://lava.9esec.io/r/2943
Please note: This test is under development and might not be accurate at all!
--
To view, visit https://review.coreboot.org/c/coreboot/+/40481
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I087d5a81b881533b4550c193e4e9720a134fb8e7
Gerrit-Change-Number: 40481
Gerrit-PatchSet: 5
Gerrit-Owner: Bryant Ou <bryant.ou.q(a)gmail.com>
Gerrit-Reviewer: Andrey Petrov <andrey.petrov(a)gmail.com>
Gerrit-Reviewer: Andrey Petrov <anpetrov(a)fb.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Ryback Hung <ryback.hung%quantatw.com(a)gtempaccount.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: 9elements QA <hardwaretestrobot(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Fri, 01 May 2020 15:30:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40877 )
Change subject: soc/intel/skl: always enable SataPwrOptEnable
......................................................................
Patch Set 3:
(2 comments)
https://review.coreboot.org/c/coreboot/+/40877/3/src/soc/intel/skylake/chip…
File src/soc/intel/skylake/chip.c:
https://review.coreboot.org/c/coreboot/+/40877/3/src/soc/intel/skylake/chip…
PS3, Line 264: * For unknown reasons FSP skips SATA init steps, resulting in (link) errors, unaligned write
line over 96 characters
https://review.coreboot.org/c/coreboot/+/40877/3/src/soc/intel/skylake/chip…
PS3, Line 265: * errors and others. Enabling this makes FSP write the SATA SIR, which solves these problems.
line over 96 characters
--
To view, visit https://review.coreboot.org/c/coreboot/+/40877
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8531ba9743453a3118b389565517eb769b5e7929
Gerrit-Change-Number: 40877
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Niewöhner
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Angel Pena Galvão <mragalvao(a)gmail.com>
Gerrit-Reviewer: Jeremy Soller <jeremy(a)system76.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Swift Geek (Sebastian Grzywna) <swiftgeek(a)gmail.com>
Gerrit-Reviewer: Youness Alaoui <snifikino(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Comment-Date: Fri, 01 May 2020 15:07:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment