kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Exchanging data between CPU and FPGA through shared DDR
@ 2025-08-19 10:52 Patryk
  0 siblings, 0 replies; only message in thread
From: Patryk @ 2025-08-19 10:52 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 527 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 612 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-19 10:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19 10:52 Exchanging data between CPU and FPGA through shared DDR Patryk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).