[U-Boot] [PATCH] tools/netconsole: make a bit more robust and use ncb when possible

Mike Frysinger vapier at gentoo.org
Wed Jan 21 21:39:25 CET 2009


On Wednesday 21 January 2009 15:13:51 Wolfgang Denk wrote:
> Dear Mike Frysinger,
>
> In message <200901161407.57150.vapier at gentoo.org> you wrote:
> > > > have this "feature" and it supports broadcast udp, default to using
> > > > that rather than netcat.
> > >
> > > When would "ncb" not be available?
> > >
> > > What else are the implications when using ncb versus netcat?
> > >
> > > Why does your script tools/netconsole so far use netcat only, when we
> > > have the (as I read it) much better ncb anyway?
> >
> > people have to manually build ncb, plus ncb is a listen-only daemon.  you
> > still need nc to do the transmission.
>
> You did not answer my other questions:

then i really have no idea what you're asking/talking about

> - When would "ncb" not be available?

ncb is specific to u-boot: tools/ncb.c.  most people will not bother to 
compile it as they'll just run the netconsole script.  it certainly isnt 
compiled by default or integrated into the build system.

> - What else are the implications when using ncb versus netcat?

ncb is looser with receiving udp packets so it works with broadcast packets.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090121/cc001705/attachment.pgp 


More information about the U-Boot mailing list