From: a b <poseidon21@post.sk>
To: <linuxppc-embedded@ozlabs.org>
Subject: SMC as UART problem on mpc8xx
Date: 01 Feb 2007 17:10:31 +0100 (CET) [thread overview]
Message-ID: <45C210F7.000001.01701@kamasutra> (raw)
Hi,
I have mpc8xx where I would like the following configuration:
- SCC1 as system console (works fine)
- SMC1-2 as UART (doesn\'t work)
I use linux 2.6.16.20 with backward patch from linux-2.6.19.2 for SMCs. My only problem is
that even I can see cpm_uart registered for IRQ 20 (for SMC1) I never get interrupt even
I do e.g. \"echo 123 > /dev/ttyCPM\".
here is a short extract from /proc/interrupts:
20: 0 CPM Edge cpm_uart <--SMC1
21: 7546 CPM Edge SPI
46: 20 CPM Edge cpm_uart <-- SCC1 (console)
here is a short extract from /proc/tty/driver/ttyCPM:
serinfo:1.0 driver revision:
0: uart:CPM UART mmio:0xFFF00A80 irq:20 tx:14 rx:0 RTS|CTS|DTR|DSR|CD
1: uart:CPM UART mmio:0xFFF00A90 irq:19 tx:0 rx:0 CTS|DSR|CD
2: uart:CPM UART mmio:0xFFF00A00 irq:46 tx:3038 rx:46 RTS|CTS|DTR|DSR|CD
Can anybody help me to get SMCs working?
thnx,
Ladislav.
__________
http://chat.post.sk - zachatujte si s priatelmi na IRC.POST.SK
next reply other threads:[~2007-02-01 17:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-01 16:10 a b [this message]
2007-02-01 17:27 ` SMC as UART problem on mpc8xx Vitaly Bordug
-- strict thread matches above, loose matches on Subject: below --
2007-02-02 10:51 Ladislav Klenovic
2007-02-02 14:54 ` Vitaly Bordug
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=45C210F7.000001.01701@kamasutra \
--to=poseidon21@post.sk \
--cc=linuxppc-embedded@ozlabs.org \
/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).