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

How can we add our own recipes to meta-intel-fpga layer to build rootfs

sgannava
Beginner
777 Views

Hi,

I am following the below documentation to build custom linux image for Arria10 SoCDK. Initially, I  followed the steps mentioned in the documentation to get familiarize with the process and the image size turned out to be 82MB. After adding the custom recipes in rootfs-->meta-intel-fpga layer and custom dts whie building kernel image, I rebuilt the image, but the size of the image remains unchanged. I am not sure if I followed correct steps in adding recipes? Any help would be appreciable.

Thanks

Sai

Labels (1)
0 Kudos
4 Replies
Jeet14
Employee
707 Views

Hi,


Please follow the below link for understanding and creating custom/own layer using the yocto.

https://docs.yoctoproject.org/dev-manual/layers.html


Also, please follow the below link for how to customize image using the local.conf file.

https://docs.yoctoproject.org/dev-manual/customizing-images.html#


Regards

Tiwari


0 Kudos
sgannava
Beginner
685 Views

Hi Tiwari,

Thanks for the response

I have added my files as recipes in meta-intel-fpga layer itself without creating a new layer. Now I do not need to add/edit any layer .conf file as well. Hope that is also fine

Thanks

Sai

0 Kudos
Jeet14
Employee
646 Views

Hi,


Its fine you can use the same layer.

https://github.com/altera-opensource/meta-intel-fpga-refdes/blob/master/recipes-gsrd/socfpga-gsrd-apps/socfpga-gsrd-apps_1.0.bb


add you application in above socfpga-gsrd-apps_1.0.bb file and add your application source code in below-

https://github.com/altera-opensource/linux-refdesigns


Regards

Tiwari


0 Kudos
Jeet14
Employee
597 Views

Hi,


I believe your inquiry has been answered. With that now, I 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