Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20803 Discussions

GSRD - Build Yocto Fails

james57
New Contributor I
1,257 Views

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 

 

0 Kudos
1 Solution
Jeet14
Employee
1,068 Views

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


View solution in original post

0 Kudos
6 Replies
Jeet14
Employee
1,222 Views

Hi,


Please follow the below link for device tree generation for stratix 10.

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


later, convert the dts file to dtb using the dtc utility.


Regards

Tiwari



0 Kudos
Jeet14
Employee
1,171 Views

Hi,


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


Regards

Jeetesh


0 Kudos
james57
New Contributor I
1,149 Views

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

 

0 Kudos
james57
New Contributor I
1,122 Views

Here is a what my terminal says after bitbake image fails 

0 Kudos
Jeet14
Employee
1,069 Views

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


0 Kudos
Jeet14
Employee
1,008 Views

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.



0 Kudos
Reply