coreboot/src
Julius Werner c7de8a8526 UPSTREAM: cbmem_console: Improve 'cbmem -1' behavior for truncated pre-CBMEM logs
The 'cbmem -1' flag that cuts off console output before the last boot
will ignore content from earlier stages if it was truncated due to lack
of pre-CBMEM console space. This patch makes the "log truncated" message
more specific and adds it as an additional cut-off marker to 'cbmem -1'
to counteract that problem.

Also raise the log level of the coreboot banner one step to BIOS_NOTICE
to make it more likely to be included in the output for 'cbmem -1' to
find. (I believe NOTICE is reasonable but I wouldn't want to go as far
as WARN which should be reserved for actual problems. Of course this is
not ideal, but then again, our whole log-level system really isn't... it
would be better if we could make it always print a banner to the CBMEM
console without affecting the UART at the same time, but that would
require a larger amount of work.)

BUG=none
BRANCH=none
TEST=none

Change-Id: I71f5ae9e44509608d3c47edcb4a7c869d0d650db
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: d906bb68c3
Original-Change-Id: I58288593dfa757e14f4a9da4ffa7e27b0b66feb9
Original-Reported-by: https://ticket.coreboot.org/issues/117
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/19720
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/509513
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
2017-05-22 19:31:14 -07:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: CBMEM: Add config CBMEM_TOP_BACKUP 2017-05-18 18:07:12 -07:00
commonlib UPSTREAM: commonlib: Move drivers/storage into commonlib/storage 2017-05-15 08:17:50 -07:00
console UPSTREAM: cbmem_console: Improve 'cbmem -1' behavior for truncated pre-CBMEM logs 2017-05-22 19:31:14 -07:00
cpu UPSTREAM: AMD MTRR: Add common add_uma_resource_below_tolm() 2017-05-18 18:07:12 -07:00
device UPSTREAM: lib/edid.c: Allow use of when not NGI 2017-05-07 07:41:12 -07:00
drivers UPSTREAM: uart: Fix bug in {uart8250, uart8250_mem, ns16550}_rx_byte functions 2017-05-18 18:07:14 -07:00
ec UPSTREAM: mb/lenovo/x201: Add support for ThinkLight 2017-05-15 08:17:44 -07:00
include UPSTREAM: AMD MTRR: Add common add_uma_resource_below_tolm() 2017-05-18 18:07:12 -07:00
lib UPSTREAM: cbmem_console: Improve 'cbmem -1' behavior for truncated pre-CBMEM logs 2017-05-22 19:31:14 -07:00
mainboard Revert "Revert "UPSTREAM: mb/google/eve: switch touchpad devicetree to i2c-hid and cros_ec i2c device"" 2017-05-18 18:08:08 -07:00
northbridge UPSTREAM: binaryPI: Fix UMA calculations 2017-05-18 18:07:13 -07:00
soc UPSTREAM: uart: Fix bug in {uart8250, uart8250_mem, ns16550}_rx_byte functions 2017-05-18 18:07:14 -07:00
southbridge UPSTREAM: AGESA: Fix UMA calculations 2017-05-18 18:07:13 -07:00
superio UPSTREAM: superio/nuvoton: Make SuperIO config functions externally available 2017-05-15 08:17:43 -07:00
vboot UPSTREAM: vboot: Separate board name and version number in FWID with a dot 2017-05-02 20:24:01 -07:00
vendorcode UPSTREAM: vendorcode/intel/fsp/fsp2_0/glk: Add FSP header files for GLK 2017-05-15 08:17:48 -07:00
Kconfig UPSTREAM: commonlib: Move drivers/storage into commonlib/storage 2017-05-15 08:17:50 -07:00