mpc 8309 pci master and agent

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

mpc 8309 pci master and agent

跳至解决方案
1,168 次查看
威杨
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 解答
1,040 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
1,041 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

1,040 次查看
威杨
Contributor III

Thank you very much

Thank you very much

Thank you very much

0 项奖励
回复