From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Tyser Date: Tue, 08 Jun 2010 16:58:06 -0500 Subject: [U-Boot] [PATCH] logbuff: Prevent an infinite loop for console output In-Reply-To: <20100608214735.8D2D414E867@gemini.denx.de> References: <1273192322-9548-1-git-send-email-ptyser@xes-inc.com> <1273253668.22784.57.camel@localhost.localdomain> <20100608214735.8D2D414E867@gemini.denx.de> Message-ID: <1276034287.2469.19265.camel@petert> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, > > I agree this fix isn't the best, but its better than the bug in my > > opinion. Ideally someone who uses the logbuff could provide a more > > elegant fix. Any takers? > > I don't want to replace one bug (that bites you) with another one ( > that bites somebody else). I think the bug that I'm introducing (continuing to use serial output/ignoring the value of stdout) is much better than a hard lockup (the current bug), but I definitely see your point. I'm not a user of the logbuff or LCDs, etc at this point in time, so feel free to do what you'd like with the patch. Best, Peter