Forum Discussion

RGard2's avatar
RGard2
Icon for New Contributor rankNew Contributor
6 years ago

Are there known issues with accessing external DDR from the FPGA fabric on an Arria 10 SoC when using the Linux 4 kernel?

Note that we had no issues when using the Linux 3 kernel, but we are having issues now that we have moved to the Linux 4.20 release. Registers in the FPGA fabric can be written and read back successfully, so no issues in general with access between the HPS and the FPGA fabric. It seems to be related only to the interface between the FPGA and external DDR that it uses.

Thanks in advance!

4 Replies

  • RGard2's avatar
    RGard2
    Icon for New Contributor rankNew Contributor

    Issue resolved. There was a floating GPIO that fed the resets of the DDRs.

    el.ign - Thanks for your suggestions and assistance.

  • RGard2's avatar
    RGard2
    Icon for New Contributor rankNew Contributor

    Hi,

    Thanks for the reply.

    We are able to read/write registers in the FPGA when using both Linux 3 and Linux 4.20. External DDR is connected to the FPGA for expanded storage. There are registers in the FPGA that reflect the status of the DDR calibration during initialization. On startup, we write/read registers in the FPGA (for configuration) and we read the aforementioned FPGA registers to check the status of the DDR calibration. We read back a successful status when using Linux 3 but a bad status (calibration complete is never indicated) when using Linux 4.20. Just want to re-iterate that we know we are reading/writing registers in the FPGA correctly in Linux 4.20, so it seems to be an issue specific to the DDR calibration, interface, operation, etc.

    Thanks for the user guide, I'll take a look. If you have any other feedback, it would be greatly appreciated.

    Thanks again and best regards.

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

      Hi,

      What is the specifications of the DDR that you are using on the FPGA fabric?