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

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

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

19,592 次查看
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.

标签 (2)
标记 (3)
0 项奖励
2 回复数

13,876 次查看
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 项奖励

13,877 次查看
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 项奖励