2 # TODO: Rename to SERIAL_CONSOLE once Kconfig transition is complete.
3 config CONSOLE_SERIAL8250
4 bool "Serial port console output"
5 depends on HAVE_UART_IO_MAPPED
8 Send coreboot debug output to an I/O mapped serial port console.
10 config CONSOLE_SERIAL8250MEM
11 bool "Serial port console output (memory mapped)"
12 depends on HAVE_UART_MEMORY_MAPPED
14 Send coreboot debug output to a memory mapped serial port console.
18 default CONSOLE_SERIAL_COM1
19 depends on CONSOLE_SERIAL8250
21 config CONSOLE_SERIAL_COM1
22 bool "COM1/ttyS0, I/O port 0x3f8"
24 Serial console on COM1/ttyS0 at I/O port 0x3f8.
25 config CONSOLE_SERIAL_COM2
26 bool "COM2/ttyS1, I/O port 0x2f8"
28 Serial console on COM2/ttyS1 at I/O port 0x2f8.
29 config CONSOLE_SERIAL_COM3
30 bool "COM3/ttyS2, I/O port 0x3e8"
32 Serial console on COM3/ttyS2 at I/O port 0x3e8.
33 config CONSOLE_SERIAL_COM4
34 bool "COM4/ttyS3, I/O port 0x2e8"
36 Serial console on COM4/ttyS3 at I/O port 0x2e8.
42 depends on CONSOLE_SERIAL8250
43 default 0x3f8 if CONSOLE_SERIAL_COM1
44 default 0x2f8 if CONSOLE_SERIAL_COM2
45 default 0x3e8 if CONSOLE_SERIAL_COM3
46 default 0x2e8 if CONSOLE_SERIAL_COM4
48 Map the COM port names to the respective I/O port.
52 default CONSOLE_SERIAL_115200
53 depends on CONSOLE_SERIAL8250 || CONSOLE_SERIAL8250MEM
55 config CONSOLE_SERIAL_115200
58 Set serial port Baud rate to 115200.
59 config CONSOLE_SERIAL_57600
62 Set serial port Baud rate to 57600.
63 config CONSOLE_SERIAL_38400
66 Set serial port Baud rate to 38400.
67 config CONSOLE_SERIAL_19200
70 Set serial port Baud rate to 19200.
71 config CONSOLE_SERIAL_9600
74 Set serial port Baud rate to 9600.
80 default 115200 if CONSOLE_SERIAL_115200
81 default 57600 if CONSOLE_SERIAL_57600
82 default 38400 if CONSOLE_SERIAL_38400
83 default 19200 if CONSOLE_SERIAL_19200
84 default 9600 if CONSOLE_SERIAL_9600
86 Map the Baud rates to an integer.
88 # TODO: Allow user-friendly selection of settings other than 8n1.
92 depends on CONSOLE_SERIAL8250 || CONSOLE_SERIAL8250MEM
94 # Use "select HAVE_USBDEBUG" on southbridges which have Debug Port code.
102 bool "USB 2.0 EHCI debug dongle support"
104 depends on HAVE_USBDEBUG
106 This option allows you to use a so-called USB EHCI Debug device
107 (such as the Ajays NET20DC, AMIDebug RX, or a system using the
108 Linux "EHCI Debug Device gadget" driver found in recent kernel)
109 to retrieve the coreboot debug messages (instead, or in addition
112 This feature is NOT supported on all chipsets in coreboot!
114 It also requires a USB2 controller which supports the EHCI
115 Debug Port capability.
117 See http://www.coreboot.org/EHCI_Debug_Port for an up-to-date list
118 of supported controllers.
122 # Note: This option doesn't make sense on Intel ICH / AMD SB600 southbridges
123 # as those hardcode the physical USB port to be used as Debug Port to 1.
124 # It cannot be changed by coreboot.
125 config USBDEBUG_DEFAULT_PORT
126 int "Default USB port to use as Debug Port"
128 depends on USBDEBUG && !SOUTHBRIDGE_INTEL_I82801GX && !SOUTHBRIDGE_AMD_SB600
130 This option selects which physical USB port coreboot will try to
131 use as EHCI Debug Port first (valid values are: 1-15).
133 If coreboot doesn't detect an EHCI Debug Port dongle on this port,
134 it will try all the other ports one after the other. This will take
135 a few seconds of time though, and thus slow down the booting process.
137 Hence, if you select the correct port here, you can speed up
138 your boot time. Which USB port number (1-15) refers to which
139 actual port on your mainboard (potentially also USB pin headers
140 on your mainboard) is highly board-specific, and you'll likely
141 have to find out by trial-and-error.
144 # TODO: Improve description.
145 config ONBOARD_VGA_IS_PRIMARY
146 bool "Use onboard VGA as primary video device"
149 If not selected, the last adapter found will be used.
152 bool "Network console over NE2000 compatible Ethernet adapter"
155 Send coreboot debug output to a Ethernet console, it works
156 same way as Linux netconsole, packets are received to UDP
157 port 6666 on IP/MAC specified with options bellow.
158 Use following netcat command: nc -u -l -p 6666
160 config CONSOLE_NE2K_DST_MAC
161 depends on CONSOLE_NE2K
162 string "Destination MAC address of remote system"
163 default "00:13:d4:76:a2:ac"
165 Type in either MAC address of logging system or MAC address
168 config CONSOLE_NE2K_DST_IP
169 depends on CONSOLE_NE2K
170 string "Destination IP of logging system"
173 This is IP adress of the system running for example
174 netcat command to dump the packets.
176 config CONSOLE_NE2K_SRC_IP
177 depends on CONSOLE_NE2K
178 string "IP address of coreboot system"
181 This is the IP of the coreboot system
183 config CONSOLE_NE2K_IO_PORT
184 depends on CONSOLE_NE2K
185 hex "NE2000 adapter fixed IO port address"
188 This is the IO port address for the IO port
189 on the card, please select some non-conflicting region,
190 32 bytes of IO spaces will be used (and align on 32 bytes
191 boundary, qemu needs broader align)
194 depends on EARLY_CBMEM_INIT
195 bool "Send console output to a CBMEM buffer"
198 Enable this to save the console output in a CBMEM buffer. This would
199 allow to see coreboot console output from Linux space.
201 config CONSOLE_CBMEM_BUFFER_SIZE
202 depends on CONSOLE_CBMEM
203 hex "Room allocated for console output in CBMEM"
206 Space allocated for console output storage in CBMEM. The default
207 value (almost 45K or 0xaeoo bytes) is large enough to accommodate
208 even the BIOS_SPEW level.
210 config CONSOLE_CAR_BUFFER_SIZE
211 depends on CONSOLE_CBMEM
212 hex "Room allocated for console output in cash as RAM"
215 Console is used before RAM is initialized. This is the room reserved
216 in the DCACHE based RAM to keep console output before it can be
217 saved in a CBMEM buffer. 3K bytes should be enough even for the
222 prompt "Maximum console log level"
223 default MAXIMUM_CONSOLE_LOGLEVEL_8
225 config MAXIMUM_CONSOLE_LOGLEVEL_8
228 Way too many details.
229 config MAXIMUM_CONSOLE_LOGLEVEL_7
232 Debug-level messages.
233 config MAXIMUM_CONSOLE_LOGLEVEL_6
236 Informational messages.
237 config MAXIMUM_CONSOLE_LOGLEVEL_5
240 Normal but significant conditions.
241 config MAXIMUM_CONSOLE_LOGLEVEL_4
245 config MAXIMUM_CONSOLE_LOGLEVEL_3
249 config MAXIMUM_CONSOLE_LOGLEVEL_2
253 config MAXIMUM_CONSOLE_LOGLEVEL_1
256 Action must be taken immediately.
257 config MAXIMUM_CONSOLE_LOGLEVEL_0
264 config MAXIMUM_CONSOLE_LOGLEVEL
266 default 0 if MAXIMUM_CONSOLE_LOGLEVEL_0
267 default 1 if MAXIMUM_CONSOLE_LOGLEVEL_1
268 default 2 if MAXIMUM_CONSOLE_LOGLEVEL_2
269 default 3 if MAXIMUM_CONSOLE_LOGLEVEL_3
270 default 4 if MAXIMUM_CONSOLE_LOGLEVEL_4
271 default 5 if MAXIMUM_CONSOLE_LOGLEVEL_5
272 default 6 if MAXIMUM_CONSOLE_LOGLEVEL_6
273 default 7 if MAXIMUM_CONSOLE_LOGLEVEL_7
274 default 8 if MAXIMUM_CONSOLE_LOGLEVEL_8
276 Map the log level config names to an integer.
279 prompt "Default console log level"
280 default DEFAULT_CONSOLE_LOGLEVEL_8
282 config DEFAULT_CONSOLE_LOGLEVEL_8
284 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8)
286 Way too many details.
287 config DEFAULT_CONSOLE_LOGLEVEL_7
289 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7)
291 Debug-level messages.
292 config DEFAULT_CONSOLE_LOGLEVEL_6
294 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
295 MAXIMUM_CONSOLE_LOGLEVEL_6)
297 Informational messages.
298 config DEFAULT_CONSOLE_LOGLEVEL_5
300 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
301 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5)
303 Normal but significant conditions.
304 config DEFAULT_CONSOLE_LOGLEVEL_4
306 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
307 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
308 MAXIMUM_CONSOLE_LOGLEVEL_4)
311 config DEFAULT_CONSOLE_LOGLEVEL_3
313 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
314 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
315 MAXIMUM_CONSOLE_LOGLEVEL_4 || MAXIMUM_CONSOLE_LOGLEVEL_3)
318 config DEFAULT_CONSOLE_LOGLEVEL_2
320 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
321 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
322 MAXIMUM_CONSOLE_LOGLEVEL_4 || MAXIMUM_CONSOLE_LOGLEVEL_3 ||\
323 MAXIMUM_CONSOLE_LOGLEVEL_2)
326 config DEFAULT_CONSOLE_LOGLEVEL_1
328 depends on (MAXIMUM_CONSOLE_LOGLEVEL_8 || MAXIMUM_CONSOLE_LOGLEVEL_7 ||\
329 MAXIMUM_CONSOLE_LOGLEVEL_6 || MAXIMUM_CONSOLE_LOGLEVEL_5 ||\
330 MAXIMUM_CONSOLE_LOGLEVEL_4 || MAXIMUM_CONSOLE_LOGLEVEL_3 ||\
331 MAXIMUM_CONSOLE_LOGLEVEL_2 || MAXIMUM_CONSOLE_LOGLEVEL_1)
333 Action must be taken immediately.
334 config DEFAULT_CONSOLE_LOGLEVEL_0
341 config DEFAULT_CONSOLE_LOGLEVEL
343 default 0 if DEFAULT_CONSOLE_LOGLEVEL_0
344 default 1 if DEFAULT_CONSOLE_LOGLEVEL_1
345 default 2 if DEFAULT_CONSOLE_LOGLEVEL_2
346 default 3 if DEFAULT_CONSOLE_LOGLEVEL_3
347 default 4 if DEFAULT_CONSOLE_LOGLEVEL_4
348 default 5 if DEFAULT_CONSOLE_LOGLEVEL_5
349 default 6 if DEFAULT_CONSOLE_LOGLEVEL_6
350 default 7 if DEFAULT_CONSOLE_LOGLEVEL_7
351 default 8 if DEFAULT_CONSOLE_LOGLEVEL_8
353 Map the log level config names to an integer.
355 config CONSOLE_LOGBUF
360 bool "Don't show any POST codes"
368 bool "Show POST codes on the debug console"
372 If enabled, coreboot will additionally print POST codes (which are
373 usually displayed using a so-called "POST card" ISA/PCI/PCI-E
374 device) on the debug console.