Creating .sdcard image manually in host PC

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

Creating .sdcard image manually in host PC

7,540件の閲覧回数
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,787件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

AndroidSDCARDMirrorCreator

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

0 件の賞賛
返信

4,787件の閲覧回数
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 件の賞賛
返信