Forum Discussion
Hi,
I apologize that I am not so familiar with devmem/mmap system.
But for that I do find some related do it, not sure if this is helpful to you or not
- https://ftp.intel.com/Public/Pub/fpgaup/pub/Intel_Material/17.0/Tutorials/Linux_On_DE_Series_Boards.pdf
- https://forum.rocketboards.org/t/how-to-read-and-write-an-on-chip-fifo-from-hps-arm/849/3
Regards,
Wincent_Intel
Thank you Wincent, but I the problem is not how to use devmem/mmap in software. What I asked for is a simpler PCIe reference design which only has a register block or small RAM/FIFO I can access using devmem/mmap. All the other reference designs are using DMA which require a device driver to set up descriptors etc. The problem is that the device drivers I've found so far are only available for Windows.
So either
1) A simple PCIe reference design containing a memory region in the FPGA fabric which I can access using mmap on Linux.
2) Source for a Linux device driver (presumably for kernel 5.15.x) for the current PCIe DMA reference designs.