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

Arria II GX PCIe card not recognized by OS

Altera_Forum
Honored Contributor II
1,294 Views

Hi, all 

I purchased the Arria II GX development kit and happily place it on my server's PCI slot, without changing any DIP switch or anything. But after OS (linux) boots, I can't find the device with lspci. Are there any special operation needed? Does the factory image includes the PCIe support? 

 

Sorry if this is an naive question. I searched around for a long time and get no answer. Any input will be helpful. 

 

Thanks
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
585 Views

Refer to the 'Factory Default Switch Settings' on page 4-2 of the user manual (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/ug/ug_aiigx_fpga_dev_kit.pdf). It looks like the PCIe mode DIP switch (SW3) needs to be changed before your server will detect the card's presence. The default setting is such that your server won't detect the card. 

 

Cheers, 

Alex
0 Kudos
Altera_Forum
Honored Contributor II
585 Views

Alex, thanks for replying. 

 

So do you have any hints how should I setup the SW3? I plugged the card into a X4 slot (in a riser card). I tried turn off Switch 2, i.e. connecting PCIE_PRSNT2n_x4 to PRSNT1, but no difference. I also noticed none of D24/D25/D26 is on, which, according to the reference manual table 2-11, (https://www.altera.com/en_us/pdfs/literature/manual/rm_aiigx_fpga_dev_board.pdf ), are the PCIe link width. 

 

Just curios that if the factory image includes PCI functionality or not. 

 

Thanks
0 Kudos
Altera_Forum
Honored Contributor II
585 Views

Some update: 

I change the SW3, turn off switch 1(i.e. connecting PCIE_PRSNT2n_x1 to PRSNT1) although it's in a x4 slot. And also I compiled the PCIe_hiperf_a2gx and programmed it to the card, in the end, my system can recognize the device. It does not always work, but at least works several time for me.
0 Kudos
Reply