
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