Exchanging data between CPU and FPGA through shared DDR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux