Dma over PCI device (device tree)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Dma over PCI device (device tree)

816件の閲覧回数
manoloruiz
Contributor III

Hi,

I want to do dma transfers between PCi device and RAM in my T2080RDB. I have created a device driver but it does not work properly. It looks like it is not allow to write in the address that  I give to it .

I am wondering if I have to change something in the dbt or in the PCI configuration registers in my T2080rdb.

Any idea?

BR.

ラベル(3)
0 件の賞賛
2 返答(返信)

462件の閲覧回数
manoloruiz
Contributor III

Hi Lunmin,

Thank very much for your answer. I have solved the problem. I used pci_set_dma_mask function in order to provide an address below 2GB. My PCI device only is able to acces the first 2 GB.

Best Regards

0 件の賞賛

462件の閲覧回数
lunminliang
NXP Employee
NXP Employee

Hello,

Could you please provide more information:

1. What version of Linux kernel using? SDK version?

2. What device driver trying to create?

3. What address trying to access?

4. Are you trying to access that address from user space or kernel space?

Thanks.

BR

Lunmin

0 件の賞賛