Forum Discussion

alexislms's avatar
alexislms
Icon for Contributor rankContributor
4 years ago
Solved

Example design: Agilex I-series devkit not detected by lspci (stuck in S_CFG_LINKWD_START)

I've been trying to compile a PCI Express example design for the Agilex I-series devkit.

1. Nothing works on the projects provided here ES (21.2 or higher)

Found here: https://www.intel.com/content/www/us/en/products/details/fpga/development-kits/agilex/i-series.html

Programming the sof present in the zip using Quartus Pro 21.2, rebooting the server, board not detected by lspci

pcie_ed_inst0|dut|p0_ltssm_state_delay_o[5..0] seems to be stuck to 0x07=S_CFG_LINKWD_START

The motherboard has no issues with any other PCIe cards.

2. Using Quartus Pro 22.1, I followed UG-20330 to generate from scratch the example design.

The compilation ends successfully but the board isn't detected either.

Could you please provide a working example design for the intel devkit already compiled to be sure the problem isn't on the project?

Also what is S_CFG_LINKWD_START?

Regards,

  • alexislms's avatar
    alexislms
    4 years ago

    I found the issue.

    The default position for the SW3 is defined in the UG as OFF/ON/ON/OFF, to use the refclk from the connector.

    The board was received with OFF/OFF/OFF/OFF, to use the on-board refclk.

    I set the SW3 as documented and it's now enumerated by the bios and seen in lspci.

    Why it doesn't work using the on-board refclks?

    Devkit: DK-DEV-AGI027RES

    Serial number: AGIPCIE8000248

    Regards,

16 Replies

    • alexislms's avatar
      alexislms
      Icon for Contributor rankContributor

      Hi @Wincent_Altera,

      Thank you, it's currently compiling with Quartus Pro 21.2.

      At this moment, I don't have a Gen4x16 capable motherboard available, only Gen3x16.

      Regards,

    • alexislms's avatar
      alexislms
      Icon for Contributor rankContributor

      Hi @Wincent_Altera,

      • I added the smartVID to your project and it programs successfully now.
      • I tried 3 different motherboards (up to Gen3x16) and no one detects the card with the 22.1 project and your project.
      • I checked several times the physical connection, no issues, it's fully in and it works with all the other PCIe cards we have. Nevertheless, I could only test in lab servers where the card is vertically plugged in due to the PCIe bracket being 1cm taller than the standard size.

      Thank you for the patch, I installed it and the project is compiling.

      Regards,

    • alexislms's avatar
      alexislms
      Icon for Contributor rankContributor

      I found the issue.

      The default position for the SW3 is defined in the UG as OFF/ON/ON/OFF, to use the refclk from the connector.

      The board was received with OFF/OFF/OFF/OFF, to use the on-board refclk.

      I set the SW3 as documented and it's now enumerated by the bios and seen in lspci.

      Why it doesn't work using the on-board refclks?

      Devkit: DK-DEV-AGI027RES

      Serial number: AGIPCIE8000248

      Regards,

      • Wincent_Altera's avatar
        Wincent_Altera
        Icon for Regular Contributor rankRegular Contributor

        Hi,

        Glad that you solve the issue, thanks for sharing with me as well

        Seen that the problem happens on the refclks settings if follow Error Code 18948

        https://www.intel.com/content/www/us/en/support/programmable/articles/000086828.html

        With that, I am setting this case to close status at this time.

        If you have a new question, feel free to open a new thread to get support from Intel experts.

        Otherwise, the community users will continue to help you on this thread. Thank you

        I would appreciate taking a moment to fill out the short survey with regards to your experience using Intel Forum.

        Regards,

        Wincent_C_Intel

  • Wincent_Altera's avatar
    Wincent_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    Thank you for reaching out.

    Just to let you know that Intel has received your support request and I am assigned to work on it.

    Allow me some time to look into your issue. I shall come back to you with the findings.


    Thank you for your patience.


    Best regards,

    Wincent_C_Intel


    • alexislms's avatar
      alexislms
      Icon for Contributor rankContributor

      Hi @Wincent_Altera,

      Thank you for your help, we are completely blocked due to this issue and have no way to debug it by ourselves.

      Please let me know if you need anything more.

      Best regards,

  • Wincent_Altera's avatar
    Wincent_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    Initially, I suspend R-Tile's different behavior on different Motherboard may be related to Preset negotiation between Motherboard and R-Tile.

    Is okay, let see the result after you compile the file.


    Looking forward to hear back from you.

    Regards,

    Wincent_C_Intel