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

Wolfgang Denk wd at denx.de
Wed Mar 21 10:19:17 CET 2012


Dear Stephen Warren,

In message <4F68F3D0.6030608 at 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


More information about the U-Boot mailing list