diff options
author | Julius Werner <jwerner@chromium.org> | 2021-09-08 16:10:15 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2021-09-09 23:05:03 +0000 |
commit | 8202fc42d444faae979263af72e9264ac40529a8 (patch) | |
tree | 55b4d3333f5fdd775efe3da126e128995f596ba4 /src/mainboard/intel/shadowmountain | |
parent | 2c59a3884d0b95ec87b21be9c28df9416eb1bbef (diff) |
util/cbmem: Add -2/--2ndtolast option to print second-to-last boot log
On some platforms, runtime firmware crashes write logs to the CBMEM
console. For those, since a crash reboots the system, by the time we
have a chance to run `cbmem` again the boot where the crash happened
will be the one before the "last" (current) boot. So cbmem -1 doesn't
show the interesting part, and cbmem -c potentially shows a lot that is
cumbersome to dig through. This patch introduces a new option cbmem -2
to explicitly show only the boot cycle before the last one.
Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I6725698f4c9ae07011cbacf0928544cebb4ad6f8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57510
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Diffstat (limited to 'src/mainboard/intel/shadowmountain')
0 files changed, 0 insertions, 0 deletions