[U-Boot] [PATCH 1/2] console: Support board-specific early console

Wolfgang Denk wd at denx.de
Fri Mar 20 17:55:50 CET 2015


Dear Thierry,

In message <1426851034-29393-1-git-send-email-thierry.reding at gmail.com> you wrote:
> 
> This is mostly useful for debugging the early boot process. Often boards
> can provide some low-level code that outputs a character on some debug
> port prior to passing the early setup code. Allow boards to implement an
> early_putc() function that will be used to redirect printf() and friends
> to this debug port until the proper console becomes ready.

Hm... it is one of the basic design principles of U-Boot to provide
debug output on the console as soon as possible.  It should be the
primary purpose of low level initialization to enable console output,
before anything else.

Now you say, you have output even before that - this aears to be a
contradiction to me.  If you can output characters, then use this as
your console.  I feel we should not need any special configuration
options to do what we should do anyway.

Or am I missing somthing?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
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
Ein weiser Herrscher kann in einem großen Land  mehr  Gutes  bewirken
als  in  einem kleinen - ein dummer Herrscher aber auch viel mehr Un-
fug. Da weise Herrscher seltener sind als dumme, war ich schon  immer
gegen große Reiche skeptisch.                   - Herbert Rosendorfer


More information about the U-Boot mailing list