How to build file .wic

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

How to build file .wic

1,900 次查看
ThinhNguyen_FE
Contributor I

Dear NXP, 

I tried to build Yocto as following instruction:  DISTRO=fsl-imx-wayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b imx8mp_build_wayland
bitbake imx-image-core

It was succeed. 

However, i cannot find the .wic file after building. 

I will use this file with UUU Tool to import to board. 

As checked, i can find this . wic file in NXP's document. but i cannot build it

Please help to check and guide. 

Brgs, 

Thinh

 
 
 
 
 
 
 
 
 
0 项奖励
回复
3 回复数

1,877 次查看
brian14
NXP TechSupport
NXP TechSupport

Hi @ThinhNguyen_FE

After you successfully build your image with The Yocto Project, you will need to go to the following path:

<BSP-Folder>/<Your-Build-Folder>/tmp/deploy/images/imx8mp-lpddr4-evk/

BSP Folder: This is the folder where you located the BSP on your host.
Build Folder: This is the folder you named as imx8mp_build_wayland in your instruction (DISTRO=fsl-imx-wayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b imx8mp_build_wayland)

On this path you will find some files. Your required file is imx-image-core-imx8mp-lpddr4-evk.wic.zst.
You only need to decompress this file to obtain the .wic file.
Finally, use the UUU tool.

I hope this information will be helpful.

0 项奖励
回复

1,841 次查看
ThinhNguyen_FE
Contributor I

Hi Brian, 

I followed your instruction. 

However, i only saw the xxx.rootfs.wic.zst file 

can not import with this file. 

btw, i also see the  xxx-lpddr4-evk.wic.zst. file. however, this file has only 1kB. 

something wrong ? 

Please help me check. 

Brgs, 

Thinh

0 项奖励
回复

1,818 次查看
brian14
NXP TechSupport
NXP TechSupport

Hi @ThinhNguyen_FE

Thank you for your reply.

Based on your images, your outputs are correct, but the build process had errors.

Please try to restart the build process using the following command:

1. First, use the command
bitbake -c cleanall
This command will help us to clean the entire component build component.
2. Then, we will need to clean the cache related to the build progress saved by bitbake.
bitbake -c cleansstate

After these commands apply the bitbake command that you are using

bitbake imx-image-core

Have a great day!

0 项奖励
回复