Exchanging data between CPU and FPGA through shared DDR

Patryk pbiel7 at gmail.com
Tue Aug 19 06:52:28 EDT 2025


Hi,
I'm working on a SoC where both the CPU and an FPGA have access to the same
DDR memory. I need to exchange data between them.
One idea I have is to reserve a portion of DDR via the device tree
(reserved-memory node), so that the kernel will not use it, and then use
ioremap (or similar) to expose that region to user space so an application
can communicate with the FPGA.
Is this the right approach, or is there a more recommended mechanism in the
kernel for CPU - FPGA data exchange using shared DDR?

Best regards
Patryk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20250819/483edc62/attachment.html>


More information about the Kernelnewbies mailing list