
Dear Simon Glass,
In message CAPnjgZ0jtSioCq+u2yiaDL6cwV711duWW5uT88mE3oHB-nNmjQ@mail.gmail.com you wrote:
No. I do not want to see any PRE_CONSOLE_UART or pre_console_putc() stuff, because this is bogus. If you do output to a serial UART port, this _is_ your console. Just use it in the standard war.
I made my mind up: I want to get rid of all this "pre_console" UART stuff.
OK, so revert that commit?
It hasn't hit mainline yet, or has it?
In that case I have a question. How can we get console output in the event of a panic before console_ready() is called?
You cannot, by definition. You cannot output anything to the console without initializing it before.
This is why initializing the serial console has always been one of the very, very first initialization steps in U-Boot.
Best regards,
Wolfgang Denk