3 # TODO: Rename to SERIAL_CONSOLE once Kconfig transition is complete.
4 config CONSOLE_SERIAL8250
5 bool "Enable serial port console output"
8 Send coreboot debug output to a serial port console.
10 # TODO: COM1, COM2 etc.
12 hex "I/O base for the serial port"
13 depends on CONSOLE_SERIAL8250
17 int "Serial port BAUD rate"
18 depends on CONSOLE_SERIAL8250
21 # TODO: Allow user-friendly selection of settings other than 8n1.
25 depends on CONSOLE_SERIAL8250
28 bool "Enable POST output on the serial port console"
29 depends on CONSOLE_SERIAL8250
32 If enabled, coreboot will additionally print POST codes (which are
33 usually displayed using a so-called "POST card" ISA/PCI/PCI-E
34 device) on the serial console.
36 # TODO: FIX DEPENDENCY HERE
37 config USBDEBUG_DIRECT
38 bool "USB 2.0 EHCI debug dongle support"
41 This option allows you to use a so-called USB EHCI Debug device
42 to retrieve the coreboot debug messages (instead, or in addition
45 This feature is NOT supported on all chipsets in coreboot!
47 It also requires a USB2 controller which supports the EHCI
48 Debug Port capability. Controllers which are known to work:
50 * 10b9:5239 ALi Corporation USB 2.0 (USB PCI card)
51 * 8086:24cd Intel ICH4/ICH4-M
52 * 8086:24dd Intel ICH5
53 * 8086:265c Intel ICH6
54 * 8086:268c Intel 631xESB/632xESB/3100
55 * 8086:27cc Intel ICH7
56 * 8086:2836 Intel ICH8
57 * 8086:283a Intel ICH8
58 * 8086:293a Intel ICH9
59 * 10de:0088 NVIDIA MCP2A
60 * 10de:005b NVIDIA CK804
61 * 10de:026e NVIDIA MCP51
62 * 10de:036d NVIDIA MCP55
63 * 10de:03f2 NVIDIA MCP61
64 * 1002:4386 ATI/AMD SB600
67 See http://www.coreboot.org/EHCI_Debug_Port for an up-to-date list.
70 bool "Use VGA console once initialized"
74 # TODO: Improve description.
75 config CONSOLE_VGA_ONBOARD_AT_FIRST
76 bool "Use onboard VGA as primary video device"
79 If not selected, the last adapter found will be used.
82 prompt "Maximum console log level"
83 default MAXIMUM_CONSOLE_LOGLEVEL_8
85 config MAXIMUM_CONSOLE_LOGLEVEL_8
89 config MAXIMUM_CONSOLE_LOGLEVEL_7
93 config MAXIMUM_CONSOLE_LOGLEVEL_6
96 Informational messages.
97 config MAXIMUM_CONSOLE_LOGLEVEL_5
100 Normal but significant conditions.
101 config MAXIMUM_CONSOLE_LOGLEVEL_4
105 config MAXIMUM_CONSOLE_LOGLEVEL_3
109 config MAXIMUM_CONSOLE_LOGLEVEL_2
113 config MAXIMUM_CONSOLE_LOGLEVEL_1
116 Action must be taken immediately.
117 config MAXIMUM_CONSOLE_LOGLEVEL_0
124 config MAXIMUM_CONSOLE_LOGLEVEL
126 default 0 if MAXIMUM_CONSOLE_LOGLEVEL_0
127 default 1 if MAXIMUM_CONSOLE_LOGLEVEL_1
128 default 2 if MAXIMUM_CONSOLE_LOGLEVEL_2
129 default 3 if MAXIMUM_CONSOLE_LOGLEVEL_3
130 default 4 if MAXIMUM_CONSOLE_LOGLEVEL_4
131 default 5 if MAXIMUM_CONSOLE_LOGLEVEL_5
132 default 6 if MAXIMUM_CONSOLE_LOGLEVEL_6
133 default 7 if MAXIMUM_CONSOLE_LOGLEVEL_7
134 default 8 if MAXIMUM_CONSOLE_LOGLEVEL_8
136 Map the log level config names to an integer.
139 prompt "Default console log level"
140 default DEFAULT_CONSOLE_LOGLEVEL_8
142 config DEFAULT_CONSOLE_LOGLEVEL_8
144 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8)
146 Way too many details.
147 config DEFAULT_CONSOLE_LOGLEVEL_7
149 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7)
151 Debug-level messages.
152 config DEFAULT_CONSOLE_LOGLEVEL_6
154 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
155 MAXIMUM_CONSOLE_LOGLEVEL_6)
157 Informational messages.
158 config DEFAULT_CONSOLE_LOGLEVEL_5
160 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
161 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5)
163 Normal but significant conditions.
164 config DEFAULT_CONSOLE_LOGLEVEL_4
166 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
167 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
168 MAXIMUM_CONSOLE_LOGLEVEL_4)
171 config DEFAULT_CONSOLE_LOGLEVEL_3
173 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
174 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
175 MAXIMUM_CONSOLE_LOGLEVEL_4 || MAXIMUM_CONSOLE_LOGLEVEL_3)
178 config DEFAULT_CONSOLE_LOGLEVEL_2
180 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
181 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
182 MAXIMUM_CONSOLE_LOGLEVEL_4 || MAXIMUM_CONSOLE_LOGLEVEL_3 ||\
183 MAXIMUM_CONSOLE_LOGLEVEL_2)
186 config DEFAULT_CONSOLE_LOGLEVEL_1
188 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
189 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
190 MAXIMUM_CONSOLE_LOGLEVEL_4 || MAXIMUM_CONSOLE_LOGLEVEL_3 ||\
191 MAXIMUM_CONSOLE_LOGLEVEL_2 || MAXIMUM_CONSOLE_LOGLEVEL_1)
193 Action must be taken immediately.
194 config DEFAULT_CONSOLE_LOGLEVEL_0
201 config DEFAULT_CONSOLE_LOGLEVEL
203 default 0 if DEFAULT_CONSOLE_LOGLEVEL_0
204 default 1 if DEFAULT_CONSOLE_LOGLEVEL_1
205 default 2 if DEFAULT_CONSOLE_LOGLEVEL_2
206 default 3 if DEFAULT_CONSOLE_LOGLEVEL_3
207 default 4 if DEFAULT_CONSOLE_LOGLEVEL_4
208 default 5 if DEFAULT_CONSOLE_LOGLEVEL_5
209 default 6 if DEFAULT_CONSOLE_LOGLEVEL_6
210 default 7 if DEFAULT_CONSOLE_LOGLEVEL_7
211 default 8 if DEFAULT_CONSOLE_LOGLEVEL_8
213 Map the log level config names to an integer.