public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Robin Gilks <robin.gilks@tait.co.nz>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Netconsole at startup
Date: Thu, 23 Sep 2004 09:41:13 +1200	[thread overview]
Message-ID: <4151F179.40100@tait.co.nz> (raw)

Greetings

Bit of a puzzle with netconsole operation.

If I undef CFG_CONSOLE_IS_IN_ENV, then I can boot to the serial console 
and manually switch it to nc and it works great. Problem with that is 
that on boot it just uses the first device that has the correct in/out 
properties - i.e. serial and ignores any env setting.

If I define CFG_CONSOLE_IS_IN_ENV, then the netconsole stuff refuses to 
run (i.e. it doesn't use serial but it doesn't use nc either!!) - even 
though when checking with the BDI2000 I can see that the correct nc 
devices have been set up in the dev structures. If I start up in serial 
and then try to switch to nc it just doesn't work - it continues to use 
serial.

Any clues from anyone? Should netconsole be able to run from bootup?

-- 
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks at tait.co.nz
New Zealand

=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================

             reply	other threads:[~2004-09-22 21:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-22 21:41 Robin Gilks [this message]
2004-09-22 22:35 ` [U-Boot-Users] Netconsole at startup Wolfgang Denk
2004-09-22 23:37   ` Robin Gilks
2004-09-23 15:14     ` 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=4151F179.40100@tait.co.nz \
    --to=robin.gilks@tait.co.nz \
    --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