[U-Boot] [PATCH] tegra: Specify debugging serial port at boot.

Wolfgang Denk
2012-03-21T09:19:17Z

Dear Stephen Warren,

In message <4F68F3D0.6030608@wwwdotorg.org> you wrote:
>
> For each board, there is a single fixed UART that should be used for

Thanks for this statement. I agree 100%.

> both pre-console panic and the "real" console later. This is fixed by
> the single static board design.

Here I disagree. The concept of "pre-console panic" as used here is
broken.

We should _always_ initialize this "single fixed UART" as debug
console as early as possible. Period.

If we have a "pre-console panic" then, we cannot do anything about it,
because if "as early as possible" is not sufficient, then it cannot be
helped - obviously we cannot initialize the UART before that.

And any panic after that is just anormal thing that can be printed on
the debug console port. No need for any special handling.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Die meisten Menschen pflegen im Kindesalter vom Zeigen auf Gegenst?n-
de (Mausbewegung) und "ga" sagen (Mausklick) abzukommen, zugunsten
eines m?chtigeren und langwierig zu erlernenden Tools (Sprache).
-- Achim Linder in de.comp.os.linux.misc