[U-Boot] [PATCH] logbuff: Prevent an infinite loop for console output

Peter Tyser ptyser at xes-inc.com
Tue Jun 8 23:58:06 CEST 2010


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



More information about the U-Boot mailing list