02-03-2019 03:40 AM
I'm trying to run the dma driver from https://github.com/bperez77/xilinx_axidma
it has many files and includes , so I downloaded the same linux of my petalinux :
Linux peta64 4.14.0-xilinx #2 SMP PREEMPT Sun Feb 3 02:09:53 PST 2019 armv7l GNU/Linu
and the rebase is :
then when I configure the make file to point to the path above I get the error :
insmod: can't insert 'axidma.ko': invalid module format
but I did changed my petaLinux to use this rebase when I compile the Kernel and it worked, I can get to compile when I compile the kernel, but when I generate the kernel from PetaLinux, it asked to clean the compilation. So , I think somehow, when I compile Kernel using Peta is different than using make ... even pointing to the same base.
All I want is to be able to test a DMA driver ...
02-03-2019 09:55 AM
02-03-2019 12:21 PM
I will try it but I made to work following the developer steps :
which is basically creating a module from petalinux-create -t modules -n simple, copying all file to the module folder,
and adding the files names to a .bb file. It worked well, now I am trying to compile the benchmark.