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
474 stars 230 forks source link

petalinux工程编译后,没有找到内核源码树位置,在/build/tmp/sysroots下没有文件呢 #130

Open 13419195141 opened 3 years ago

13419195141 commented 3 years ago

petalinux工程编译后,没有找到内核源码树位置,在/build/tmp/sysroots下没有文件呢

leevick commented 3 years ago
  1. Checkout whether your module is enabled in the petalinux rootfs config menu
  2. Make sure that you've properly modified the Makefile of the module

If everything goes well, the output file will locate at ./build/tmp/sysroots-components/plnx_zynq7/axidma/lib/modules/4.19.0-xilinx-v2019.2/extra/axidma.ko after compilation. Here I'm using petalinux 2019.2, the path may differ as you may have a different version of petalinux.