Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12608 Discussions

PCIe driver for Linux - Cyclon IV Trans. Starter kit

Altera_Forum
Honored Contributor II
1,052 Views

Hi all, 

I was working with this kit few weeks ago and got through Jungo Driver the PCIe driver working on Linux OS but now i'm trying to use it (PCIe driver) on my application. I got hundreds of errors when i compile it. My project is a Socket server developed in C. I'm using eclipse to work on it and Linux GCC to compile the project. So the question is the following: 

- Do you know which files should i add to my project to be able to use the driver?? Because there are a lot of source files (*.c), headers (*.h) and libraries supplied by Jungo Driver. I have added a lot of files but still got lot of errors. 

Maybe there is some information that i couldn't get yet and you guys can help me or maybe someone has worked in a similar project, so on. 

Thanks in advance. 

 

Juan.-
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
290 Views

If you just want to access the PCIe device as a memory mapped device under Linux, then you do not need a driver at all. See the pci_debug program in the zip file in this thread for an example: 

 

http://www.alteraforum.com/forum/showthread.php?t=35678 

 

Once you need to use interrupts, then you do need a driver. 

 

Cheers, 

Dave
0 Kudos
Reply