Attention is currently required from: Julius Werner, Nick Vaccaro, Yu-Ping Wu.
Hello Julius Werner, Nick Vaccaro, Yu-Ping Wu,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/81508?usp=email
to look at the new patch set (#2).
Change subject: Support for creating hybrid vboot images
......................................................................
Support for creating hybrid vboot images
This allows creating an image where RO is triggered by default with
normal RW secrets locked out. On a signal in CMOS, clear the signal
and follow normal RW_A/RW_B path. This allows dual-boot between stock
ChromeOS and an alternative payload while keeping compatibility with
ChromeOS updates.
Change-Id: I9b26c332f5bf6befd62b5930b19d1b20e76261e7
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
M src/drivers/mrc_cache/mrc_cache.c
M src/mainboard/google/volteer/Kconfig
M src/security/vboot/Kconfig
M src/security/vboot/misc.h
M src/security/vboot/vboot_common.h
M src/security/vboot/vboot_loader.c
M src/security/vboot/vboot_logic.c
M src/soc/intel/common/block/cse/cse_eop.c
8 files changed, 111 insertions(+), 9 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/81508/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/81508?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I9b26c332f5bf6befd62b5930b19d1b20e76261e7
Gerrit-Change-Number: 81508
Gerrit-PatchSet: 2
Gerrit-Owner: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-MessageType: newpatchset
Vladimir Serbinenko has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/81507?usp=email )
Change subject: Support smmstore in RW_LEGACY
......................................................................
Support smmstore in RW_LEGACY
When creating hybrid image with dual-boot we can't add a new fmap for
smmstore. Use a file in RW_LEGACY instead
Change-Id: I86a617782f187adcce4429ea41ac40a9df58d6d3
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
M src/drivers/smmstore/store.c
1 file changed, 26 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/81507/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/81507?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I86a617782f187adcce4429ea41ac40a9df58d6d3
Gerrit-Change-Number: 81507
Gerrit-PatchSet: 2
Gerrit-Owner: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Vladimir Serbinenko has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/81506?usp=email )
Change subject: Disable NULL breakpoint at the end of bootblock
......................................................................
Disable NULL breakpoint at the end of bootblock
If stage is older then it will not be able to correctly disable it when
needed. New stages will reenable breakpoint early
Change-Id: I6d83dfd8c84ccdd97c1899f206519ada91c990d5
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
M src/lib/prog_loaders.c
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/81506/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/81506?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I6d83dfd8c84ccdd97c1899f206519ada91c990d5
Gerrit-Change-Number: 81506
Gerrit-PatchSet: 2
Gerrit-Owner: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Julius Werner.
Hello Julius Werner, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/81505?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: Support loading legacy stage
......................................................................
Support loading legacy stage
This allows to create hybrid images that boot old signed stage
image in one of RW_A/RW_B and a newer RO with newer behaviour.
This allows to have dual-boot between stock ChromeOS and custom
coreboot
Change-Id: I4ae29a6227235c86f9f846986c18b361c3b3c78d
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
M src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h
M src/lib/cbfs.c
2 files changed, 78 insertions(+), 27 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/81505/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/81505?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I4ae29a6227235c86f9f846986c18b361c3b3c78d
Gerrit-Change-Number: 81505
Gerrit-PatchSet: 2
Gerrit-Owner: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Nico Huber.
Nicholas Chin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81503?usp=email )
Change subject: doc/getting_started: Update embedded-table examples
......................................................................
Patch Set 2:
(2 comments)
Patchset:
PS1:
> Ok, so then let's keep it simple and keep suggesting to use rST tables?
I think that's reasonable, as it keeps everything consistent. Though I think some people might appreciate having the option to use markdown syntax.
File Documentation/getting_started/writing_documentation.md:
https://review.coreboot.org/c/coreboot/+/81503/comment/38328c9d_f092894d :
PS2, Line 147: ```{eval-rst}
: .. csv-table::
: :header: "Key", "Value"
: :file: keyvalues.csv
: ```
This should work, as the contents of an eval-rst block just needs to be valid reST, which doesn't depend on Recommonmark vs MyST. However, MyST also provides more direct integration of Sphinx directives allowing it to call csv-table without enclosing it in an eval-rst block: https://myst-parser.readthedocs.io/en/latest/syntax/tables.html#csv-tables
That does make the docs more MyST specific though instead of Markdown + standard reST + minimal implementation specific bridging syntax (`{eval-rst}`), so I'm not sure if it's really worth switching. However, there are other areas where the direct Sphinx directives might be nice, such as using the `:doc:` directive. For example, `northbridge/intel/haswell/known-issues.md` encloses an entire paragraph in `{eval-rst}` just to use that, whereas with the direct syntax, eval-rst isn't needed and `{doc}` can be used directly in place of `:doc:`.
--
To view, visit https://review.coreboot.org/c/coreboot/+/81503?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I1b0d0b029fd527e0e18c71371806cd248ea0ecdf
Gerrit-Change-Number: 81503
Gerrit-PatchSet: 2
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Sun, 24 Mar 2024 23:37:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-MessageType: comment
Attention is currently required from: Julius Werner, Yu-Ping Wu.
Vladimir Serbinenko has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81509?usp=email )
Change subject: Clear spurious recovery request
......................................................................
Clear spurious recovery request
Some recovery requests are spurious. Clear them and follow RW path regardless
Change-Id: I6ba7c954e6c51ef97abc2ff8e2826a95ff6b0532
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
M src/security/vboot/vboot_logic.c
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/09/81509/1
diff --git a/src/security/vboot/vboot_logic.c b/src/security/vboot/vboot_logic.c
index 784f1d0..2ca9a81 100644
--- a/src/security/vboot/vboot_logic.c
+++ b/src/security/vboot/vboot_logic.c
@@ -17,6 +17,7 @@
#include <vb2_api.h>
#include <boot_device.h>
#include <pc80/mc146818rtc.h>
+#include "../2lib/include/2nvstorage.h"
#include "antirollback.h"
@@ -346,6 +347,12 @@
/* Initialize and read nvdata from non-volatile storage. */
vbnv_init();
+ /* Spurious. But if we continue we'll get into recovery bootloader. So clear it. */
+ if (CONFIG(VBOOT_HYBRID) && vb2_nv_get(ctx, VB2_NV_RECOVERY_REQUEST) == VB2_RECOVERY_SECDATA_FIRMWARE_INIT) {
+ vb2_nv_set(ctx, VB2_NV_RECOVERY_REQUEST, 0);
+ vb2_nv_set(ctx, VB2_NV_RECOVERY_SUBCODE, 0);
+ }
+
/* Set S3 resume flag if vboot should behave differently when selecting
* which slot to boot. This is only relevant to vboot if the platform
* does verification of memory init and thus must ensure it resumes with
--
To view, visit https://review.coreboot.org/c/coreboot/+/81509?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I6ba7c954e6c51ef97abc2ff8e2826a95ff6b0532
Gerrit-Change-Number: 81509
Gerrit-PatchSet: 1
Gerrit-Owner: Vladimir Serbinenko <phcoder(a)gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-MessageType: newchange