FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5892 Discussions

Meet issue when enabling Avalon memory mapped IP on S10 GX dev kit card

He4Forum
Employee
749 Views

When I follow  https://www.intel.com/content/www/us/en/docs/programmable/683527/21-1/generating-the-design-example.html Chapter 2.6. Installing the Linux Kerbel Driver to install driver for S10 dev kit card and want to verify the driver is installed correctly.

He4Forum_0-1647238728200.png

So I run the command,

$ lsmod | grep intel_fpga_pcie_drv

then the output is,

intel_fpga_pcie_drv        32768         0

Next command is $ lspci -d 1172:000 -v | grep intel_fpga_pcie_drv, while there is no output. I'm not sure if the vendor and device id in the guide is suitable for this card, so I just run

 $ lspci | grep intel_fpga_pcie_drv

and also no output.

 

I went to the example folder to test whether the example design could work. No matter I chose to automatiaclly select a device or to mannually select the device following the guide, the design could not work.

He4Forum_1-1647239207070.png

 

Also I'm wondering whether the card is detected via PCIe port by the host machine. Because when I run $ lscpi, I cannot find a device description which seems for the S10 dev kit card. Are there a set of PCI IDs for S10 dev kit card so that I can check if the card can be detected as a PCIe device?

 

Thank you.

0 Kudos
1 Solution
He4Forum
Employee
625 Views

Thank you so much for reply.

I just solved this issue by choosing the correct target dev kit when compiling the IP design. This issue is caused by the wrong pin mapping.

View solution in original post

0 Kudos
4 Replies
He4Forum
Employee
707 Views

I found that programming the FPGA has just failed. Maybe that's why the PCIe cannot detect the card.

 

He4Forum_0-1647249932489.png

He4Forum_1-1647249945073.png

 

I have checked the device id. The ordering code of s10 dev kit card is DK-DEV-1SGX-L-A.

He4Forum_2-1647249976639.png

So I chose the device in Quartus Software like this.

He4Forum_3-1647250000306.png

 

While in Programmer box, there is no 1SG280LU2F50E2VG, so I chose 1SG280LU2F50.

He4Forum_4-1647250045963.png

Is it caused by wrong selection for device ID that I cannot program the sof file to the card successfully? Or any other insights about the reason?

 

Look forward to reply. Thanks.

 

0 Kudos
He4Forum
Employee
647 Views

This issue is solved after adding necessary QSF setting to the configuration. While the card still could not be detected via PCIe.

0 Kudos
skbeh
Employee
638 Views

In Step 5 when you executed lspic to verify if Linux recognizes the PCIe design example but no output, this indicate that the S10 dev kit was not detected by the host. 0x1172 is the S10 PCIe Vendor ID. The PCIe IP for all FPGA families are using this similar Vendor ID.
$ lspci -d 1172:000 -v | grep intel_fpga_pcie_drv

 

0 Kudos
He4Forum
Employee
626 Views

Thank you so much for reply.

I just solved this issue by choosing the correct target dev kit when compiling the IP design. This issue is caused by the wrong pin mapping.

0 Kudos
Reply