Forum Discussion

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

GSRD - Build Yocto Fails

After following the GSRD SD Card Version for H-tile S10

Stratix 10 SoC H-Tile GSRD | Documentation | RocketBoards.org

I have gotten to the step to -

"bitbake image"

The build gets to 97% when it fails saying

"gsrf_soc_fpga/stratix10_gsrd_rootfs/tmp/deploy/images/startix10/devicetree/socfpga_startix10_socdk.dtb No such file or directory"

I was wondering if I have missed a step in the GSRD and need to go back to generate this device tree blob, or if I generate it elsewhere, and place it into the directory.

If I need to externally create it, steps to follow would be amazing.

Thanks

  • Hi,


    Can you please try first clean the build project and copy again the linux-socfpga .dtsi file to your yocto project after converting to .dtb.


    Regards

    Tiwari


6 Replies

  • Jeet14's avatar
    Jeet14
    Icon for Frequent Contributor rankFrequent Contributor

    Hi,


    Let me know if you have any other query on this matter.


    Regards

    Jeetesh


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

      Hi @Jeet14 ,

      Thanks for getting back to me.

      I followed the link that you suggested. I cloned the "linux-socfpga" github and was able to see the proper files in the specified directories

      ./arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts

      and

      ./arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

      although now I am a little confused how to structure my files such that "bitbake_image" command is able to see these files so the build can finish.

      Does this "linux-socfpga" files that was cloned go "TOP_FOLDER" directory from the GSRD, or does it go in the "gsrd-socfpga" folder cloned from -

      langdale https://github.com/altera-opensource/gsrd_socfpga

      Please let me know if you understand my question or if I am missing something.

      Thanks,

      James

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

    Here is a what my terminal says after bitbake image fails

  • Jeet14's avatar
    Jeet14
    Icon for Frequent Contributor rankFrequent Contributor

    Hi,


    Can you please try first clean the build project and copy again the linux-socfpga .dtsi file to your yocto project after converting to .dtb.


    Regards

    Tiwari


  • Jeet14's avatar
    Jeet14
    Icon for Frequent Contributor rankFrequent Contributor

    Hi,


    Thanks for marking that problem got resolved now.

    With that, I now transition this thread to community support.

    Thank you.


    Best Regards,

    Tiwari


    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.