[U-Boot-Users] what exactly is netconsole

Hi,
A recent post mentions that U-Boot now has netconsole features, at least on the ocotea PPC440 board. What type of functionality does this provide? I did find, on the web, that netconsole is UDP based at is typically used as a networked console for kernel debugging.
Does this imply a "one-way" output connection only or does it allow a remote connection into the target - similar to telnet.
Our project requires remote network access to U-Boot because the deployed the system will not include a serial port.
-andy

Andy:
On Thu, 2004-08-12 at 14:46, Andrew Wozniak wrote:
A recent post mentions that U-Boot now has netconsole features, What type of functionality does this provide?
netconsole pipes stdin or stdout (or both) to a network device
Does this imply a "one-way" output connection only or does it allow a remote connection into the target - similar to telnet.
Pretty much...
Our project requires remote network access to U-Boot because the deployed the system will not include a serial port.
The other end is netcat (see u-boot/doc/README.NetConsole for the appropriate script)
http://netcat.sourceforge.net/
It sounds like this is what you need for your project.
-travis

Dear Andrew,
in message 411BBB19.4060800@mc.com you wrote:
A recent post mentions that U-Boot now has netconsole features, at least on the ocotea PPC440 board. What type of functionality does this provide? I did find, on the web, that netconsole is UDP based at is typically used as a networked console for kernel debugging.
In general it is a good idea to read the available documentation. Ideally, you do this BEFORE posting to the mailing list.
May I bother you to have a look at the doc/README.NetConsole file?
Does this imply a "one-way" output connection only or does it allow a remote connection into the target - similar to telnet.
U-Boot has bidirectional communication over the network, i. e. both stdin and stdout can be redirected (indepoendently!) to the netconsole device.
Our project requires remote network access to U-Boot because the deployed the system will not include a serial port.
It's ready to use...
Best regards,
Wolfgang Denk

Wolfgang Denk wrote:
Dear Andrew,
in message 411BBB19.4060800@mc.com you wrote:
A recent post mentions that U-Boot now has netconsole features, at least on the ocotea PPC440 board. What type of functionality does this provide? I did find, on the web, that netconsole is UDP based at is typically used as a networked console for kernel debugging.
In general it is a good idea to read the available documentation. Ideally, you do this BEFORE posting to the mailing list.
May I bother you to have a look at the doc/README.NetConsole file?
Our work is currently based on the 1.1.1 release. Any plans for an upcoming release that would include this document, along with netconsole?
In the mean time, I'll try to grab the README from the CVS tree.
Does this imply a "one-way" output connection only or does it allow a remote connection into the target - similar to telnet.
U-Boot has bidirectional communication over the network, i. e. both stdin and stdout can be redirected (indepoendently!) to the netconsole device.
Our project requires remote network access to U-Boot because the deployed the system will not include a serial port.
It's ready to use...
Best regards,
Wolfgang Denk
Thanks again for everyone's response. I have seen the light!
-andy

In message 411CC35C.2080104@mc.com you wrote:
May I bother you to have a look at the doc/README.NetConsole file?
Our work is currently based on the 1.1.1 release. Any plans for an upcoming release that would include this document, along with netconsole?
No. Please use the CVS.
Best regards,
Wolfgang Denk
participants (3)
-
Andrew Wozniak
-
Travis Sawyer
-
Wolfgang Denk