Forum Discussion

Mikhail_a's avatar
Mikhail_a
Icon for Occasional Contributor rankOccasional Contributor
3 years ago

FPGA to HPS bridge on Agilex 7

Hello

I'm trying to read and write from and to HPS SDRAM on Agilex 7 board

I have this configuration of fpga2hps interface:

On the other side I have two msgdma ip cores for MM to Stream and Stream to MM transfers. But MM to Stream DMA doesnt work as its busy bit is permanently set to 1. As I understood from reading the forum it can be related to fpga2sdram bridge which is not initialized right.

So my question is:

1) how to make sure my fpga2sdram bridge is in the right condition

2) what can be wrong with the MM to Stream DMA?

DMA settings:

FPGA to HPS AXI bus state:

22 Replies

  • Hi,


    Apologies for the late responds, in the doc I provided last time, it mentioned at the most bottom page, we do need to disable all bridges in U-boot if we have enabled them manually, before booting to the kernel, there is an issue with the RBO server currently, you may access it another time and confirm:

    https://www.rocketboards.org/foswiki/Projects/SettingUpAndUsingBridgesOnAgilex


    I guess that demonstrate the behavior you're seeing? Do you see any other issue if you manually disable the bridges, every time your enabled it in U-boot?


  • Mikhail_a's avatar
    Mikhail_a
    Icon for Occasional Contributor rankOccasional Contributor

    Hello.

    Unfortunately I didn't find any document you told you provided before. Could you please send it one more time?

    I tried to disable bridges in U-boot cmd console but without any success. Could you please provide the exact algorithm that can solve that issue?

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

    Hello!

    Thank you for your answer. Unfortunately this article handles the problem with FPGA2HPS but I have a problem with HPS2FPGA. Anyways I will update ATF to the latest version and try it.

  • Hi,


    I believe the initial issue was the FPGA2HPS bridge, could you open a new thread regarding the new issue you're facing and we will work on the new thread on your new issue.


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

    Hello,

    You are right. Lets finish this thread. Thank you.

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

    Sorry that was me but from another account. We can close this thread.

  • Hi,


    I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.



    p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.