Hi, All!
1) I have a custom board based on DM816x.
2) On board I have 512MB DDR3 connected to EMIF1 and FPGA device connected to the processor via PCI Express bus.
3) I wrote driver for FPGA device (porting it from my x86 version). In driver I get memory buffers with dma_alloc_coherent(...) function, and I can allocate only less or equal 4MB of DMA memory, but I need much more memory.
Please tell me:
- How I can increase amount of DMA memory? (change PCI memory map or something else, I can not use allocation at boot time)
- How I can share allocated (dma_alloc_coherent or __get_free_pages) DMA memory between ARM and DSP processors? (May be this is impossible)
- Maybe there are ready solutions of the problem?
Thank you for all.