[Yocto][i.MX28]How to use wic for make sd card

cancel
Showing results for 
Search instead for 
Did you mean: 

[Yocto][i.MX28]How to use wic for make sd card

14,021 Views
katte
Contributor II

Hi all. I'm new in yocto world.
I was able to build my first core-image-minimal with bitbake and to write the image to the sdcard with wic.
The problem is that this sd card doesn't boot in the imx28evk board because the wic create a boot partition that is different from the partition created with the ltib tools.
Someone knows how to create a bootable sd card for this board?
Thanks in advance.

Labels (2)
Tags (3)
0 Kudos
2 Replies

8,305 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Marco Catellani,

There wic.gz format was introduced on the latest branches and it’s a compressed format similar to the sdcard format. I’m investigating if you can add the sdcard format so you get an .sdcard file as output as well.

 

In the meantime, you should be able to extract and write on an SD card with something like:

 

$ gunzip -c <IMAGE>.wic.gz | sudo dd of=/dev/sdX bs=1M  iflag=fullblock oflag=direct conv=fsync

 

I hope this helps!

Regards,

0 Kudos

8,306 Views
ratnakar_vibhu1
Contributor II

Hi ,

 But for customized board we need eMMC based “rootfs.tar.bz2” file. So please let me know if we need to change any boot configuration file or any other change required to generate and work this filesystem with eMMC.

0 Kudos