Forum Discussion
Yes, "sudo ./install cyclone10" is what creates and load the "altera_dma" module you see in the lsmod output. However, this fails with an obscure error around the following lines:
major=`grep -w $module /proc/devices | cut -f1 -d" "`
mknod /dev/$device c $major 0Since the card isn't listed in /proc/devices, $major is null and mknod fails. I cannot execute "sudo ./run" successfully since the driver did not fully load.
I was able to get a little farther, though. It turns out AN829, within the Quartus PCIe Hard IP Core settings, uses a PCIe device class of 0x000000. This is technically invalid. I changed it to 0x040000 and now the driver installs. This is great news.
Unfortunately, the card tries to reserve a large block of address space (0x000000 - 0x7FFFFF for BAR 2 and 0x800000 - 0x8001FF for BAR 0). The machine I have it slotted in seems to be failing to allocate that address space (it's over half of the total available PCIe space).
So I made progress, but still haven't gotten AN829 working.