Martin Roth (martinroth@google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18210
-gerrit
commit c2e21ff506b648cadbf11f5665cb710923d60be4 Author: Martin Roth martinroth@google.com Date: Mon Jan 23 14:56:55 2017 -0700
SeaBIOS Kconfig: Update logging
The SeaBIOS VGA ROM outputs interrupts at log level 3, leading to an extreme slowdown in boot speed.
- If SeaBIOS VGA is used, limit default log level to 2. - Add help text for what is displayed at various levels. - Get rid of separate type & prompt lines.
Change-Id: I5a8b75bd44748cb94a83a77ac3a379c8a9587e7b Signed-off-by: Martin Roth martinroth@google.com --- payloads/external/SeaBIOS/Kconfig | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/payloads/external/SeaBIOS/Kconfig b/payloads/external/SeaBIOS/Kconfig index 276f75d..51476d8 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)" + int "SeaBIOS debug level (verbosity)" + default 0 if SEABIOS_VGA_COREBOOT && (DEFAULT_CONSOLE_LOGLEVEL_0 || DEFAULT_CONSOLE_LOGLEVEL_1) + default 1 if SEABIOS_VGA_COREBOOT && (DEFAULT_CONSOLE_LOGLEVEL_2 || DEFAULT_CONSOLE_LOGLEVEL_3) + default 2 if SEABIOS_VGA_COREBOOT default DEFAULT_CONSOLE_LOGLEVEL - int 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 default is to use coreboot's loglevel. + The default is to use coreboot's loglevel unless using the SeaBIOS + VGA rom, where it defaults to 2 or below due to exessive logging + above that level. + + Output at various SeaBIOS log levels: + 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 - SeaBIOS VGA BIOS interrupts, bootsplash, initializations + 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) + endif