Forum Discussion
Altera_Forum
Honored Contributor
8 years agoCan't get PCIe (avalon-MM) reference design to work on Arria 10 Dev Kit.
Hi all, Our research lab recently purchased an Arria 10 GX FPGA Dev Kit. We would like conduct some studies which require transferring data between the host computer and the FPGA via PCIe, so w...
Altera_Forum
Honored Contributor
8 years agoHi eapenabrm,
thank you for the suggestions! Now I've switched to the "two-machine" method, as stated on page 13 in this document (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/an/an456.pdf), to program the FPGA. I can see the Altera device in the output of lspci | grep Altera , and when I execute lsmod | grep altera, I can see that the module altera_dma is loaded. However, the device file /dev/altera_dma never really shows up. There was only once I could get the the device /dev/altera_dma to appear under /dev/, but in that one case, the DMA requests always timed out. In all the other attempts, I never be able to make /dev/altera_dma to show up again (meaning I will see "chmod: cannot access /dev/altera_dma: No such file or directory" when executing "sudo ./install" of the ref design software; I am not able to execute the ./install and ./run of the reference software successfully). dmesg shows the following relevant messages, but I am not sure what went wrong:
altera_dma: module verification failed: signature and/or required key missing - tainting kernel Altera DMA: altera_dma_init(), Nov 7 2017 10:46:02
Altera DMA 0000:01:00.0: Refused to change power state, currently in D3
Altera DMA 0000:01:00.0: can't enable device: BAR 0 not claimed
Altera DMA 0000:01:00.0: pci_enable_device() failed
Altera DMA 0000:01:00.0: goto err_enable
Altera DMA 0000:01:00.0: goto err_initchrdev
Altera DMA 0000:01:00.0: goto err_bk_alloc
Altera DMA: probe of 0000:01:00.0 failed with error -22
Altera DMA: altera_dma_init(), Nov 7 2017 10:46:05
Altera DMA 0000:01:00.0: Refused to change power state, currently in D3
Altera DMA 0000:01:00.0: can't enable device: BAR 0 not claimed
Altera DMA 0000:01:00.0: pci_enable_device() failed
Altera DMA 0000:01:00.0: goto err_enable
Altera DMA 0000:01:00.0: goto err_initchrdev
Altera DMA 0000:01:00.0: goto err_bk_alloc
Altera DMA: probe of 0000:01:00.0 failed with error -22
Any suggestion is much appreciated!!!!