Forum Discussion
Altera_Forum
Honored Contributor
11 years agoPCIe Driver
Hi everybody, I`m new on this forum and in the usage of Altera product, then be patients please. I`m not able to find the answer to my questions. I want read and write from my FPGA (Stratix V) ...
Altera_Forum
Honored Contributor
11 years agoThe copy of the linux jungo driver that is referenced from some other Altera docs is very old and broken beyond belief.
It won't compile for any recent linux and internally does a load of things that just aren't allowed - so it isn't a matter of fixing up the compilation errors. I doubt (not looked) that the version referenced by the wiki is any better. Accessing the fpga resources directly from userspace just requires a simple driver that uses vm_iomap_memory(). Allocate dma memory with dma_zalloc_coherent() and map into usespace with remap_pfn_range(). You might need 3.13 or later.