Forum Discussion

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

Cyclone 10 GX PCI DMA Linux driver

After downloading the Cyclone 10 GX PCIe Gen 2 x4 DMA .par file from the Design Store I found that the Linux driver build scripts would not run because the files in the AN829_Driver.tar appear to have Windows line endings.

Does anyone know where the Linux driver can be downloaded from that just compiles out of the box?

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Stephen,

    Just use dost2unix utility to convert the line ending in the files.

    Regards,

    Petr
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks Petr. I converted all the text files to have Unix line endings but I didn't do this to the .o or .ko object files - I don't think I should?

    Anyway after doing this, the make file still reported errors in the compilation.

    I've put a service request in and the Altera Guy went through their own instructions and bumped into the same issue as myself. I'll try to remember to put the answer they gave me on this forum.