public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Matthew Lear <matt@bubblegen.co.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] Network based logging with U-Boot
Date: Tue, 18 Aug 2009 11:17:07 +0100	[thread overview]
Message-ID: <4A8A7FA3.2090901@bubblegen.co.uk> (raw)
In-Reply-To: <20090817185548.CC694833DBD2@gemini.denx.de>

Hi Wolfgang,
Wolfgang Denk wrote:
> Dear Matthew Lear,
> 
> In message <4A896ED5.3010807@bubblegen.co.uk> you wrote:

[snip]

>> 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.

Firstly, perhaps the problems I have with netcat and U-Boot netconsole
are partly to do with the 'listener' software itself (ie netcat),
running on <server ip>.  AFAIK the 'mapping' of netcat to target ip
address in order to utilise U-Boot's netconsole is one-to-one, ie netcat
is unable to listen on an ip address range because it performs a lookup
on the address and this obviously fails for an ip address range. I may
be wrong here but from what I can tell, listening on an ip range with
netcat is not possible. If it was, then this would solve part of my problem.

Of course, there may be other listeners which may be able to do this..?

Secondly, if there is a centralised logging machine (<server ip>), then
ideally, the messages received from U-Boot's netconsole would be
prefixed with an identifier in order to differentiate one device running
U-Boot from another. The prefix could be a U-Boot env hostname, ip
address, MAC address or some other identifier/variable. If this was
possible then each platform could be differentiated easily at the server
end.

I suppose my end goal is to have something akin or analogous to multiple
platforms running Linux and logging over syslog to a server machine
running syslogd.

Does that help?

Best regards,
--  Matt

  reply	other threads:[~2009-08-18 10:17 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
2009-08-18 10:17   ` Matthew Lear [this message]
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=4A8A7FA3.2090901@bubblegen.co.uk \
    --to=matt@bubblegen.co.uk \
    --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