coreboot-kgpe-d16/util
Julius Werner b7b64a9f68 cbmem: Add new command line flag to dump console for one boot only
Even though the persistent CBMEM console is obviously awesome, there may
be cases where we only want to look at console output from the last boot.
It's easy to tell where one boot ends and another begins from the banner
message that coreboot prints at the start of every stage, but in order
to make it easier to find that point (especially for external tools),
let's put that functionality straight into the cbmem utility with a new
command line flag. Use the POSIX/libc regular expression API to find the
banner string for maximum compatilibity, even though it's kinda icky.

Change-Id: Ic17383507a884d84de9a2a880380cb15b25708a1
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/19497
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
2017-05-02 21:29:42 +02:00
..
abuild abuild: add timeless build command line parameter 2017-04-04 17:47:21 +02:00
acpi
amdfwtool amdfwtool: Move normal firmware 2 after fanless firmware2s 2017-04-27 23:27:06 +02:00
amdtools
archive
arm_boot_tools/mksunxiboot
autoport mb/*/mainboard.c: Get rid of SPI AFC register 2017-05-01 14:02:19 +02:00
bimgtool
blobtool util/blobtool: Update blobtool.y 2017-04-24 19:01:15 +02:00
board_status board_status/towiki.sh: Fix Socket for Sandy and Ivy Bridge 2017-03-14 02:32:36 +01:00
broadcom
cbfstool cbfstool/ifwitool: Remove unnecessary assignment 2017-03-29 15:43:38 +02:00
cbmem cbmem: Add new command line flag to dump console for one boot only 2017-05-02 21:29:42 +02:00
checklist
chromeos
crossgcc crossgcc: disable libsanitizer for the bootstrapped compiler 2017-04-28 06:47:37 +02:00
docker util/docker: Update makefile for servers and local use 2017-04-04 01:49:59 +02:00
dtd_parser
ectool util/ectool: Dump ram by default 2017-04-25 18:46:04 +02:00
exynos
futility util/futility/Makefile: Update clean target 2017-03-29 05:16:49 +02:00
fuzz-tests
genbuild_h
genprof
gitconfig
ifdfake
ifdtool ifdtool: Add SPI_FREQUENCY_50MHZ_30MHZ as a valid freq 2017-03-10 11:20:39 +01:00
intelmetool util/intelmetool: Check for NULL return from pci_lookup_name 2017-04-04 20:48:34 +02:00
inteltool util/inteltool: Add support for Wildcat Point-LP Premium 2017-05-01 00:43:52 +02:00
intelvbttool
ipqheader
k8resdump
kconfig
lint util/lint: Don't run checkpatch on the documentation 2017-04-24 19:18:06 +02:00
marvell
me_cleaner util/me_cleaner: Pull the latest changes from upstream 2017-03-02 22:04:08 +01:00
mma mma: update mma setup script for v2.1018 2017-04-24 19:11:34 +02:00
msrtool
mtkheader
nvidia util/nvidia/cbootimage: Update to upstream master 2017-04-24 19:19:39 +02:00
nvramtool
optionlist
post
release
riscvtools
rockchip
romcc util/romcc: Don't reference a variable after checking it for NULL 2017-02-10 18:01:52 +01:00
sconfig lib: provide clearer devicetree semantics 2017-04-25 18:14:38 +02:00
scripts util/scripts/get_maintainer.pl: Remove linux tree check 2017-03-07 15:03:45 +01:00
showdevicetree
spkmodem_recv
superiotool util/superiotool: Add support for Fintek F71808A 2017-03-13 17:10:02 +01:00
uio_usbdebug
vgabios
viatool
xcompile util/xcompile: parallelize compiler checks 2017-01-31 18:51:47 +01:00