linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "mike zheng" <mail4mz@gmail.com>
To: avorontsov@ru.mvista.com
Cc: linuxppc-dev@ozlabs.org
Subject: Re: QE in MPC8360MDS
Date: Sat, 1 Nov 2008 07:28:17 -0800	[thread overview]
Message-ID: <5c9cd53b0811010828u64ef26f7qbc3be448cbe41074@mail.gmail.com> (raw)
In-Reply-To: <20081031140137.GA8781@oksana.dev.rtsoft.ru>

Anton. Thanks for the info you provide.

The code I have actually works fine on MPC8568. It does NOT work on MPC8360.

The value of following register are correct based on the manual. And
the RxBD flag changed as well. I shall see the bit of UCCE changes,
Right? Do I miss provision anything? Is there any other register shall
I check in order to get the interrupt bit in UCCE?

gumr  : addr - 0xfdf02000, val - 0x4000000c
ucce  : addr - 0xfdf02010, val - 0x00000000
uccm  : addr - 0xfdf02014, val - 0x7f010001

On Fri, Oct 31, 2008 at 10:01 AM, Anton Vorontsov
<avorontsov@ru.mvista.com> wrote:
> On Fri, Oct 31, 2008 at 09:47:18AM -0400, mike zheng wrote:
>> Hi All,
>>
>> Anyone know the difference of QE between MPC8360 and MPC8568?
>>
>> I am using the QE code working for MPC8568 on a MPC8360MDS board.
>> However there is no interrupt generated by UCC0. I set the QE working
>> under loopback mode. The flag of TxBD got changed, but the UCCE
>> remains the same value. Here is the logs and register value.
>
> I recalling these differences:
>
> QEIC to MPIC vs. IPIC cascading (may be the cause of interrupts
> issues).
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=cccd21027c17c27ad275093c22475354b4495814
>
> QE ParIO layout (you may have pins misconfigured):
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=321872dcc07f83f9b60af1be41c6bafbaddf9bf6
>
> --
> Anton Vorontsov
> email: cbouatmailru@gmail.com
> irc://irc.freenode.net/bd2
>

      reply	other threads:[~2008-11-01 15:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31 13:47 QE in MPC8360MDS mike zheng
2008-10-31 14:01 ` Anton Vorontsov
2008-11-01 15:28   ` mike zheng [this message]

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=5c9cd53b0811010828u64ef26f7qbc3be448cbe41074@mail.gmail.com \
    --to=mail4mz@gmail.com \
    --cc=avorontsov@ru.mvista.com \
    --cc=linuxppc-dev@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).