Creating .sdcard image manually in host PC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating .sdcard image manually in host PC

6,188 Views
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 Kudos
2 Replies

3,435 Views
BiyongSUN
NXP Employee
NXP Employee

AndroidSDCARDMirrorCreator

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

0 Kudos

3,435 Views
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 Kudos