AnsweredAssumed Answered

Recompiling linux Kernel : error in xilinx_dma.h ?

Question asked by Seb@Airbus on Oct 3, 2014
Latest reply on Oct 6, 2014 by Seb@Airbus

Hello,

I downloaded from the AnalogDevices Github : <linux-xcomm_zynq>

When compiling:

make ARCH=arm CROSS_COMPILE=arm-xilinx-linux-gnueabi UIMAGE_LOADADDE=0x8000 uImage

i get the error :

drivers/media/platform/xilinx/xilinx-dma.c @478,634 : storage size of config isn't known

 

The problem seems to reside in include/linux/amba/xilinx_dma.h :

In the file from the XILINX github, the structre <struct xilinx_vdma_config> is defined, along with <struct xilinx_cdma_config> and <struct xilinx_dma_config>

Yet in the file from Analog's Github : only <struct xilinx_dma_config> is defined, and covers the vdma contents. The fix seems to be replacing the vdma struct by a dma.

Could you confirm this is correct, or if Xilinx's Vdma structure has to be reincluded in xilinx_dma.h

 

Thanks,

Sébastien

Outcomes