AN690 PCIe Gen3 x8 MM DMA altera_dma driver issues
I'm having issues getting AN690 up and running on my A10 GX Dev Kit. I can successfully program the device and see the device listed when I run lspci -vv (as seen in the screenshot below)
However, when running ./install the script hits an issue in the altera_dma_load stage when running the mkmod command. It appears as though the $major variable is not being assigned a value as no device is found in /proc/devices
I have also tried AN829 but run into the same issue.
I am attempting to run this on an NVidia Jetson AGX (ArmV8 processor) running Ubuntu 18.04.5 LTS.
To get the drivers to compile I had to add #include <linux/uacccess.h> to altera_dma.c and ccflags-y += "Wno_date_time" to the Makefile
I notice others with the same problem but have not seen a definitive solution. I would really appreciate any help here. I'm new to Intel/Altera after using Xilinx for many years and my experience has not been smooth so far.