* DMA Driver on MPC8260
@ 2006-08-03 15:21 jimmy liu
2006-08-03 20:18 ` Manish Joshi
0 siblings, 1 reply; 4+ messages in thread
From: jimmy liu @ 2006-08-03 15:21 UTC (permalink / raw)
To: linuxppc-embedded
I am working on PCI transactions between MPC8260 and
FPGA. Could somebody give me some information about
the PCI DMA Driver on MPC8260?
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DMA Driver on MPC8260
2006-08-03 15:21 DMA Driver on MPC8260 jimmy liu
@ 2006-08-03 20:18 ` Manish Joshi
2006-08-03 21:35 ` jimmy liu
0 siblings, 1 reply; 4+ messages in thread
From: Manish Joshi @ 2006-08-03 20:18 UTC (permalink / raw)
To: jimmy liu, linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 968 bytes --]
What kind of information you are looking for? Specific questions always help.
General details you can find in the user manual itself.
Not sure, but I think MPC8260 has 4 DMA channels which can be programmed independently. You need to set the mode registers and then the src/dest addr registers and byte count and finally turn on the start bit.
jimmy liu <jimmyzhmliu@yahoo.com> wrote:
I am working on PCI transactions between MPC8260 and
FPGA. Could somebody give me some information about
the PCI DMA Driver on MPC8260?
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
---------------------------------
Want to be your own boss? Learn how on Yahoo! Small Business.
[-- Attachment #2: Type: text/html, Size: 1285 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DMA Driver on MPC8260
2006-08-03 20:18 ` Manish Joshi
@ 2006-08-03 21:35 ` jimmy liu
2006-08-03 23:09 ` Manish Joshi
0 siblings, 1 reply; 4+ messages in thread
From: jimmy liu @ 2006-08-03 21:35 UTC (permalink / raw)
To: Manish Joshi, linuxppc-embedded
You are 100% right. MPC8260 has 4 DMA channels which
can be programmed independently. Could I find some
sample code from some place?
--- Manish Joshi <mjoshi_blr@yahoo.com> wrote:
> What kind of information you are looking for?
> Specific questions always help.
> General details you can find in the user manual
> itself.
>
> Not sure, but I think MPC8260 has 4 DMA channels
> which can be programmed independently. You need to
> set the mode registers and then the src/dest addr
> registers and byte count and finally turn on the
> start bit.
>
>
> jimmy liu <jimmyzhmliu@yahoo.com> wrote:
> I am working on PCI transactions between MPC8260
> and
> FPGA. Could somebody give me some information about
> the PCI DMA Driver on MPC8260?
>
> Thanks.
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
>
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
>
> ---------------------------------
> Want to be your own boss? Learn how on Yahoo! Small
> Business.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DMA Driver on MPC8260
2006-08-03 21:35 ` jimmy liu
@ 2006-08-03 23:09 ` Manish Joshi
0 siblings, 0 replies; 4+ messages in thread
From: Manish Joshi @ 2006-08-03 23:09 UTC (permalink / raw)
To: jimmy liu, linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1891 bytes --]
No idea about sample code.
But I think programming DMA itself is straightforward as mentioned below.
Just ensure to use uncached physical memory for src/dest addresses.
Then you can program your interrupt to receive the DMA completion notification.
There are couple of registers like ESR, DMASR etc which you can check in case you see any issues after programming your DMA config registers which are little endian.
jimmy liu <jimmyzhmliu@yahoo.com> wrote:
You are 100% right. MPC8260 has 4 DMA channels which
can be programmed independently. Could I find some
sample code from some place?
--- Manish Joshi wrote:
> What kind of information you are looking for?
> Specific questions always help.
> General details you can find in the user manual
> itself.
>
> Not sure, but I think MPC8260 has 4 DMA channels
> which can be programmed independently. You need to
> set the mode registers and then the src/dest addr
> registers and byte count and finally turn on the
> start bit.
>
>
> jimmy liu wrote:
> I am working on PCI transactions between MPC8260
> and
> FPGA. Could somebody give me some information about
> the PCI DMA Driver on MPC8260?
>
> Thanks.
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
>
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
>
> ---------------------------------
> Want to be your own boss? Learn how on Yahoo! Small
> Business.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------
Want to be your own boss? Learn how on Yahoo! Small Business.
[-- Attachment #2: Type: text/html, Size: 2474 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-08-03 23:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-03 15:21 DMA Driver on MPC8260 jimmy liu
2006-08-03 20:18 ` Manish Joshi
2006-08-03 21:35 ` jimmy liu
2006-08-03 23:09 ` Manish Joshi
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).