FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
5842 Discussions

Linux driver PCIe Cyclone10GX

OlegT
New Contributor I
784 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
738 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

0 Kudos
3 Replies
KhaiChein_Y_Intel
752 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


0 Kudos
OlegT
New Contributor I
739 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.

0 Kudos
KhaiChein_Y_Intel
728 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


0 Kudos
Reply