Attention is currently required from: Jérémy Compostella.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/79594?usp=email
to look at the new patch set (#3).
Change subject: Post-build control of serial ......................................................................
Post-build control of serial
Use the new 'coreboot Control Block' (CCB) to control console output, including the very first bootblock banner.
This involves moving console_init() later in a few cases, so that CBMEM is available. Otherwise the postcar and ramstage will output a banner even when the console is silent.
Provide a feature in cbfstool to enable and disable the console output.
This adds only around 100 bytes to the bootblock size on x86 machines, so is small enough to be enabled in most cases.
BUG=none BRANCH=none TEST=make (to build coreboot) $ cbfstool build/coreboot.rom ccb-get -n console console=loud
First try this to see that the bootblock outputs its banner:
$ qemu-system-i386 -bios build/coreboot.rom -nographic |head -5
[NOTE ] coreboot-4.21 Fri Nov 17 12:09:01 UTC 2023 x86_32 bootblock starting (log level: 7)... ...
Now set it to silent and try again, to see that the bootblock output is suppressed, so that the first output shown is the romstage:
$ cbfstool build/coreboot.rom ccb-get -n console -V silent console=silent
$ qemu-system-i386 -bios build/coreboot.rom -nographic (no output)
Change-Id: Ibd867950f117cc6b3dbc582505f3983a0dd714fb Signed-off-by: Simon Glass sjg@chromium.org --- M Documentation/util/cbfstool/ccb.md M src/arch/x86/postcar.c M src/commonlib/include/commonlib/ccb.h M src/console/Kconfig M src/console/console.c M src/console/init.c M src/include/console/console.h M src/include/console/streams.h M src/lib/hardwaremain.c M util/cbfstool/cbfstool.c 10 files changed, 117 insertions(+), 15 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/79594/3