[U-Boot] [PATCH 2/2] tegra: Enable pre-console putc() for Tegra boards
Simon Glass
sjg at chromium.org
Fri Mar 9 21:32:04 CET 2012
-linux-tegra
Hi Stephen,
On Fri, Mar 9, 2012 at 8:57 AM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> On 03/08/2012 07:52 PM, Simon Glass wrote:
>> This is used to display panic messages before the console is active.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>
> I applied both these patches on top of u-boot-tegra/master, built for
> Ventana, and loaded/ran u-boot.bin, and don't see any useful serial
> output; there's a bit of periodic binary spew. u-boot-dtb.bin works as
> expected.
>
> So, these patches don't appear to solve the problem.
You are seeing the output, but since it resets the ns16550 on every
character we are just emitting garbage. I should have pushed back on
just having a board_pre_console_panic() as it would be easier. Anyway,
given that this is what we have, we need a function to drain the FIFO.
Also printf() is silently skipped without a console, so we need to
stop that happening as well.
I will send a new series with those two new patches and dealing with
Mike's comments. It seems to work fine for me on Seaboard.
Regards,
Simon
More information about the U-Boot
mailing list