Attention is currently required from: Arthur Heymans, Felix Held, Julius Werner, Jérémy Compostella, Karthik Ramasubramanian, Paul Menzel, Simon Glass.

Simon Glass uploaded patch set #11 to this change.

View Change

The following approvals got outdated and were removed: Verified+1 by build bot (Jenkins)

Introduce a coreboot Control Block (CCB)

It is annoying to have to create and maintain two completely
different builds of coreboot just make minor changes, such as to enable
or disable the console.

It would be much more convenient to have a 'silent' flag in the
image, which can be updated as needed, without needing to rebuild
coreboot.

Introduce the 'coreboot Control Block' (CCB) which can hold such
settings. It is designed to be available very early in bootblock,
before CBFS is ready. It is able to control the output of the very
first bootblock banner.

The CCB is then passed through the cache and placed in cbmem so it is
available to other stages.

Provide options in cbfstool to get and set settings in the CCB. This
makes it easy to use this feature.

BUG=b:172341184, b:262546009, b:249105972
BRANCH=none
TEST=see next CL

Change-Id: I04e946b33035a493e833500351a0483761252613
Signed-off-by: Simon Glass <sjg@chromium.org>
---
A Documentation/technotes/ccb.md
M Documentation/technotes/index.md
A Documentation/util/cbfstool/ccb.md
M Documentation/util/cbfstool/index.md
M src/Kconfig
M src/arch/x86/car.ld
M src/arch/x86/postcar.c
M src/arch/x86/romstage.c
M src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h
A src/commonlib/include/commonlib/ccb.h
A src/commonlib/include/commonlib/ccb_api.h
M src/include/memlayout.h
M src/include/rules.h
M src/include/symbols.h
M src/lib/Makefile.mk
M src/lib/bootblock.c
A src/lib/ccb.c
M src/lib/hardwaremain.c
M util/cbfstool/cbfstool.c
19 files changed, 503 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/77712/11

To view, visit change 77712. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I04e946b33035a493e833500351a0483761252613
Gerrit-Change-Number: 77712
Gerrit-PatchSet: 11
Gerrit-Owner: Simon Glass <sjg@chromium.org>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella@intel.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-CC: Felix Held <felix-coreboot@felixheld.de>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-CC: Simon Glass <sjg@chromium.org>
Gerrit-Attention: Simon Glass <sjg@chromium.org>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella@intel.com>
Gerrit-Attention: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Julius Werner <jwerner@chromium.org>
Gerrit-Attention: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Attention: Karthik Ramasubramanian <kramasub@google.com>
Gerrit-Attention: Felix Held <felix-coreboot@felixheld.de>