EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Linux DMA driver and device support for Xilinx FPGA
From: "Mooney, Tim M. via Tech-talk" <[email protected]>
To: "[email protected]" <[email protected]>, "Ha, Kiman" <[email protected]>
Date: Sat, 9 Nov 2019 23:30:01 +0000
Hi Kiman,

softGlueZynq uses a DMA component in the FPGA with a PetaLinux kernel driver from Xilinx, and a kernal-to-user-space driver written by a Xilinx engineer, though not supplied with PetaLinux.  It won't do the transfer rate you describe, however.  The estimate I recall was around 240 MB/s to kernel space, and around 130 MB/s to user space.  In softGlueZynq, the DMA transfer is initiated by an aSub record which also stores the data.  Everything - FPGA content, PetaLinux config and code, and EPICS code - is here: https://github.com/epics-modules/softGlueZynq

As you know, the PandaBox also does DMA with the Zynq.  I don't know the details, except that Tom Cobb wrote his own kernel driver.

I think both your and our detector groups are getting higher data-transfer speeds using transceivers.

Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


From: Tech-talk <[email protected]> on behalf of Ha, Kiman via Tech-talk <[email protected]>
Sent: Saturday, November 9, 2019 4:22 PM
To: [email protected] <[email protected]>
Subject: Linux DMA driver and device support for Xilinx FPGA
 

Hello,

 

I am looking for the DMA driver and epics device support module for the Xilinx Zynq and Zynq ultrascal+ core.

Does anyone have to experience generic DMA support for the  Xilinx Zynq or Zynq ultrascal+ core or have a plan for the development?

 

For example, we developed four channel 500 MHz digitizer for the bunch by bunch beam position monitor (performance looks good, < 300 nm turn by tune position for the NSLS-II).

Currently, prototype supports an FPGA logic block ram (BRAM, 8 K/16 K * 16bit * 4, 500MHz clock rate) .

I have plan provides at least 1 M * 16bit * 4)  or 2 M points from the external DDR3/4 memory (FPGA side we implemented DMA core, but Linux part needs help) .

Because our physics group wants to minimum 1000 turns BxB position data.

If we have an epics device support, that’s very valuable for many diagnostics applications, especially beam diagnostics and physics applications.

 

Thanks,

Kiman

 

 


Replies:
Re: Linux DMA driver and device support for Xilinx FPGA Cobb, Tom (DLSLtd,RAL,LSCI) via Tech-talk
References:
Linux DMA driver and device support for Xilinx FPGA Ha, Kiman via Tech-talk

Navigate by Date:
Prev: Linux DMA driver and device support for Xilinx FPGA Ha, Kiman via Tech-talk
Next: using stream failed =?gb18030?b?t+fQ0Muu?= via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Linux DMA driver and device support for Xilinx FPGA Ha, Kiman via Tech-talk
Next: Re: Linux DMA driver and device support for Xilinx FPGA Cobb, Tom (DLSLtd,RAL,LSCI) via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 11 Nov 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·