[U-Boot] [U-Boot, 1/2] console: Use pre-console buffer to get complete log on all consoles

Siarhei Siamashka siarhei.siamashka at gmail.com
Tue Jan 13 13:36:10 CET 2015


On Tue, 13 Jan 2015 11:59:02 +0100
Hans de Goede <hdegoede at redhat.com> wrote:

> Hi,
> 
> On 12-01-15 12:05, Hans de Goede wrote:
> > Hi,
> >
> > On 08-01-15 08:02, Siarhei Siamashka wrote:
> >> Currently the pre-console buffer can accumulate early log messages
> >> and flush them to the serial console as soon as it becomes available.
> >>
> >> This patch just adds one more pre-console buffer flushing point and
> >> does all the same for the other consoles too. This is particularly
> >> useful for the vga/hdmi/lcd console, where we can see all the older
> >> messages now (except for the log messages from SPL).
> >>
> >> Naturally, we don't want to get an extra copy of the log messages
> >> on the serial console again at the second flushing point, so the
> >> serial console has to be explicitly filtered out.
> >>
> >> Signed-off-by: Siarhei Siamashka <siarhei.siamashka at gmail.com>
> >
> > Thanks for writing this, this is something which I wanted to have
> > for a while now :)
> >
> > Code wise this looks good to me:
> >
> > Acked-by: Hans de Goede <hdegoede at redhat.com>
> >
> > I wonder who should pick this patch up though, Tom can you pick
> > this up ?
> >
> > Siarhei can you respin the sunxi patch for this using the address
> > I suggested in my other mail ?
> 
> Never mind, given Tom's ack to take 1/2 upstream through the sunxi
> tree I've fixed up the address myself, and queued both for merging
> in u-boot-sunxi/next

Thanks! I was about to send an updated patch, but this works too.

I also submitted a natural evolution of this code, which allows to
see SPL messages on all consoles.

-- 
Best regards,
Siarhei Siamashka


More information about the U-Boot mailing list