How to build file .wic

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

How to build file .wic

1,899件の閲覧回数
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

 
 
 
 
 
 
 
 
 
ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,876件の閲覧回数
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,840件の閲覧回数
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,817件の閲覧回数
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 件の賞賛
返信