Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

Problem on Linux PCI Express driver for an Avalon-MM DMA reference design

Hi Everyone,

I'm following this link http://www.alterawiki.com/wiki/reference_design_-_gen3_x8_avmm_256-bit_dma_-_stratix_v to setup DMA communication for Stratix V device. I have successfully program the FPGA and the hardware side seems to be Okay. However, I have difficulty running the Linux Driver provided in the above link for Linux. Before telling what exactly the problem is it might be good to know that I have ubuntu and the kernel version is 3.19.

So, trying to install the driver I got this message running dmesg.

altera dma 0000:01:00.0: can't enable device: bar 0 [mem 0x00000000-0x000001ff 64bit pref] not claimed

Worth to mention, when I run lspci command here is what I get:

01:00.0 non-vga unclassified device: altera corporation device e003 (rev 01)

So I assume there should be any problem with the hardware side because the linux can detect the pcie connected device.

Is anyone have any thoughts what might be the problem ? Thank you in advance for any help.

4 Replies

  • senjd's avatar
    senjd
    Icon for New Contributor rankNew Contributor

    Hi, did you find anything on this. i am having the same problem

  • SLal01's avatar
    SLal01
    Icon for New Contributor rankNew Contributor

    I am also having the same problem. Any updates on this issue ?

  • MMate10's avatar
    MMate10
    Icon for New Contributor rankNew Contributor

    I have the same message for Stratix 10 DE10-Pro board.

    • senjd's avatar
      senjd
      Icon for New Contributor rankNew Contributor

      hi

      can you check with lspci --xvv?

      if you got the address for your bar then you might need to look into your driver. ​