Re: [yocto] [meta-xilinx] How to include Xilinx DMA driver

2017-09-14 Thread Sandeep Gundlupet Raju
Hi Fan, Thanks, Sandeep -Original Message- From: meta-xilinx-boun...@yoctoproject.org [mailto:meta-xilinx-boun...@yoctoproject.org] On Behalf Of Fan Zhang Sent: Monday, September 11, 2017 9:38 AM To: Robert Berger ; yocto@yoctoproject.org; meta-xil...@yoctoproject.org Subject: Re: [met

Re: [yocto] [meta-xilinx] How to include Xilinx DMA driver

2017-09-12 Thread Fan Zhang
Hi Sandeep, Thank you for your answer. Can you give some more info on how to get the CCF working in Yocto Linux? I can't find much online. I tried building clkc.c and pll.c as out of tree driver by copy over content in the folder kernel-source\drivers\clk\zynq, change the makefile and add the

Re: [yocto] [meta-xilinx] How to include Xilinx DMA driver

2017-09-11 Thread Fan Zhang
Hi all Thank you Robert for the guide. I tried option [1] out of tree driver. Got it compiled, and loaded when image boot up. My understand of the dma driver is that Linux DMA engine depends on the Xilinx device driver (xilinx_cdma.c) and then dma_proxy.c driver depends on the Linux DMA engin

Re: [yocto] [meta-xilinx] How to include Xilinx DMA driver

2017-09-08 Thread Robert Berger
Hi, On 2017-09-08 19:00, Fan Zhang wrote: Hi All, 1. How to include xilinx_dma.c driver in to the poky image build? In case you want to include out-of tree drivers it could work like this[1] in case you want in-tree it's just a kernel patch similar to[2]. Apparently you will need to turn

[yocto] [meta-xilinx] How to include Xilinx DMA driver

2017-09-08 Thread Fan Zhang
Hi All, I have a design on Zynq that uses DMA, and I need to setup a driver to program the DMA controller, setup the data transfer and supply data to user space. I searched around in the Xilinx forum, and found an dma_proxy driver. Xilinx also provides an xilinx_dma.c driver for the DMA. It