Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30218 )
Change subject: vendorcode/eltan: Add vendor code for measured and verified boot
......................................................................
Patch Set 8:
> Patch Set 8:
>
> > Patch Set 7:
> >
> > BTW, you can add all the related patches to the same gerrit topic so that it is easier to keep track of them. There is also the option of using patch trains, so that you build on previous, not yet merged patches. It is good for reviewing as well, since one can follow the order in which the code was added.
>
> Use same gerrit topic for all patches?
> Do you have an example of 'patch train'? Or you mean to rebase a patch on other patch?
A patch train is (if I understand the concept properly) a group of patches which follow each other. The idea is to divide a very large patchset into a series of steps to reach the same point as the big patchset, but with each patch doing one logical change. The idea is that each patch train builds on top of the previous one (sort of laying bricks one atop the other).
I see you added a topic to all the patches already, which is good. I am not sure how you work on the patches, but to put them together in a train I would:
- Clean the local git repo
- Cherry-pick each patch in order (each patch is a building block)
- When all are cherry-picked, push to gerrit
I hope this helps.
--
To view, visit https://review.coreboot.org/c/coreboot/+/30218
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic1d5a21d40b6a31886777e8e9fe7b28c860f1a80
Gerrit-Change-Number: 30218
Gerrit-PatchSet: 8
Gerrit-Owner: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-CC: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Patrick Rudolph
Gerrit-CC: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Mon, 14 Jan 2019 23:16:56 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Justin TerAvest has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30923
Change subject: Revert "mb/google/octopus: Add custom SAR values for Bobba"
......................................................................
Revert "mb/google/octopus: Add custom SAR values for Bobba"
According to the partner on this project, custom values like this are no
longer necessary.
BUG=b:120958726
TEST=None
This reverts commit a914152fa6072c443ccd18de22412b47a228e754.
Change-Id: I8da5c750e5a4e91c7f83cf3bae024ed11cd784b2
Signed-off-by: Justin TerAvest <teravest(a)chromium.org>
---
M src/mainboard/google/octopus/variants/bobba/Makefile.inc
D src/mainboard/google/octopus/variants/bobba/mainboard.c
2 files changed, 0 insertions(+), 37 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/30923/1
diff --git a/src/mainboard/google/octopus/variants/bobba/Makefile.inc b/src/mainboard/google/octopus/variants/bobba/Makefile.inc
index 152b46e..9fb63f5 100644
--- a/src/mainboard/google/octopus/variants/bobba/Makefile.inc
+++ b/src/mainboard/google/octopus/variants/bobba/Makefile.inc
@@ -1,4 +1,3 @@
bootblock-y += gpio.c
ramstage-y += gpio.c
-ramstage-y += mainboard.c
diff --git a/src/mainboard/google/octopus/variants/bobba/mainboard.c b/src/mainboard/google/octopus/variants/bobba/mainboard.c
deleted file mode 100644
index 61098b7..0000000
--- a/src/mainboard/google/octopus/variants/bobba/mainboard.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright 2018 Google LLC
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-#include <boardid.h>
-#include <ec/google/chromeec/ec.h>
-#include <sar.h>
-
-const char *get_wifi_sar_cbfs_filename(void)
-{
- const char *filename = NULL;
- uint32_t sku_id;
- if (google_chromeec_cbi_get_sku_id(&sku_id))
- return NULL;
-
- switch (sku_id) {
- case 9:
- case 10:
- case 11:
- case 12:
- filename = "wifi_sar-bobba360.hex";
- break;
- }
- return filename;
-}
--
To view, visit https://review.coreboot.org/c/coreboot/+/30923
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8da5c750e5a4e91c7f83cf3bae024ed11cd784b2
Gerrit-Change-Number: 30923
Gerrit-PatchSet: 1
Gerrit-Owner: Justin TerAvest <teravest(a)chromium.org>
Gerrit-MessageType: newchange
Hello Jonathan Neuschäfer, build bot (Jenkins), Martin Roth, Patrick Georgi, Philipp Hug,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/30348
to look at the new patch set (#4).
Change subject: riscv: create Kconfig architecture features for new parts
......................................................................
riscv: create Kconfig architecture features for new parts
RISCV parts can be created with any one of four CPU modes enabled,
with or without PMP, and with either 32 or 64 bit XLEN.
In anticipation of parts to come, create the Kconfig variables for these
architecture attributes. We do not create more than we need for coreboot.
With this change, and a conditional compilation of PMP as an example,
hifive still builds.
Change-Id: I32ee51b2a469c7684a2f1b477bdac040e972e253
Signed-off-by: Ronald G. Minnich <rminnich(a)gmail.com>
---
M src/arch/riscv/Kconfig
M src/arch/riscv/Makefile.inc
M src/soc/sifive/fu540/Kconfig
M src/soc/ucb/riscv/Kconfig
4 files changed, 59 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/30348/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/30348
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I32ee51b2a469c7684a2f1b477bdac040e972e253
Gerrit-Change-Number: 30348
Gerrit-PatchSet: 4
Gerrit-Owner: ron minnich <rminnich(a)gmail.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ron minnich <rminnich(a)gmail.com>
Gerrit-MessageType: newpatchset
ron minnich has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30348 )
Change subject: riscv: create Kconfig architecture features for new parts
......................................................................
Patch Set 3:
(9 comments)
https://review.coreboot.org/#/c/30348/1/3rdparty/blobs
File 3rdparty/blobs:
https://review.coreboot.org/#/c/30348/1/3rdparty/blobs@1
PS1, Line 1: Subproject commit dd00ad1260ef1dc0ba8c55c06ab10c7639dc3eb1
> This slipped in by accident, I guess
fixed.
https://review.coreboot.org/#/c/30348/1/src/arch/riscv/Kconfig
File src/arch/riscv/Kconfig:
https://review.coreboot.org/#/c/30348/1/src/arch/riscv/Kconfig@14
PS1, Line 14: config ARCH_RISCV_M
> Please add descriptions to make it clear what these options mean, either as comments or with "help" […]
Done
https://review.coreboot.org/#/c/30348/1/src/arch/riscv/Kconfig@15
PS1, Line 15: bool
> ARCH_RISCV_M seems unnecessary, because M-mode is mandated (RISC-V Priv. Arch. spec. 1. […]
There is a SOC in the works that won't have M.
https://review.coreboot.org/#/c/30348/1/src/arch/riscv/Kconfig@22
PS1, Line 22: config ARCH_RISCV_H
> H-mode has been dropped, it's gone in the Privileged Architecture spec 1.10.
Done
https://review.coreboot.org/#/c/30348/1/src/arch/riscv/Kconfig@26
PS1, Line 26: config ARCH_RISCV_U
> I'm not sure about the purpose of ARCH_RISCV_S and ARCH_RISCV_U. […]
They are required for an SOC I will be pushing but in general for, e.g., rv32 that don't have those modes. Leaving them out was a mistake I made at the start.
https://review.coreboot.org/#/c/30348/1/src/arch/riscv/Kconfig@30
PS1, Line 30: config ARCH_RISCV_RV64
That's seeming less likely all the time but we'll see.
https://review.coreboot.org/#/c/30348/2/src/arch/riscv/Kconfig
File src/arch/riscv/Kconfig:
https://review.coreboot.org/#/c/30348/2/src/arch/riscv/Kconfig@14
PS2, Line 14: config ARCH_RISCV_M
: # Whether a SOC implements M mode.
: # M mode is the most privileged mode, it is
: # the equivalent in some ways of x86 SMM mode
: # save that in M mode it is impossible to turn
: # on paging.
: # While the spec requires it, there is at least
: # one implementation that will not have it due
: # to security concerns.
: bool
: default y
> Maybe add another config option to allow this to be disabled via a select: […]
excellent idea.
https://review.coreboot.org/#/c/30348/2/src/arch/riscv/Kconfig@40
PS2, Line 40: config ARCH_RISCV_RV32
: bool
: default n
> maybe default this to y unless 64-bit is selected?
let's not. I don't want people to pick it by accident
https://review.coreboot.org/#/c/30348/1/src/arch/riscv/Makefile.inc
File src/arch/riscv/Makefile.inc:
https://review.coreboot.org/#/c/30348/1/src/arch/riscv/Makefile.inc@40
PS1, Line 40: $(error "You need to select ARCH_RISCV_RV64 or ARCH_RISCV_RV32")
> You're in the if branch for clang analyzer, here. […]
i can't figure out this makefile. But I'll give it a try.
--
To view, visit https://review.coreboot.org/c/coreboot/+/30348
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I32ee51b2a469c7684a2f1b477bdac040e972e253
Gerrit-Change-Number: 30348
Gerrit-PatchSet: 3
Gerrit-Owner: ron minnich <rminnich(a)gmail.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ron minnich <rminnich(a)gmail.com>
Gerrit-Comment-Date: Mon, 14 Jan 2019 22:15:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Comment-In-Reply-To: Martin Roth <martinroth(a)google.com>
Gerrit-MessageType: comment
Hello Jonathan Neuschäfer, build bot (Jenkins), Martin Roth, Patrick Georgi, Philipp Hug,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/30348
to look at the new patch set (#3).
Change subject: riscv: create Kconfig architecture features for new parts
......................................................................
riscv: create Kconfig architecture features for new parts
RISCV parts can be created with any one of four CPU modes enabled,
with or without PMP, and with either 32 or 64 bit XLEN.
In anticipation of parts to come, create the Kconfig variables for these
architecture attributes. We do not create more than we need for coreboot.
With this change, and a conditional compilation of PMP as an example,
hifive still builds.
Change-Id: I32ee51b2a469c7684a2f1b477bdac040e972e253
Signed-off-by: Ronald G. Minnich <rminnich(a)gmail.com>
---
M 3rdparty/blobs
M src/arch/riscv/Kconfig
M src/arch/riscv/Makefile.inc
M src/soc/sifive/fu540/Kconfig
M src/soc/ucb/riscv/Kconfig
5 files changed, 60 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/30348/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/30348
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I32ee51b2a469c7684a2f1b477bdac040e972e253
Gerrit-Change-Number: 30348
Gerrit-PatchSet: 3
Gerrit-Owner: ron minnich <rminnich(a)gmail.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ron minnich <rminnich(a)gmail.com>
Gerrit-MessageType: newpatchset
Julius Werner has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/30837 )
Change subject: mb/google/kukui: add flapjack on top of kukui
......................................................................
Abandoned
replaced by CB:30859
--
To view, visit https://review.coreboot.org/c/coreboot/+/30837
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I70f3c6e0450db5768d8ecb200effba84cca52dcc
Gerrit-Change-Number: 30837
Gerrit-PatchSet: 2
Gerrit-Owner: YH Lin <yueherngl(a)chromium.org>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: YH Lin <yueherngl(a)google.com>
Gerrit-CC: Nick Sanders <nsanders(a)chromium.org>
Gerrit-MessageType: abandon