public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michael Walle <michael@walle.cc>
To: u-boot@lists.denx.de
Subject: [U-Boot] bootm does not work if netconsole is enabled
Date: Wed, 10 Apr 2013 22:52:12 +0200	[thread overview]
Message-ID: <201304102252.12464.michael@walle.cc> (raw)
In-Reply-To: <CANr=Z=Z1DAu7SHuHHZy6gAvRKnbG9SWduyEynEQ4neUd6UN3Bg@mail.gmail.com>


Hi Joe,

Am Mittwoch 10 April 2013, 18:13:57 schrieb Joe Hershberger:
> > If i understand you correctly, the network will only be halted once the
> > bootloader starts an operating system. Then what do you think about
> > making either the nc_send_packet() or nc_putc()/nc_puts() function a
> > noop when the network is halted?
> 
> It's not quite that simple since the state does not really reflect the
> hardware (I know... that's my fault).  I can try to fix this for next
> release, but it is probably too risky to put into the April release.
Agreed. Let me know if i can test something for you.


> In the mean time a simple work-around is to use silent or nulldev on
> your target and turn off netconsole as part of your boot script
> (before you bootm).

I worked around this bug by setting the stdout back to serial just before the 
bootm command.

-- 
michael

  reply	other threads:[~2013-04-10 20:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-09 22:21 [U-Boot] bootm does not work if netconsole is enabled Michael Walle
2013-04-10  1:51 ` Joe Hershberger
2013-04-10 10:07   ` Michael Walle
2013-04-10 16:13     ` Joe Hershberger
2013-04-10 20:52       ` Michael Walle [this message]
2013-06-11  7:39       ` Michael Walle
2013-06-20 18:00       ` Michael Walle
2013-07-07 10:25         ` [U-Boot] [PATCH] Enable serial console only before booting Frédéric Leroy
2013-07-07 22:31           ` Wolfgang Denk
2013-09-05 13:43           ` Tom Rini
2013-09-08 12:22             ` [U-Boot] [PATCH] Fix loading freeze when netconsole is active Frédéric Leroy
2013-09-10 10:02             ` [U-Boot] [PATCH v2] " Frédéric Leroy
2013-09-21 12:06               ` [U-Boot] [U-Boot, " Tom Rini
2013-07-07 11:42         ` [U-Boot] [PATCH] Enable serial console only before booting Frédéric Leroy

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=201304102252.12464.michael@walle.cc \
    --to=michael@walle.cc \
    --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