2011-01-05 03:27:53 +01:00
|
|
|
menu "Console"
|
2012-12-08 02:31:37 +01:00
|
|
|
|
2013-06-06 09:21:20 +02:00
|
|
|
config BOOTBLOCK_CONSOLE
|
|
|
|
bool "Enable early (bootblock) console output."
|
2013-06-19 22:42:00 +02:00
|
|
|
depends on ARCH_ARMV7
|
|
|
|
default n
|
2013-06-06 09:21:20 +02:00
|
|
|
help
|
|
|
|
Use console during the bootblock if supported
|
|
|
|
|
2013-02-06 14:24:12 +01:00
|
|
|
config EARLY_CONSOLE
|
|
|
|
bool "Enable early (pre-RAM) console output."
|
2013-07-31 19:52:04 +02:00
|
|
|
default y if CACHE_AS_RAM
|
2013-06-19 22:42:00 +02:00
|
|
|
default n
|
2013-01-01 02:28:43 +01:00
|
|
|
help
|
2013-02-06 14:24:12 +01:00
|
|
|
Use console during early (pre-RAM) boot stages
|
|
|
|
|
2013-08-12 22:29:57 +02:00
|
|
|
config SQUELCH_EARLY_SMP
|
|
|
|
bool "Squelch AP CPUs from early console."
|
|
|
|
default y
|
|
|
|
depends on EARLY_CONSOLE
|
|
|
|
help
|
|
|
|
When selected only the BSP CPU will output to early console.
|
|
|
|
|
|
|
|
Console drivers have unpredictable behaviour if multiple threads
|
|
|
|
attempt to share the same resources without a spinlock.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2013-02-06 14:24:12 +01:00
|
|
|
config CONSOLE_SERIAL
|
|
|
|
bool "Serial port console output"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Send coreboot debug output to a serial port (should be one or more of
|
|
|
|
CONSOLE_SERIAL8250, CONSOLE_SERIAL8250MEM, CONSOLE_SERIAL_UART)
|
2013-01-01 02:28:43 +01:00
|
|
|
|
2012-12-08 02:31:37 +01:00
|
|
|
config CONSOLE_SERIAL8250
|
|
|
|
bool "Serial port console output (I/O mapped, 8250-compatible)"
|
2013-02-06 14:24:12 +01:00
|
|
|
depends on CONSOLE_SERIAL
|
2011-04-27 01:47:04 +02:00
|
|
|
depends on HAVE_UART_IO_MAPPED
|
2009-08-12 17:00:51 +02:00
|
|
|
default y
|
2009-10-07 18:15:40 +02:00
|
|
|
help
|
2011-04-27 01:47:04 +02:00
|
|
|
Send coreboot debug output to an I/O mapped serial port console.
|
|
|
|
|
|
|
|
config CONSOLE_SERIAL8250MEM
|
2012-12-08 02:31:37 +01:00
|
|
|
bool "Serial port console output (memory mapped, 8250-compatible)"
|
2013-02-06 14:24:12 +01:00
|
|
|
depends on CONSOLE_SERIAL
|
2011-04-27 01:47:04 +02:00
|
|
|
depends on HAVE_UART_MEMORY_MAPPED
|
|
|
|
help
|
|
|
|
Send coreboot debug output to a memory mapped serial port console.
|
2009-08-12 17:00:51 +02:00
|
|
|
|
2013-02-06 14:24:12 +01:00
|
|
|
config CONSOLE_SERIAL_UART
|
|
|
|
bool "Serial port console output (device-specific UART)"
|
|
|
|
depends on CONSOLE_SERIAL
|
|
|
|
depends on HAVE_UART_SPECIAL
|
|
|
|
default y
|
2012-12-08 02:31:37 +01:00
|
|
|
help
|
2013-02-06 14:24:12 +01:00
|
|
|
Send coreboot debug output to a device-specific serial port console.
|
2012-12-08 02:31:37 +01:00
|
|
|
|
2009-10-17 00:39:55 +02:00
|
|
|
choice
|
2013-02-06 14:24:12 +01:00
|
|
|
prompt "Serial port for 8250"
|
2009-10-17 00:39:55 +02:00
|
|
|
default CONSOLE_SERIAL_COM1
|
|
|
|
depends on CONSOLE_SERIAL8250
|
|
|
|
|
|
|
|
config CONSOLE_SERIAL_COM1
|
2009-10-27 00:52:34 +01:00
|
|
|
bool "COM1/ttyS0, I/O port 0x3f8"
|
2009-10-17 00:39:55 +02:00
|
|
|
help
|
2009-10-27 00:52:34 +01:00
|
|
|
Serial console on COM1/ttyS0 at I/O port 0x3f8.
|
2009-10-17 00:39:55 +02:00
|
|
|
config CONSOLE_SERIAL_COM2
|
2009-10-27 00:52:34 +01:00
|
|
|
bool "COM2/ttyS1, I/O port 0x2f8"
|
2009-10-17 00:39:55 +02:00
|
|
|
help
|
2009-10-27 00:52:34 +01:00
|
|
|
Serial console on COM2/ttyS1 at I/O port 0x2f8.
|
2009-10-17 00:39:55 +02:00
|
|
|
config CONSOLE_SERIAL_COM3
|
2009-10-27 00:52:34 +01:00
|
|
|
bool "COM3/ttyS2, I/O port 0x3e8"
|
2009-10-17 00:39:55 +02:00
|
|
|
help
|
2009-10-27 00:52:34 +01:00
|
|
|
Serial console on COM3/ttyS2 at I/O port 0x3e8.
|
2009-10-17 00:39:55 +02:00
|
|
|
config CONSOLE_SERIAL_COM4
|
2009-10-27 00:52:34 +01:00
|
|
|
bool "COM4/ttyS3, I/O port 0x2e8"
|
2009-10-17 00:39:55 +02:00
|
|
|
help
|
2009-10-27 00:52:34 +01:00
|
|
|
Serial console on COM4/ttyS3 at I/O port 0x2e8.
|
2009-10-17 00:39:55 +02:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2009-08-12 17:00:51 +02:00
|
|
|
config TTYS0_BASE
|
2009-10-17 00:39:55 +02:00
|
|
|
hex
|
2009-09-25 19:24:08 +02:00
|
|
|
depends on CONSOLE_SERIAL8250
|
2009-10-17 00:39:55 +02:00
|
|
|
default 0x3f8 if CONSOLE_SERIAL_COM1
|
|
|
|
default 0x2f8 if CONSOLE_SERIAL_COM2
|
|
|
|
default 0x3e8 if CONSOLE_SERIAL_COM3
|
|
|
|
default 0x2e8 if CONSOLE_SERIAL_COM4
|
|
|
|
help
|
|
|
|
Map the COM port names to the respective I/O port.
|
2009-08-12 17:00:51 +02:00
|
|
|
|
2009-10-17 00:39:55 +02:00
|
|
|
choice
|
2009-10-27 00:52:34 +01:00
|
|
|
prompt "Baud rate"
|
2009-10-17 00:39:55 +02:00
|
|
|
default CONSOLE_SERIAL_115200
|
2013-02-06 14:24:12 +01:00
|
|
|
depends on CONSOLE_SERIAL
|
2009-10-17 00:39:55 +02:00
|
|
|
|
|
|
|
config CONSOLE_SERIAL_115200
|
|
|
|
bool "115200"
|
|
|
|
help
|
2009-10-27 00:52:34 +01:00
|
|
|
Set serial port Baud rate to 115200.
|
2009-10-17 00:39:55 +02:00
|
|
|
config CONSOLE_SERIAL_57600
|
|
|
|
bool "57600"
|
|
|
|
help
|
2009-10-27 00:52:34 +01:00
|
|
|
Set serial port Baud rate to 57600.
|
2009-10-17 00:39:55 +02:00
|
|
|
config CONSOLE_SERIAL_38400
|
|
|
|
bool "38400"
|
|
|
|
help
|
2009-10-27 00:52:34 +01:00
|
|
|
Set serial port Baud rate to 38400.
|
2009-10-17 00:39:55 +02:00
|
|
|
config CONSOLE_SERIAL_19200
|
|
|
|
bool "19200"
|
|
|
|
help
|
2009-10-27 00:52:34 +01:00
|
|
|
Set serial port Baud rate to 19200.
|
2009-10-17 00:39:55 +02:00
|
|
|
config CONSOLE_SERIAL_9600
|
|
|
|
bool "9600"
|
|
|
|
help
|
2009-10-27 00:52:34 +01:00
|
|
|
Set serial port Baud rate to 9600.
|
2009-10-17 00:39:55 +02:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2012-12-08 02:31:37 +01:00
|
|
|
#FIXME(dhendrix): Change name to SERIAL_BAUD? (Stefan sayz: yes!!)
|
2009-10-17 00:39:55 +02:00
|
|
|
config TTYS0_BAUD
|
|
|
|
int
|
|
|
|
default 115200 if CONSOLE_SERIAL_115200
|
|
|
|
default 57600 if CONSOLE_SERIAL_57600
|
|
|
|
default 38400 if CONSOLE_SERIAL_38400
|
|
|
|
default 19200 if CONSOLE_SERIAL_19200
|
|
|
|
default 9600 if CONSOLE_SERIAL_9600
|
|
|
|
help
|
2009-10-27 00:52:34 +01:00
|
|
|
Map the Baud rates to an integer.
|
2009-08-12 17:00:51 +02:00
|
|
|
|
2009-10-07 18:15:40 +02:00
|
|
|
# TODO: Allow user-friendly selection of settings other than 8n1.
|
2009-10-06 22:48:07 +02:00
|
|
|
config TTYS0_LCS
|
|
|
|
int
|
|
|
|
default 3
|
2011-04-27 01:47:04 +02:00
|
|
|
depends on CONSOLE_SERIAL8250 || CONSOLE_SERIAL8250MEM
|
2009-10-06 22:48:07 +02:00
|
|
|
|
2013-03-30 02:02:13 +01:00
|
|
|
config SPKMODEM
|
|
|
|
bool "spkmodem (console on speaker) console output"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Send coreboot debug output through speaker
|
|
|
|
|
2010-09-26 09:35:55 +02:00
|
|
|
# Use "select HAVE_USBDEBUG" on southbridges which have Debug Port code.
|
|
|
|
config HAVE_USBDEBUG
|
2013-08-15 15:27:06 +02:00
|
|
|
bool
|
|
|
|
default y if HAVE_USBDEBUG_OPTIONS
|
|
|
|
default n
|
|
|
|
|
|
|
|
# Use "select HAVE_USBDEBUG_OPTIONS" on southbridges with multiple
|
|
|
|
# EHCI controllers or multiple ports with Debug Port capability
|
|
|
|
config HAVE_USBDEBUG_OPTIONS
|
2010-09-26 09:35:55 +02:00
|
|
|
def_bool n
|
|
|
|
|
2010-05-25 19:09:05 +02:00
|
|
|
config USBDEBUG
|
2009-10-07 18:15:40 +02:00
|
|
|
bool "USB 2.0 EHCI debug dongle support"
|
2009-08-12 17:00:51 +02:00
|
|
|
default n
|
2010-09-26 09:35:55 +02:00
|
|
|
depends on HAVE_USBDEBUG
|
2009-10-07 18:15:40 +02:00
|
|
|
help
|
|
|
|
This option allows you to use a so-called USB EHCI Debug device
|
2010-09-26 09:35:55 +02:00
|
|
|
(such as the Ajays NET20DC, AMIDebug RX, or a system using the
|
|
|
|
Linux "EHCI Debug Device gadget" driver found in recent kernel)
|
2009-10-07 18:15:40 +02:00
|
|
|
to retrieve the coreboot debug messages (instead, or in addition
|
|
|
|
to, a serial port).
|
|
|
|
|
|
|
|
This feature is NOT supported on all chipsets in coreboot!
|
|
|
|
|
|
|
|
It also requires a USB2 controller which supports the EHCI
|
2010-09-26 09:35:55 +02:00
|
|
|
Debug Port capability.
|
|
|
|
|
|
|
|
See http://www.coreboot.org/EHCI_Debug_Port for an up-to-date list
|
|
|
|
of supported controllers.
|
|
|
|
|
|
|
|
If unsure, say N.
|
2009-08-12 17:00:51 +02:00
|
|
|
|
2013-10-11 20:14:59 +02:00
|
|
|
config USBDEBUG_IN_ROMSTAGE
|
|
|
|
bool
|
|
|
|
default y if USBDEBUG && EARLY_CBMEM_INIT && EARLY_CONSOLE
|
|
|
|
default n
|
|
|
|
|
2013-08-23 22:33:16 +02:00
|
|
|
if USBDEBUG
|
|
|
|
|
2013-08-15 15:27:06 +02:00
|
|
|
config USBDEBUG_HCD_INDEX
|
|
|
|
int "Index for EHCI controller to use with usbdebug"
|
|
|
|
default 0
|
|
|
|
help
|
|
|
|
Some boards have multiple EHCI controllers with possibly only
|
|
|
|
one having the Debug Port capability on an external USB port.
|
|
|
|
|
|
|
|
Mapping of this index to PCI device functions is southbridge
|
|
|
|
specific and mainboard level Kconfig should already provide
|
|
|
|
a working default value here.
|
|
|
|
|
2010-09-27 20:03:18 +02:00
|
|
|
config USBDEBUG_DEFAULT_PORT
|
|
|
|
int "Default USB port to use as Debug Port"
|
2013-08-12 19:40:37 +02:00
|
|
|
default 0
|
2010-09-27 20:03:18 +02:00
|
|
|
help
|
2013-08-12 19:40:37 +02:00
|
|
|
Selects which physical USB port usbdebug dongle is connected to.
|
|
|
|
Setting of 0 means to scan possible ports starting from 1.
|
2010-09-27 20:03:18 +02:00
|
|
|
|
2013-08-12 19:40:37 +02:00
|
|
|
Intel platforms have hardwired the debug port location and this
|
|
|
|
setting makes no difference there.
|
2010-09-27 20:03:18 +02:00
|
|
|
|
|
|
|
Hence, if you select the correct port here, you can speed up
|
2013-08-12 19:40:37 +02:00
|
|
|
your boot time. Which USB port number refers to which actual
|
|
|
|
port on your mainboard (potentially also USB pin headers on
|
|
|
|
your mainboard) is highly board-specific, and you'll likely
|
2010-09-27 20:03:18 +02:00
|
|
|
have to find out by trial-and-error.
|
|
|
|
|
2013-08-23 22:33:16 +02:00
|
|
|
choice
|
|
|
|
prompt "Type of dongle"
|
|
|
|
default USBDEBUG_DONGLE_STD
|
|
|
|
|
|
|
|
config USBDEBUG_DONGLE_STD
|
|
|
|
bool "Net20DC or compatible"
|
|
|
|
|
|
|
|
config USBDEBUG_DONGLE_BEAGLEBONE
|
|
|
|
bool "BeagleBone"
|
|
|
|
help
|
|
|
|
Use this to configure the USB hub on BeagleBone board.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config USBDEBUG_OPTIONAL_HUB_PORT
|
|
|
|
int
|
|
|
|
default 2 if USBDEBUG_DONGLE_BEAGLEBONE
|
|
|
|
default 0
|
|
|
|
|
|
|
|
endif # USBDEBUG
|
|
|
|
|
2009-10-07 18:15:40 +02:00
|
|
|
# TODO: Deps?
|
|
|
|
# TODO: Improve description.
|
2010-11-22 09:09:50 +01:00
|
|
|
config ONBOARD_VGA_IS_PRIMARY
|
2009-10-07 18:15:40 +02:00
|
|
|
bool "Use onboard VGA as primary video device"
|
2009-09-22 20:49:08 +02:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
If not selected, the last adapter found will be used.
|
|
|
|
|
2010-07-16 22:02:09 +02:00
|
|
|
config CONSOLE_NE2K
|
|
|
|
bool "Network console over NE2000 compatible Ethernet adapter"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Send coreboot debug output to a Ethernet console, it works
|
|
|
|
same way as Linux netconsole, packets are received to UDP
|
|
|
|
port 6666 on IP/MAC specified with options bellow.
|
|
|
|
Use following netcat command: nc -u -l -p 6666
|
|
|
|
|
|
|
|
config CONSOLE_NE2K_DST_MAC
|
|
|
|
depends on CONSOLE_NE2K
|
|
|
|
string "Destination MAC address of remote system"
|
|
|
|
default "00:13:d4:76:a2:ac"
|
|
|
|
help
|
|
|
|
Type in either MAC address of logging system or MAC address
|
|
|
|
of the router.
|
|
|
|
|
|
|
|
config CONSOLE_NE2K_DST_IP
|
|
|
|
depends on CONSOLE_NE2K
|
|
|
|
string "Destination IP of logging system"
|
|
|
|
default "10.0.1.27"
|
|
|
|
help
|
|
|
|
This is IP adress of the system running for example
|
|
|
|
netcat command to dump the packets.
|
|
|
|
|
|
|
|
config CONSOLE_NE2K_SRC_IP
|
|
|
|
depends on CONSOLE_NE2K
|
2010-09-23 20:29:40 +02:00
|
|
|
string "IP address of coreboot system"
|
2010-07-16 22:02:09 +02:00
|
|
|
default "10.0.1.253"
|
|
|
|
help
|
2010-09-23 20:29:40 +02:00
|
|
|
This is the IP of the coreboot system
|
2010-07-16 22:02:09 +02:00
|
|
|
|
|
|
|
config CONSOLE_NE2K_IO_PORT
|
|
|
|
depends on CONSOLE_NE2K
|
|
|
|
hex "NE2000 adapter fixed IO port address"
|
|
|
|
default 0xe00
|
|
|
|
help
|
|
|
|
This is the IO port address for the IO port
|
|
|
|
on the card, please select some non-conflicting region,
|
|
|
|
32 bytes of IO spaces will be used (and align on 32 bytes
|
|
|
|
boundary, qemu needs broader align)
|
|
|
|
|
2011-09-28 22:51:30 +02:00
|
|
|
config CONSOLE_CBMEM
|
|
|
|
bool "Send console output to a CBMEM buffer"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable this to save the console output in a CBMEM buffer. This would
|
|
|
|
allow to see coreboot console output from Linux space.
|
|
|
|
|
|
|
|
config CONSOLE_CBMEM_BUFFER_SIZE
|
|
|
|
depends on CONSOLE_CBMEM
|
|
|
|
hex "Room allocated for console output in CBMEM"
|
2011-10-05 01:21:17 +02:00
|
|
|
default 0x10000
|
2011-09-28 22:51:30 +02:00
|
|
|
help
|
|
|
|
Space allocated for console output storage in CBMEM. The default
|
2011-10-05 01:21:17 +02:00
|
|
|
value (64K or 0x10000 bytes) is large enough to accommodate
|
2011-09-28 22:51:30 +02:00
|
|
|
even the BIOS_SPEW level.
|
|
|
|
|
|
|
|
config CONSOLE_CAR_BUFFER_SIZE
|
|
|
|
depends on CONSOLE_CBMEM
|
2011-10-05 01:21:17 +02:00
|
|
|
hex "Room allocated for console output in Cache as RAM"
|
2011-09-28 22:51:30 +02:00
|
|
|
default 0xc00
|
|
|
|
help
|
|
|
|
Console is used before RAM is initialized. This is the room reserved
|
|
|
|
in the DCACHE based RAM to keep console output before it can be
|
|
|
|
saved in a CBMEM buffer. 3K bytes should be enough even for the
|
|
|
|
BIOS_SPEW level.
|
2013-05-29 13:06:22 +02:00
|
|
|
|
2013-05-30 10:32:31 +02:00
|
|
|
config CONSOLE_QEMU_DEBUGCON
|
2013-05-29 13:06:22 +02:00
|
|
|
bool "QEMU debug console output"
|
|
|
|
depends on BOARD_EMULATION_QEMU_X86
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Send coreboot debug output to QEMU's isa-debugcon device:
|
|
|
|
|
|
|
|
qemu-system-x86_64 \
|
|
|
|
-chardev file,id=debugcon,path=/dir/file.log \
|
|
|
|
-device isa-debugcon,iobase=0x402,chardev=debugcon
|
|
|
|
|
2013-05-30 10:32:31 +02:00
|
|
|
config CONSOLE_QEMU_DEBUGCON_PORT
|
2013-05-29 13:06:22 +02:00
|
|
|
hex "QEMU debug console port"
|
2013-05-30 10:32:31 +02:00
|
|
|
depends on CONSOLE_QEMU_DEBUGCON
|
2013-05-29 13:06:22 +02:00
|
|
|
default 0x402
|
|
|
|
|
2009-10-11 15:35:24 +02:00
|
|
|
choice
|
2009-10-16 21:29:45 +02:00
|
|
|
prompt "Default console log level"
|
|
|
|
default DEFAULT_CONSOLE_LOGLEVEL_8
|
2009-10-11 15:35:24 +02:00
|
|
|
|
|
|
|
config DEFAULT_CONSOLE_LOGLEVEL_8
|
2009-10-16 21:29:45 +02:00
|
|
|
bool "8: SPEW"
|
|
|
|
help
|
|
|
|
Way too many details.
|
2009-10-11 15:35:24 +02:00
|
|
|
config DEFAULT_CONSOLE_LOGLEVEL_7
|
2009-10-16 21:29:45 +02:00
|
|
|
bool "7: DEBUG"
|
|
|
|
help
|
|
|
|
Debug-level messages.
|
2009-10-11 15:35:24 +02:00
|
|
|
config DEFAULT_CONSOLE_LOGLEVEL_6
|
2009-10-16 21:29:45 +02:00
|
|
|
bool "6: INFO"
|
|
|
|
help
|
|
|
|
Informational messages.
|
2009-10-11 15:35:24 +02:00
|
|
|
config DEFAULT_CONSOLE_LOGLEVEL_5
|
2009-10-16 21:29:45 +02:00
|
|
|
bool "5: NOTICE"
|
|
|
|
help
|
|
|
|
Normal but significant conditions.
|
2009-10-11 15:35:24 +02:00
|
|
|
config DEFAULT_CONSOLE_LOGLEVEL_4
|
2009-10-16 21:29:45 +02:00
|
|
|
bool "4: WARNING"
|
|
|
|
help
|
|
|
|
Warning conditions.
|
2009-10-11 15:35:24 +02:00
|
|
|
config DEFAULT_CONSOLE_LOGLEVEL_3
|
2009-10-16 21:29:45 +02:00
|
|
|
bool "3: ERR"
|
|
|
|
help
|
|
|
|
Error conditions.
|
2009-10-11 15:35:24 +02:00
|
|
|
config DEFAULT_CONSOLE_LOGLEVEL_2
|
2009-10-16 21:29:45 +02:00
|
|
|
bool "2: CRIT"
|
|
|
|
help
|
|
|
|
Critical conditions.
|
2009-10-11 15:35:24 +02:00
|
|
|
config DEFAULT_CONSOLE_LOGLEVEL_1
|
2009-10-16 21:29:45 +02:00
|
|
|
bool "1: ALERT"
|
|
|
|
help
|
|
|
|
Action must be taken immediately.
|
2009-10-11 15:35:24 +02:00
|
|
|
config DEFAULT_CONSOLE_LOGLEVEL_0
|
2009-10-16 21:29:45 +02:00
|
|
|
bool "0: EMERG"
|
|
|
|
help
|
|
|
|
System is unusable.
|
2009-10-11 15:35:24 +02:00
|
|
|
|
|
|
|
endchoice
|
2009-08-12 17:00:51 +02:00
|
|
|
|
|
|
|
config DEFAULT_CONSOLE_LOGLEVEL
|
2009-10-11 15:35:24 +02:00
|
|
|
int
|
|
|
|
default 0 if DEFAULT_CONSOLE_LOGLEVEL_0
|
|
|
|
default 1 if DEFAULT_CONSOLE_LOGLEVEL_1
|
|
|
|
default 2 if DEFAULT_CONSOLE_LOGLEVEL_2
|
|
|
|
default 3 if DEFAULT_CONSOLE_LOGLEVEL_3
|
|
|
|
default 4 if DEFAULT_CONSOLE_LOGLEVEL_4
|
|
|
|
default 5 if DEFAULT_CONSOLE_LOGLEVEL_5
|
|
|
|
default 6 if DEFAULT_CONSOLE_LOGLEVEL_6
|
|
|
|
default 7 if DEFAULT_CONSOLE_LOGLEVEL_7
|
|
|
|
default 8 if DEFAULT_CONSOLE_LOGLEVEL_8
|
|
|
|
help
|
|
|
|
Map the log level config names to an integer.
|
2009-08-12 17:00:51 +02:00
|
|
|
|
2010-03-30 11:57:28 +02:00
|
|
|
config NO_POST
|
|
|
|
bool "Don't show any POST codes"
|
|
|
|
default n
|
|
|
|
|
2011-09-18 22:54:51 +02:00
|
|
|
|
2011-01-28 08:47:35 +01:00
|
|
|
config CONSOLE_POST
|
|
|
|
bool "Show POST codes on the debug console"
|
|
|
|
depends on !NO_POST
|
2010-03-30 11:57:28 +02:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
If enabled, coreboot will additionally print POST codes (which are
|
|
|
|
usually displayed using a so-called "POST card" ISA/PCI/PCI-E
|
2011-01-28 08:47:35 +01:00
|
|
|
device) on the debug console.
|
2010-03-30 11:57:28 +02:00
|
|
|
|
2012-09-10 04:09:56 +02:00
|
|
|
config CMOS_POST
|
|
|
|
bool "Store post codes in CMOS for debugging"
|
2012-12-06 23:25:27 +01:00
|
|
|
depends on !NO_POST && PC80_SYSTEM
|
2012-09-10 04:09:56 +02:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
If enabled, coreboot will store post codes in CMOS and switch between
|
|
|
|
two offsets on each boot so the last post code in the previous boot
|
|
|
|
can be retrieved. This uses 3 bytes of CMOS.
|
|
|
|
|
|
|
|
config CMOS_POST_OFFSET
|
|
|
|
hex "Offset into CMOS to store POST codes"
|
|
|
|
depends on CMOS_POST
|
|
|
|
default 0
|
|
|
|
help
|
|
|
|
If CMOS_POST is enabled then an offset into CMOS must be provided.
|
|
|
|
If CONFIG_HAVE_OPTION_TABLE is enabled then it will use the value
|
|
|
|
defined in the mainboard option table.
|
|
|
|
|
2013-06-10 19:21:41 +02:00
|
|
|
config CMOS_POST_EXTRA
|
|
|
|
bool "Store extra logging info into CMOS"
|
|
|
|
depends on CMOS_POST
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This will enable extra logging of work that happens between post
|
|
|
|
codes into CMOS for debug. This uses an additional 8 bytes of CMOS.
|
|
|
|
|
2012-11-05 21:34:09 +01:00
|
|
|
config IO_POST
|
|
|
|
bool "Send POST codes to an IO port"
|
2012-12-06 23:25:27 +01:00
|
|
|
depends on PC80_SYSTEM
|
2012-11-05 21:34:09 +01:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
If enabled, POST codes will be written to an IO port.
|
2010-03-30 11:57:28 +02:00
|
|
|
|
2012-11-05 21:34:09 +01:00
|
|
|
config IO_POST_PORT
|
|
|
|
depends on IO_POST
|
|
|
|
hex "IO port for POST codes"
|
|
|
|
default 0x80
|
|
|
|
help
|
|
|
|
POST codes on x86 are typically written to the LPC bus on port
|
|
|
|
0x80. However, it may be desireable to change the port number
|
|
|
|
depending on the presence of coprocessors/microcontrollers or if the
|
|
|
|
platform does not support IO in the conventional x86 manner.
|
|
|
|
|
|
|
|
endmenu
|