Yocto .sdcard image

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Yocto .sdcard image

4,804 次查看
saurabh206
Senior Contributor III


Hi

I want to modify Yocto .sdcard image for my custom board.

Which file needs to modify to change .sdcard image?

Thanks

Saurabh

标记 (1)
0 项奖励
回复
4 回复数

2,993 次查看
Yuri
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

2,993 次查看
saurabh206
Senior Contributor III

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

0 项奖励
回复

2,993 次查看
pranavmadhu
Contributor IV

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)

0 项奖励
回复

2,993 次查看
Yuri
NXP Employee
NXP Employee

You may mount the image file using "-o loop" option and treat  it as

file system.

Regards,

Yuri.

0 项奖励
回复