[U-Boot] bootm does not work if netconsole is enabled

Michael Walle michael at walle.cc
Wed Apr 10 22:52:12 CEST 2013


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


More information about the U-Boot mailing list