Creating .sdcard image manually in host PC

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

Creating .sdcard image manually in host PC

7,485 次查看
devendradevadig
Contributor III

Hi'

   I have following binaries

• Linux OS kernel image (zImage)

• Device tree file (*.dtb)

• U-Boot bootloader image

• Root file system (*.ext3 or *.ext4)

How I can create an .sdcard image, which contains all these four images properly configured for an SD card by manually in my Ubuntu PC? What command I can use? If you have any script it is more helpful.

When I searched this question, I got the link Guide to the .sdcard format . But he explained configuration in yocto to build .sdcard image.

In yocto build I found IMAGE_FSTYPES="tar.bz2 ext3 sdcard" in some .conf file. But I didn't get where is the script to generate .sdcard image.

I want to do .sdcard image manually in my Ubuntu PC with the commands .

Thanks and Regards

Devendra

0 项奖励
回复
2 回复数

4,732 次查看
BiyongSUN
NXP Employee
NXP Employee

AndroidSDCARDMirrorCreator

https://community.nxp.com/docs/DOC-329596

0 项奖励
回复

4,732 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Devendra,

You would need to go to the recipes in Yocto that have the parameters to create the .sdcard image.

You can see the code that creates the .sdcard file on

<BSP_DIR>/<BUILD_DIR>/sources/meta-fsl-arm/classes/image_types_fsl.bbclass

You could start from there at least in overall steps needed to get the file created.

I hope this helps!

Regards,

0 项奖励
回复