diff options
author | Martin Roth <martinroth@google.com> | 2017-01-23 14:56:55 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-01-27 19:46:26 +0100 |
commit | 8556db35e0626d252af8aee30e2c9c597302664e (patch) | |
tree | 734428810ed28fd6f9886f3df5aa76fa0104a244 /payloads/external | |
parent | 20aa043b449dc68379f4b64c257a066e17fda4b8 (diff) |
SeaBIOS Kconfig: Update logging
The SeaBIOS and coreboot log levels don't really align, so setting the
SeaBIOS log level to the same as coreboot's isn't really what we want.
- Update default log level to use the default SeaBIOS log level.
- Update the current help text to match the new defaults.
- Add help text for what is displayed at various levels.
- Get rid of separate type & prompt lines.
- Add comments for default seabios level & logging disabled
Change-Id: I5a8b75bd44748cb94a83a77ac3a379c8a9587e7b
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/18210
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'payloads/external')
-rw-r--r-- | payloads/external/SeaBIOS/Kconfig | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/payloads/external/SeaBIOS/Kconfig b/payloads/external/SeaBIOS/Kconfig index 276f75de34..ae09cd2065 100644 --- a/payloads/external/SeaBIOS/Kconfig +++ b/payloads/external/SeaBIOS/Kconfig @@ -95,13 +95,32 @@ config PAYLOAD_VGABIOS_FILE default "payloads/external/SeaBIOS/seabios/out/vgabios.bin" config SEABIOS_DEBUG_LEVEL - prompt "SeaBIOS debug level (verbosity)" - default DEFAULT_CONSOLE_LOGLEVEL - int + int "SeaBIOS debug level (verbosity)" + default -1 help - The higher the number, the more verbose SeaBIOS will be. The range is - not well defined but the typical values range from 0 to about 9 inclusive - where 0 disables all output. Set this value to -1 to use SeaBIOS' default. + The higher the number, the more verbose SeaBIOS will be. See the table + below for the current values corresponding to various items as of SeaBIOS + version 1.10.1. Set this value to -1 to use SeaBIOS' default. + + Output at various SeaBIOS log levels: + level 0 - Logging disabled + level 1 - Basic output, interrupts 5, 18h, 19h, 40h, SMP, PNP, PMM + level 2 - AHCI, Floppy, Basic ps2, interrupts 11h, 12h, 14h, 17h + level 3 - bootsplash, initializations, SeaBIOS VGA BIOS interrupts + level 4 - bios tables, more optionrom + level 5 - Extra bootsplash, more XHCI + level 6 - ATA commands, extra optionrom + level 7 - extra ps2 commands, more OHCI & EHCI + level 8 - extra malloc info, more AHCI + level 9 - interrupts 15h, 16h, 1ah, APM, PCI, SMIs, PCIBIOS, + USB-HID commands, SDcard commands, Floppy commands + level 10 - interrupt 13h (Drives other than floppy) + level 20 - interrupt 10h (Display) + +comment "Using default SeaBIOS log level" + depends on SEABIOS_DEBUG_LEVEL = -1 + +comment "SeaBIOS logging disabled" + depends on SEABIOS_DEBUG_LEVEL = 0 - The default is to use coreboot's loglevel. endif |