Yocto .sdcard image

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Yocto .sdcard image

4,519件の閲覧回数
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,708件の閲覧回数
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,708件の閲覧回数
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,708件の閲覧回数
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,708件の閲覧回数
Yuri
NXP Employee
NXP Employee

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

file system.

Regards,

Yuri.

0 件の賞賛
返信