public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] console: Support board-specific early console
Date: Fri, 20 Mar 2015 17:55:50 +0100	[thread overview]
Message-ID: <20150320165550.31F8F380156@gemini.denx.de> (raw)
In-Reply-To: <1426851034-29393-1-git-send-email-thierry.reding@gmail.com>

Dear Thierry,

In message <1426851034-29393-1-git-send-email-thierry.reding@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

  parent reply	other threads:[~2015-03-20 16:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-20 11:30 [U-Boot] [PATCH 1/2] console: Support board-specific early console Thierry Reding
2015-03-20 11:30 ` [U-Boot] [PATCH 2/2] ARM: tegra: Implement early console support Thierry Reding
2015-03-20 15:24 ` [U-Boot] [PATCH 1/2] console: Support board-specific early console Tom Rini
2015-03-20 16:55 ` Wolfgang Denk [this message]
2015-03-23 23:38   ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150320165550.31F8F380156@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox