Skip to contentSkip to conversation

DMA Driver on MPC8260

DISCUSSION jimmy liu 2 participants 4 messages Aug 3, 2006

lore
Share & tools
lore

jimmy liu

author
#0 lore raw

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

#1 lore raw

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 <[email protected]> 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 [email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

---------------------------------
Want to be your own boss? Learn how on Yahoo! Small Business.

author
#2 lore raw

You are 100% right. MPC8260 has 4 DMA channels which can be programmed independently. Could I find some sample code from some place?

Quoted 21 lines · --- Manish Joshi

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 <[email protected]> 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.

Quoted 9 lines

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Linuxppc-embedded mailing list [email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 6 lines

---------------------------------
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

#3 lore raw

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 <[email protected]> wrote:
You are 100% right. MPC8260 has 4 DMA channels which
can be programmed independently. Could I find some sample code from some place?

Quoted 21 lines · --- Manish Joshi

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.

Quoted 9 lines

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Linuxppc-embedded mailing list [email protected]

https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 6 lines

---------------------------------
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.