coreboot/util
Youness Alaoui c4b4ff3b1f console/flashsconsole: Add spi flash console for debugging
If CONSOLE_SPI_FLASH config is enabled, we write the cbmem
messages to the 'CONSOLE' area in FMAP which allows us to grab the
log when we read the flash.

This is useful when you don't have usb debugging, and
UART lines are hard to find. Since a failure to boot would
require a hardware flasher anyways, we can get the log
at the same time.

This feature should only be used when no alternative is
found and only when we can't boot the system, because
excessive writes to the flash is not recommended.

This has been tested on purism/librem13 v2 and librem 15 v3 which
run Intel Skylake hardware. It has not been tested on other archs
or with a driver other than the fast_spi.

Change-Id: I74a297b94f6881d8c27cbe5168f161d8331c3df3
Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm>
Reviewed-on: https://review.coreboot.org/19849
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
2017-06-04 18:44:56 +02:00
..
abuild util/abuild: Start junit testcase block on kconfig failure 2017-05-27 16:54:23 +02:00
acpi
amdfwtool
amdtools
archive
arm_boot_tools/mksunxiboot
autoport util/autoport: Add the PCI ID of the iGPU for the Intel i7 3770K 2017-05-03 20:14:05 +02:00
bimgtool
blobtool blobtool/ifd-x200.set: Fix flashmap0 NR 2017-05-05 22:43:46 +02:00
board_status
broadcom
cbfstool console/flashsconsole: Add spi flash console for debugging 2017-06-04 18:44:56 +02:00
cbmem cbmem_console: Improve 'cbmem -1' behavior for truncated pre-CBMEM logs 2017-05-18 19:49:43 +02:00
checklist
chromeos
crossgcc
docker
dtd_parser
ectool
exynos
futility
fuzz-tests
genbuild_h
genprof
gitconfig
hugo util/hugo: no need to enable an interactive terminal 2017-05-26 18:36:47 +02:00
ifdfake
ifdtool ifdtool: avoid potential unaligned pointer usage 2017-06-02 01:58:20 +02:00
intelmetool intelmetool: Enable warning *set-but-unused-variable* 2017-05-11 16:42:11 +02:00
inteltool util/inteltool: Add support for Wildcat Point-LP Premium 2017-05-01 00:43:52 +02:00
intelvbttool
ipqheader
k8resdump
kbc1126 util: Add tools for dumping and inserting KBC1126 firmware images. 2017-05-11 16:48:40 +02:00
kconfig
lint util/lint: ignore some more binary file types 2017-05-25 23:04:29 +02:00
marvell
me_cleaner
mma
msrtool
mtkheader
nvidia
nvramtool
optionlist
post
release util/release: Update build-release script 2017-05-16 10:54:06 +02:00
riscvtools
rockchip
romcc
sconfig
scripts
showdevicetree
spkmodem_recv
superiotool superiotool: Add registers of LPC47N217 2017-05-08 17:45:40 +02:00
uio_usbdebug
vgabios
viatool
xcompile xcompile: replace -print-librt-file-name with -print-libgcc-file-name 2017-05-16 10:52:37 +02:00