
Dear Simon Glass,
In message CAPnjgZ1u8paSeKxozWz1D5YoJaJ2um_q0dWQo=k5_+HEdKh1AQ@mail.gmail.com you wrote:
OK, so revert that commit?
It hasn't hit mainline yet, or has it?
Yes, it is there, sorry.
Which commit is that?
This is why initializing the serial console has always been one of the very, very first initialization steps in U-Boot.
So if actually you want a pre-console panic() to be silent then that's fine.
I do not _want_ it.
This is a simple matter of facts that cannot be avoided. If we cannot initialize the consolem then we cannot print anything.
It's a little unfriendly though - so would you be interested in keeping board_pre_console_putc() around if we could solve this entirely with code in there? It turns out that Tegra has a setting for console UART in the hardware parameters that we can access.( I won't ask you about how to handle a panic() in SPL yet).
If you can initialize the console in a way that allows sending characters, then just do this - do this as part of the recular fconsole init code, so we do have a working console, and we do not need ay "pre-console" stuff.
Best regards,
Wolfgang Denk