From: Ricardo Scop <scop@digitel.com.br>
To: Atm account <linux2@cdotd.ernet.in>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re[2]: help needed for porting linux-2.5 to a ppc custom board
Date: Wed, 18 Sep 2002 14:39:46 -0300 [thread overview]
Message-ID: <9610.020918@plugin.com.br> (raw)
In-Reply-To: <Pine.OSF.4.10.10209181158001.6582-100000@moon.cdotd.ernet.in>
Hello Piyush,
I'm not really an expert, so I'll help only with what I know. Read
below.
I'm also relaying this message to the public list, so they can help
you further, possibly correcting me if I'm wrong :o)
[]'s, Scop mailto:scop@digitel.com.br
------------------------------------------------------------------
It might look like I'm doing nothing, but at the cellular level I'm
really quite busy.
Wednesday, September 18, 2002, 4:49:15 AM, you wrote:
Aa> Hello Ricardo,
Aa> Thanks a lot for your replies.
<snip>
Aa> Actually my requirement is to have printk messages and kgdb prints coming
Aa> from this uart. Is this possible to have printk-msgs while running kernel
Aa> in kgdb mode?
Sorry, I never used kgdb on my custom board (we have a BDI2000!).
Aa> Sometimes my requirement is to connect some other serial device to the
Aa> uart and that time i want to store printk messages some where else or
Aa> dump through network-interface.
AFAIK, you can always get printk messages through /proc/kmsg. I don't
know if there's an already implemented way of inhibiting them from
going to the debug console.
Aa> After going through the arch/ppc/8*_io/uart.c files, I have the
Aa> following doubts :-
Aa> 1. After rs_8xx_init() is called, do the printk messages come out
Aa> of this port using serial_console_write() function?
No, AFAIK.
Aa> rs_8xx_init() is called from tty_init() from chr_dev_init()
Aa> which will also call init's() of other character drivers, whose
Aa> debugging printk's i want to come through this port.
Aa> 2. If not, is it the case that this uart is unregistered from list
Aa> of consoles?
No, neither that. The uart port is used for both purposes
concurrently.
Aa> Regards,
Aa> Piyush.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
parent reply other threads:[~2002-09-18 17:39 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <Pine.OSF.4.10.10209181158001.6582-100000@moon.cdotd.ernet.in>]
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=9610.020918@plugin.com.br \
--to=scop@digitel.com.br \
--cc=linux2@cdotd.ernet.in \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=scop@plugin.com.br \
/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;
as well as URLs for NNTP newsgroup(s).