bperez77 / xilinx_axidma

A zero-copy Linux driver and a userspace interface library for Xilinx's AXI DMA and VDMA IP blocks. These serve as bridges for communication between the processing system and FPGA programmable logic fabric, through one of the DMA ports on the Zynq processing system. Distributed under the MIT License.
MIT License
464 stars 227 forks source link

axi dma例程编译使用方法 #128

Open 13419195141 opened 3 years ago

13419195141 commented 3 years ago

你好,我在网上看了许多讲解关于axi dma的,同样我也实现了petalinux 2018.3创建module,在开发板上成功运行了程序,insmode内核文件,但是,如果我想把生成的.ko文件拿出来放在自己的linux根文件系统使用,结果运行时出错了,请问是怎么回事呢?有什么注意的地方吗?具体是如何使用的呢?

leevick commented 3 years ago

驱动编译的时候需要指定内核编译路径,并且使用的时候内核版本要和编译的时候一致。