
Hi Wolfgang,
On Wed, Mar 21, 2012 at 3:56 PM, Wolfgang Denk wd@denx.de wrote:
Dear Simon,
In message CAPnjgZ128xB53b-h-pcPJs1tjLLngRa116D75ysmsWJvofotrw@mail.gmail.com you wrote:
- What you propose is actually very easy to implement - it just
requires a new config like CONFIG_DEFAULT_UART or CONFIG_PRE_CONSOLE_UART to be defined, and used in the board_pre_console_putc() code.
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?
In that case I have a question. How can we get console output in the event of a panic before console_ready() is called?
Regards, Simon
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@denx.de "The first rule of magic is simple. Don't waste your time waving your hands and hoping when a rock or a club will do." - McCloctnik the Lucid