From mboxrd@z Thu Jan 1 00:00:00 1970 From: Siarhei Siamashka Date: Tue, 13 Jan 2015 14:36:10 +0200 Subject: [U-Boot] [U-Boot, 1/2] console: Use pre-console buffer to get complete log on all consoles In-Reply-To: <54B4FA76.7090109@redhat.com> References: <1420700552-17474-1-git-send-email-siarhei.siamashka@gmail.com> <54B3AA95.2010902@redhat.com> <54B4FA76.7090109@redhat.com> Message-ID: <20150113143610.4ddf78cb@i7> 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, 13 Jan 2015 11:59:02 +0100 Hans de Goede 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 > > > > 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 > > > > 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