mpc 8309 pci master and agent

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mpc 8309 pci master and agent

Jump to solution
605 Views
威杨
Contributor III

Hello

   i new to use mpc8309's pci, my board has two mpc8309,one as pci master,other as pci agent,between them is pci bus.pci master 8309 read or write agent 8309 through pci bus,agent 8309 also can read or write the same addr.i know 

need set pci outbound and pci inbound, i don’t know  PCI Outbound Translation Address Registers (POTARn)  and  PCI Inbound Translation Address Registers (PITARn) how to set, please give me some advices.

if i use mpc8309 as a master pci device.

pastedImage_1.png

if  PCILAWBAR0 values is 0x80000000.

i want to know pci outbound transiation address、pci outbound base address how to set

Thanks

1 Solution
477 Views
Pavel
NXP Employee
NXP Employee

Look at the following Application Notes:

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.366.2825&rep=rep1&type=pdf

http://cache.freescale.com/files/32bit/doc/app_note/AN2431.pdf

http://www.nxp.com/assets/documents/data/en/application-notes/AN3098.pdf

 

See the following code as example:

https://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13/2.6.13-mm1/broken-out/ppc32-a...


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
478 Views
Pavel
NXP Employee
NXP Employee

Look at the following Application Notes:

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.366.2825&rep=rep1&type=pdf

http://cache.freescale.com/files/32bit/doc/app_note/AN2431.pdf

http://www.nxp.com/assets/documents/data/en/application-notes/AN3098.pdf

 

See the following code as example:

https://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13/2.6.13-mm1/broken-out/ppc32-a...


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

477 Views
威杨
Contributor III

Thank you very much

Thank you very much

Thank you very much

0 Kudos