Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21584 Discussions

Cannot load PCIe driver into the linux of Atom, De2i-150

Altera_Forum
Honored Contributor II
1,497 Views

I followed everything that the manual said to build a PCIe system using Qsys, where user logic has nothing else but a LED I/O. 

I generated the Qsys and loaded the *.sof file onto the board, and rebooted the yocto system. 

 

now here comes the problem, I tried to install the PCI driver that Terasic provided but the ternimal kept telling me "Matching device not found", it's strange that I did set the right vender number and system number in the config file corresponding to my Qsys design. I even tried just copy the whole Qsys PCI design that the demo given into my own project but same error happens. 

 

I can only install the driver when I use the *.sof file of the demo. I need to build my only PCI system to meet my needs. 

 

Please help me or give me some hints, thanks, that would be greatly appreciated.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
754 Views

I'm having the same error message. 

 

Following demo instructions.. 

After configuring FPGA board, in Yocto host: "sh ./load_terasic_qsys_pcie_driver.sh de2i_150_config_file" 

error: "Matching Device Not Found" 

 

de2i_150_config_file: 

vendor id - 0x1172 

device id - 0xe001 

These ids were verified from the FPGA source files. 

 

The PCIe driver was loaded successfully, terasic_qsys_pcie.ko. The FPGA is working A okay as well. 

However, Yocto cannot see the FPGA as a PCI device. 

 

Will be very thankful for any help on this.
0 Kudos
Reply