From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Walle Date: Wed, 10 Apr 2013 22:52:12 +0200 Subject: [U-Boot] bootm does not work if netconsole is enabled In-Reply-To: References: <201304100021.42979.michael@walle.cc> Message-ID: <201304102252.12464.michael@walle.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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