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: "Cobb, Tom \(DLSLtd,RAL,LSCI\) via Tech-talk" <[email protected]>
To: "Mooney, Tim M. via Tech-talk" <[email protected]>, "Ha, Kiman" <[email protected]>
Date: Mon, 11 Nov 2019 11:34:38 +0000
Hi Kiman,

Just a clarification on PandA, it does indeed have its own kernel driver but I didn't write it. The VHDL side was written by Isa Uzun (no longer at Diamond), and the kernel driver was written by Michael Abbott (copied).  The DMA engine is a special streaming engine built into the firmware.

Thanks,
Tom


From: Tech-talk <[email protected]> on behalf of Mooney, Tim M. via Tech-talk <[email protected]>
Sent: 09 November 2019 23:30
To: [email protected] <[email protected]>; Ha, Kiman <[email protected]>
Subject: Re: Linux DMA driver and device support for Xilinx FPGA
 
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

 

 

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


References:
Linux DMA driver and device support for Xilinx FPGA Ha, Kiman via Tech-talk
Re: Linux DMA driver and device support for Xilinx FPGA Mooney, Tim M. via Tech-talk

Navigate by Date:
Prev: Segmentation fault when Record Processing in StreamDevice Donny Domagoj Cosic via Tech-talk
Next: RE: Segmentation fault when Record Processing in StreamDevice Mark Rivers 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: Re: Linux DMA driver and device support for Xilinx FPGA Mooney, Tim M. via Tech-talk
Next: Re: Linux DMA driver and device support for Xilinx FPGA Hinko Kocevar 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 ·