FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5239 Discussions

Linux driver PCIe Cyclone10GX

OlegT
New Contributor I
349 Views

Hello.

We have bought Cyclone10GX Development Kit and try to check PCIe bandwidth.

I use your Cyclone10GX_PCIeGen2x4_DMA_18_0_project. It contains driver and user application sources.

I am not able to compile them.

Used OS is Ubuntu 20.04.2 LTS.

GCC version is (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0.

When I type "sudo ./install cyclone10", I got many errors. like this:

altera_dma_cmd.h:50:20: error: field ‘write_time’ has incomplete type
50 | struct timeval write_time;

 

Looks like compiler version is not copmatible. But I can be wrong.

Please help to compile the driver.

Best regards,

Oleg.

0 Kudos
1 Solution
OlegT
New Contributor I
303 Views

The problem is in "struct timeval". It is not supported since kernel 5.6. 

Ubuntu 20.04 has kernel 5.8. So I had to get rid of this structure.

View solution in original post

3 Replies
KhaiChein_Y_Intel
317 Views

Hi Oleg,


This error is not observed in Redhat/CentOS. It might have some OS or system dependencies. Could you try using other OS?


Thanks

Best regards,

KhaiY


OlegT
New Contributor I
304 Views

The problem is in "struct timeval". It is not supported since kernel 5.6. 

Ubuntu 20.04 has kernel 5.8. So I had to get rid of this structure.

KhaiChein_Y_Intel
293 Views

Hi Oleg,


I’m glad that the root cause is identified, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


Thanks

Best regards,

KhaiY


Reply