From 4aa93ccd3302d7db0eef00f5963bc991f3f233ff Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Fri, 16 Jul 2010 20:02:09 +0000 Subject: Add support for the console over Ethernet (through PCI NE2000). Signed-off-by: Rudolf Marek Acked-by: Cristian Magherusan-Stanciu git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5666 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/console/Kconfig | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) (limited to 'src/console/Kconfig') diff --git a/src/console/Kconfig b/src/console/Kconfig index a2e3cdddbf..080b37f390 100644 --- a/src/console/Kconfig +++ b/src/console/Kconfig @@ -1,5 +1,4 @@ menu "Console options" - # TODO: Rename to SERIAL_CONSOLE once Kconfig transition is complete. config CONSOLE_SERIAL8250 bool "Serial port console output" @@ -130,6 +129,49 @@ config CONSOLE_VGA_ONBOARD_AT_FIRST help If not selected, the last adapter found will be used. +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 + string "IP adress of Coreboot system" + default "10.0.1.253" + help + This is the IP of the Coreboot system + +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) + + choice prompt "Maximum console log level" default MAXIMUM_CONSOLE_LOGLEVEL_8 -- cgit v1.2.3