[U-Boot] [PATCH] tegra: Specify debugging serial port at boot.
Wolfgang Denk
wd at denx.de
Thu Mar 22 00:07:22 CET 2012
Dear Simon Glass,
In message <CAPnjgZ0jtSioCq+u2yiaDL6cwV711duWW5uT88mE3oHB-nNmjQ at 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
--
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
There are three ways to get something done: do it yourself, hire
someone, or forbid your kids to do it.
More information about the U-Boot
mailing list