Skip to contentSkip to conversation

what exactly is netconsole

U-Boot-Users Andrew Wozniak 3 participants 5 messages Aug 12, 2004 – Aug 13, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Andy:

Quoted 4 lines · Andrew Wozniak

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

Quoted 3 lines

Does this imply a "one-way" output connection only or does it allow a remote connection into the target - similar to telnet.

Pretty much...

Quoted 2 lines

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

#2 lore raw
In reply to Andrew Wozniak

Dear Andrew,

Quoted 5 lines · in message <[email protected]> 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?

Quoted 2 lines

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.

Quoted 2 lines

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

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Philosophy:  A route of many roads leading from nowhere to nothing.
- Ambrose Bierce
#3 lore raw
Quoted 9 lines · Wolfgang Denk

Dear Andrew,

Quoted 4 lines · in message <[email protected]> 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.

Quoted 4 lines

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.

Quoted 7 lines
Quoted 2 lines

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.

Quoted 8 lines
Quoted 2 lines

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

#4 lore raw
Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 2 lines

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

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
miracle:  an  extremely  outstanding  or  unusual  event,  thing,  or
accomplishment.                                - Webster's Dictionary