public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Network based logging with U-Boot
Date: Mon, 17 Aug 2009 20:55:48 +0200	[thread overview]
Message-ID: <20090817185548.CC694833DBD2@gemini.denx.de> (raw)
In-Reply-To: <4A896ED5.3010807@bubblegen.co.uk>

Dear Matthew Lear,

In message <4A896ED5.3010807@bubblegen.co.uk> you wrote:
> 
> Is U-Boot able to log its actives etc to a machine accessible via the
> network?

U-Boot has support for netconsole, if that is what you are looking
for.

> Desirable -> U-Boot being able to log all its boot up info and details
> regarding booting it's OS image etc (ie everything sent to stdout) to a
> file on a remote machine.

Note that netconsole does not output _all_ of U-Boot boot messages; it
takes a lot of initialization until the network interface becomes
operational, but this is usually only an issue during the port of
U-Boot to new hardware. For normal deployment of a known-to-be-working
image it's OK.

> Scenario - multiple deployments all housed in sealed units on a LAN.
> Network based monitoring is the only option.

No problem. Use netconsole.

> I'm sure I read somewhere that UDP logging is available in U-Boot but
> information on this doesn't seem to be hugely available.

Well, it's documented. Just read doc/README.NetConsole

> I've got netconsole running via netcat on a host pc but this is console
> only and is not ideal for a multi-platform deployment model. Although,

"not ideal"? What exactly are you missing?

> saying that, I suppose that doing 'set ncip <server ip>' and 'set stdout
> nc' and running netcat on a host pc would provide some level of diagnostics.
> 
> Is anybody able to offer any advice or strategy here for similar
> requirements?

Try to explain what your exact problems with netconsole are.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
That was the thing about deserts. They had their  own  gravity.  They
sucked you into the centre.           - Terry Pratchett, _Small Gods_

  reply	other threads:[~2009-08-17 18:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-17 14:53 [U-Boot] Network based logging with U-Boot Matthew Lear
2009-08-17 18:55 ` Wolfgang Denk [this message]
2009-08-18 10:17   ` Matthew Lear
2009-08-18 11:18     ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090817185548.CC694833DBD2@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox