Hello. A few days ago I got this eval board (816X/389x) and I am trying to test the data throughput from a PCI card (Xilinx FPGA) to the cpu, with no success so far. What I have:
1) tools: ti-ezsdk_dm816x-evm_5_01_01_80
2) driver: Xilinx provided some source code for x86 linux. I built the driver within this cpu kernel. I do not have problems with writing/reading FPGA registers, using this driver, but when I set a flag in one of them that makes the FPGA to initiate a DMA, the DMA does not show that started (or concluded). This would be shown by another FPGA register.
I am not experienced with the PCI functionality, but I assumed that the kernel should take care of the DMA request by the FPGA. I may be wrong on this, though. Do I have to do something that will make the kernel to provide the DMA support? I should note here that I have built the kernel with PCI enabled (plus PCI Debugging, under the 'Bus Support' option ) and DMA Engine enabled too (with debugging, as well). Although, I enabled the debugging options as noted above, I am not sure I could detect anything that would help me on it.
Also, is there a (relatively low) limit on the amount of the packet transferred through DMA? I think the example I am using asks for a 4 KB packet transfer.
Any help will be appreciated. Thanks