Hi
I want to modify Yocto .sdcard image for my custom board.
Which file needs to modify to change .sdcard image?
Thanks
Saurabh
Hello,
You need to rebuild Your project.
Please refer to the following :
How to modify yocto jethro and rebuild
How to modify source code and rebuild yocto project?
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuri
Thanks for reply.
I have yocto build ready.
I want to prepare .sdcard image that include u-boot, uImage, dtb , rootfs, bmp logo and additional script.
I want to include bmp logo and additional script in yocto build, so whenever I build Yocto build I get final image.
So I need to modify sdcard image generation to include additional files.
Thanks
Saurabh
Hi Saurabh,
To add custom scripts and files, create a new meta layer of your own or create a new recipe on existing meta-*/recipr-*/ directory (refer other recipe to get reference), add your files and also add a bb file for the same. Now specify the name of bb file on the image which you are building. Better to create a new layer, refer section 5.1.8 in the link below to know how layers are created.
Yocto Project Development Manual
Also add the name of your bb file in the image file (eg: images/core-image-minimal.bb etc)
You may mount the image file using "-o loop" option and treat it as
file system.
Regards,
Yuri.