Difference between revisions of "Ethernet console"

From ArmadeusWiki
Jump to: navigation, search
(creation)
 
(links)
Line 21: Line 21:
 
==Linux==
 
==Linux==
 
  TDBL
 
  TDBL
 +
 +
==Links==
 +
* http://www.digispeaker.com/content/u-boot-over-network
 +
* http://wiki.openvz.org/Remote_console_setup

Revision as of 21:01, 7 February 2010

On this page you will learn how to move the default RS232 console to Ethernet. This might be useful in systems where you want to use the RS232 port for something else or if you want a remote console.

Page under construction... Construction.png Informations on this page are not guaranteed !!

U-Boot

  • modify the config header file for your board and add it:
#define CONFIG_NETCONSOLE 1
  • recompile and reflash your U-Boot:
$ make u-boot-clean
$ make
  • redefine some environment variables (here 192.168.1.2 is the IP address of my Host PC):
BIOS> setenv ncip 192.168.1.2
BIOS> setenv stdin nc; setenv stdout nc; setenv stderr nc

Linux

TDBL

Links