Forum Discussion

raju1421's avatar
raju1421
Icon for Occasional Contributor rankOccasional Contributor
2 years ago
Solved

[Agilex]:Error Sending Bitstream..!!

Dear Experts,

We are currently working with the Agilex 7 F-Series SOC Development Kit and following the steps outlined in the provided link:
[Agilex PCIe Root Port | Documentation | RocketBoards.org]

However, during the Linux boot-up process, we are encountering the following issues:

“Error sending bitstream!”
“FPGA image is corrupted or invalid.”
“SCRIPT FAILED: continuing…”
" Unable to read file / "

It’s important to note that we are booting from an SD card and using the prebuilt binaries for the PCIe Root Port reference design.

We would greatly appreciate your assistance in resolving the issue and ensuring a successful boot-up process.

Thanks & Regards

Raju Satrasala

14 Replies

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

    Hello Raju Satrasala,

    I understand that you're facing issues with the Agilex 7 F-Series SOC Development Kit during the Linux boot-up process when using the provided prebuilt binaries for the PCIe Root Port reference design.

    The error messages you've encountered suggest problems with the FPGA image or other script failures. Let's try to troubleshoot the issue:


    FPGA Image Check:

    • Verify that the FPGA image you're trying to load is not corrupted. Make sure it was built and programmed correctly. Check the bitstream file and its integrity.

    SD Card Check:

    • Ensure the SD card is properly inserted, and the files on it are not corrupted. You may want to reformat the SD card and copy the necessary files onto it again.

    Boot Sequence:

    • Double-check the boot sequence and configuration settings in the board's U-Boot environment. Ensure that the SD card is set as the primary boot device.

    File Paths:

    • The "Unable to read file /" error suggests that the bootloader can't find the necessary files. Verify that the file paths in your boot script are correctly configured.

    Script and Environment Variables:

    • Review the boot script and environment variables in U-Boot to make sure they are set up correctly. Ensure that the script points to the right locations for the FPGA image and other essential files.


    If you have performed all the suggested tests and ensure that the file that you downloaded from Rocketboard is no problem, please talk with the developer.

    I saw there is an open forum page in RocketBoard forum https://forum.rocketboards.org/t/agilex-error-sending-bitstream/3273 file by you as well.


    Regards,

    Wincent_Intel



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

    Hi,

    I wish to follow up with you about this case.

    Do you have any further questions on this matter ?

    ​​​​​​​Else I would like to have your permission to close this forum ticket

    Regards,

    Wincent_Intel

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


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

    Hi @Wincent_Altera ,

    Thank you for your response.

    We are utilizing the default wic image from the Intel Agilex® 7 FPGA F-Series SoC binaries archive for SD-Card booting.

    However, we are still encountering the error mentioned earlier.

    Thanks & Regards

    Raju Satrasala

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

    Hi @Wincent_Altera ,

    Please find the below table for reference

    Switch Configuration
    Rocket Board Agilex SOC GSRDRocket Board PCI RPAgilex EVM Working
    SW1: ON-ON-ON-ONSW1: ON-ON-ON-ONSW1: ON-ON-ON-ON
    SW2: All OFFSW2: All ONSW2: All OFF
    SW3: OFF-OFF-ON-ON-ON-ONSW3: All OFFSW3: OFF-OFF-ON-ON-ON-ON-ON-ON
    SW4: OFF-OFF-OFF-ONSW4: ON-OFF-ON-OFFSW4: OFF-OFF-OFF-OFF

    Rocket Board Agilex SOC

    https://www.rocketboards.org/foswiki/Documentation/agilexSoCGSRD

    Rocket Board PCI RP

    Agilex PCIe Root Port | Documentation | RocketBoards.org

    We attempted to utilize the Rocket Board PCI RP Switch Configuration, but encountered issues with detecting the JTAG Chain. However, when we employed the Agilex EVM Working Switch Configuration, we were able to successfully detect the JTAG Chain.

    Thanks & Regards

    Satrasala Raju

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

      Hi Raju,

      Glad that you are able to solve this issue and proceed further.
      Also, Thanks for sharing with me how you solve this issue. Appreciate that.

      Hence, I will set close this forum loop, if you have any further question, feel free to raise another case anytime.

      If your support experience falls below a 9 out of 10, I kindly request the opportunity to rectify it before concluding our interaction. If the issue cannot be resolved, please inform me of the cause so that I can learn from it and strive to enhance the quality of future service experiences.

      Wincent_Intel

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

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

    Hi @Wincent_Altera ,

    Thank you for your response.

    I have attempted to resolve the issue by re-downloading the SD Card Image, but unfortunately, I continue to face the same problem.

    Is it possible for you to provide the example design files along with detailed building steps for Linux and U-Boot?

    Thanks & Regards

    Raju Satrasala

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

      Hi Raju,

      Seen like this issue is more related to Linux booting using U-boot.
      For your information, I am support specialist for PCIe IP and design implementation.

      Could you please file another forum with title " Linux boot-up failed with Agilex 7 F-Series SOC Development Kit "
      for the categories, please ensure you select something related to "embedded" instead of "PCIe".
      The correct support specialist should receive your case and continue to support you.

      Do you have any queries about PCIe ? If not I would like to have your permission to close this case.

      Regards,

      Wincent_Intel

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