From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] How to enable to print messages on serial port(ttyS0) in u-boot?
Date: Thu, 22 Oct 2009 08:04:56 -0400 [thread overview]
Message-ID: <4AE04A68.70902@ge.com> (raw)
In-Reply-To: <26004165.post@talk.nabble.com>
sunr2007 wrote:
> Dear all ,
> Is there a option to print the message or some variable value which i av
> modified in code to print it on serial console to check whether it is
> getting executed or not? like we use printf in application programming . if
> yes how to enable it and use it? . thanks.
> warm regards,
> Ravi Kulkarni.
Yes, printf(), as you can see by looking at the source. The serial port
and printf() support is one of the first things that is configured
exactly to help debug via print statements.
If it isn't working on your board, you have more fundamental problems
(hardware initialization, serial port configuration, serial port
selection, who knows???). Since we don't know anything about your
board, we cannot help further.
Best regards,
gvb
next prev parent reply other threads:[~2009-10-22 12:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-22 5:11 [U-Boot] How to enable to print messages on serial port(ttyS0) in u-boot? sunr2007
2009-10-22 12:04 ` Jerry Van Baren [this message]
2009-10-22 12:18 ` Ravi Kumar Kulkarni
2009-10-22 12:34 ` Wolfgang Denk
2009-10-22 12:41 ` Ravi Kumar Kulkarni
2009-10-22 12:49 ` Jerry Van Baren
2009-10-22 13:01 ` Ravi Kumar Kulkarni
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=4AE04A68.70902@ge.com \
--to=gerald.vanbaren@ge.com \
--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