From: Tom Rini Date: Sat, 21 Sep 2013 08:06:31 -0400 Subject: [U-Boot] [U-Boot, v2] Fix loading freeze when netconsole is active In-Reply-To: <1378807351-7388-1-git-send-email-fredo@starox.org> References: <1378807351-7388-1-git-send-email-fredo@starox.org> Message-ID: <20130921120631.GK5273@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Sep 10, 2013 at 12:02:31PM +0200, Frederic Leroy wrote: > Netconsole calls eth_halt() before giving control to another operating > system. > But the state machine of netconsole don't take it into account. > Thus, netconsole calls network functions of an halted network device, > making the whole system freeze. > Rather than modifying the state machine of netconsole, we just unregister > the current network device before booting. It does work because > nc_send_packet() verifies that the current network device is not null. > > Signed-off-by: Fr??d??ric Leroy Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: