2 # TODO: Rename to SERIAL_CONSOLE once Kconfig transition is complete.
3 config CONSOLE_SERIAL8250
4 bool "Serial port console output"
7 Send coreboot debug output to a serial port console.
11 default CONSOLE_SERIAL_COM1
12 depends on CONSOLE_SERIAL8250
14 config CONSOLE_SERIAL_COM1
15 bool "COM1/ttyS0, I/O port 0x3f8"
17 Serial console on COM1/ttyS0 at I/O port 0x3f8.
18 config CONSOLE_SERIAL_COM2
19 bool "COM2/ttyS1, I/O port 0x2f8"
21 Serial console on COM2/ttyS1 at I/O port 0x2f8.
22 config CONSOLE_SERIAL_COM3
23 bool "COM3/ttyS2, I/O port 0x3e8"
25 Serial console on COM3/ttyS2 at I/O port 0x3e8.
26 config CONSOLE_SERIAL_COM4
27 bool "COM4/ttyS3, I/O port 0x2e8"
29 Serial console on COM4/ttyS3 at I/O port 0x2e8.
35 depends on CONSOLE_SERIAL8250
36 default 0x3f8 if CONSOLE_SERIAL_COM1
37 default 0x2f8 if CONSOLE_SERIAL_COM2
38 default 0x3e8 if CONSOLE_SERIAL_COM3
39 default 0x2e8 if CONSOLE_SERIAL_COM4
41 Map the COM port names to the respective I/O port.
45 default CONSOLE_SERIAL_115200
46 depends on CONSOLE_SERIAL8250
48 config CONSOLE_SERIAL_115200
51 Set serial port Baud rate to 115200.
52 config CONSOLE_SERIAL_57600
55 Set serial port Baud rate to 57600.
56 config CONSOLE_SERIAL_38400
59 Set serial port Baud rate to 38400.
60 config CONSOLE_SERIAL_19200
63 Set serial port Baud rate to 19200.
64 config CONSOLE_SERIAL_9600
67 Set serial port Baud rate to 9600.
73 default 115200 if CONSOLE_SERIAL_115200
74 default 57600 if CONSOLE_SERIAL_57600
75 default 38400 if CONSOLE_SERIAL_38400
76 default 19200 if CONSOLE_SERIAL_19200
77 default 9600 if CONSOLE_SERIAL_9600
79 Map the Baud rates to an integer.
81 # TODO: Allow user-friendly selection of settings other than 8n1.
85 depends on CONSOLE_SERIAL8250
87 # Use "select HAVE_USBDEBUG" on southbridges which have Debug Port code.
95 bool "USB 2.0 EHCI debug dongle support"
97 depends on HAVE_USBDEBUG
99 This option allows you to use a so-called USB EHCI Debug device
100 (such as the Ajays NET20DC, AMIDebug RX, or a system using the
101 Linux "EHCI Debug Device gadget" driver found in recent kernel)
102 to retrieve the coreboot debug messages (instead, or in addition
105 This feature is NOT supported on all chipsets in coreboot!
107 It also requires a USB2 controller which supports the EHCI
108 Debug Port capability.
110 See http://www.coreboot.org/EHCI_Debug_Port for an up-to-date list
111 of supported controllers.
115 # Note: This option doesn't make sense on Intel ICH / AMD SB600 southbridges
116 # as those hardcode the physical USB port to be used as Debug Port to 1.
117 # It cannot be changed by coreboot.
118 config USBDEBUG_DEFAULT_PORT
119 int "Default USB port to use as Debug Port"
121 depends on USBDEBUG && !SOUTHBRIDGE_INTEL_I82801GX && !SOUTHBRIDGE_AMD_SB600
123 This option selects which physical USB port coreboot will try to
124 use as EHCI Debug Port first (valid values are: 1-15).
126 If coreboot doesn't detect an EHCI Debug Port dongle on this port,
127 it will try all the other ports one after the other. This will take
128 a few seconds of time though, and thus slow down the booting process.
130 Hence, if you select the correct port here, you can speed up
131 your boot time. Which USB port number (1-15) refers to which
132 actual port on your mainboard (potentially also USB pin headers
133 on your mainboard) is highly board-specific, and you'll likely
134 have to find out by trial-and-error.
137 # TODO: Improve description.
138 config ONBOARD_VGA_IS_PRIMARY
139 bool "Use onboard VGA as primary video device"
142 If not selected, the last adapter found will be used.
145 bool "Network console over NE2000 compatible Ethernet adapter"
148 Send coreboot debug output to a Ethernet console, it works
149 same way as Linux netconsole, packets are received to UDP
150 port 6666 on IP/MAC specified with options bellow.
151 Use following netcat command: nc -u -l -p 6666
153 config CONSOLE_NE2K_DST_MAC
154 depends on CONSOLE_NE2K
155 string "Destination MAC address of remote system"
156 default "00:13:d4:76:a2:ac"
158 Type in either MAC address of logging system or MAC address
161 config CONSOLE_NE2K_DST_IP
162 depends on CONSOLE_NE2K
163 string "Destination IP of logging system"
166 This is IP adress of the system running for example
167 netcat command to dump the packets.
169 config CONSOLE_NE2K_SRC_IP
170 depends on CONSOLE_NE2K
171 string "IP address of coreboot system"
174 This is the IP of the coreboot system
176 config CONSOLE_NE2K_IO_PORT
177 depends on CONSOLE_NE2K
178 hex "NE2000 adapter fixed IO port address"
181 This is the IO port address for the IO port
182 on the card, please select some non-conflicting region,
183 32 bytes of IO spaces will be used (and align on 32 bytes
184 boundary, qemu needs broader align)
188 prompt "Maximum console log level"
189 default MAXIMUM_CONSOLE_LOGLEVEL_8
191 config MAXIMUM_CONSOLE_LOGLEVEL_8
194 Way too many details.
195 config MAXIMUM_CONSOLE_LOGLEVEL_7
198 Debug-level messages.
199 config MAXIMUM_CONSOLE_LOGLEVEL_6
202 Informational messages.
203 config MAXIMUM_CONSOLE_LOGLEVEL_5
206 Normal but significant conditions.
207 config MAXIMUM_CONSOLE_LOGLEVEL_4
211 config MAXIMUM_CONSOLE_LOGLEVEL_3
215 config MAXIMUM_CONSOLE_LOGLEVEL_2
219 config MAXIMUM_CONSOLE_LOGLEVEL_1
222 Action must be taken immediately.
223 config MAXIMUM_CONSOLE_LOGLEVEL_0
230 config MAXIMUM_CONSOLE_LOGLEVEL
232 default 0 if MAXIMUM_CONSOLE_LOGLEVEL_0
233 default 1 if MAXIMUM_CONSOLE_LOGLEVEL_1
234 default 2 if MAXIMUM_CONSOLE_LOGLEVEL_2
235 default 3 if MAXIMUM_CONSOLE_LOGLEVEL_3
236 default 4 if MAXIMUM_CONSOLE_LOGLEVEL_4
237 default 5 if MAXIMUM_CONSOLE_LOGLEVEL_5
238 default 6 if MAXIMUM_CONSOLE_LOGLEVEL_6
239 default 7 if MAXIMUM_CONSOLE_LOGLEVEL_7
240 default 8 if MAXIMUM_CONSOLE_LOGLEVEL_8
242 Map the log level config names to an integer.
245 prompt "Default console log level"
246 default DEFAULT_CONSOLE_LOGLEVEL_8
248 config DEFAULT_CONSOLE_LOGLEVEL_8
250 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8)
252 Way too many details.
253 config DEFAULT_CONSOLE_LOGLEVEL_7
255 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7)
257 Debug-level messages.
258 config DEFAULT_CONSOLE_LOGLEVEL_6
260 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
261 MAXIMUM_CONSOLE_LOGLEVEL_6)
263 Informational messages.
264 config DEFAULT_CONSOLE_LOGLEVEL_5
266 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
267 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5)
269 Normal but significant conditions.
270 config DEFAULT_CONSOLE_LOGLEVEL_4
272 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
273 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
274 MAXIMUM_CONSOLE_LOGLEVEL_4)
277 config DEFAULT_CONSOLE_LOGLEVEL_3
279 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
280 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
281 MAXIMUM_CONSOLE_LOGLEVEL_4 || MAXIMUM_CONSOLE_LOGLEVEL_3)
284 config DEFAULT_CONSOLE_LOGLEVEL_2
286 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
287 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
288 MAXIMUM_CONSOLE_LOGLEVEL_4 || MAXIMUM_CONSOLE_LOGLEVEL_3 ||\
289 MAXIMUM_CONSOLE_LOGLEVEL_2)
292 config DEFAULT_CONSOLE_LOGLEVEL_1
294 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
295 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
296 MAXIMUM_CONSOLE_LOGLEVEL_4 || MAXIMUM_CONSOLE_LOGLEVEL_3 ||\
297 MAXIMUM_CONSOLE_LOGLEVEL_2 || MAXIMUM_CONSOLE_LOGLEVEL_1)
299 Action must be taken immediately.
300 config DEFAULT_CONSOLE_LOGLEVEL_0
307 config DEFAULT_CONSOLE_LOGLEVEL
309 default 0 if DEFAULT_CONSOLE_LOGLEVEL_0
310 default 1 if DEFAULT_CONSOLE_LOGLEVEL_1
311 default 2 if DEFAULT_CONSOLE_LOGLEVEL_2
312 default 3 if DEFAULT_CONSOLE_LOGLEVEL_3
313 default 4 if DEFAULT_CONSOLE_LOGLEVEL_4
314 default 5 if DEFAULT_CONSOLE_LOGLEVEL_5
315 default 6 if DEFAULT_CONSOLE_LOGLEVEL_6
316 default 7 if DEFAULT_CONSOLE_LOGLEVEL_7
317 default 8 if DEFAULT_CONSOLE_LOGLEVEL_8
319 Map the log level config names to an integer.
321 config CONSOLE_LOGBUF
326 bool "Don't show any POST codes"
330 bool "Show POST codes on the debug console"
334 If enabled, coreboot will additionally print POST codes (which are
335 usually displayed using a so-called "POST card" ISA/PCI/PCI-E
336 device) on the debug console.