2251609_en-US

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

2251609_en-US

2251609_en-US

Build failure on i.MX8MM LPDDR4 EVK using FlexBuild with Debian 12

Hi,

I'm working with an i.MX8MM LPDDR4 EVK and trying to build a Debian 12 image using FlexBuild.
My host system is Ubuntu 22.04, and I followed the steps described in UG10155 – Section 4: Building Debian Images with FlexBuild.

bld -m imx8mmevk


The build keeps failing because many packages are missing under:

build_lsdk2506/rfs/rootfs_lsdk2506_debian_desktop_arm64

Each time it fails, I enter the rootfs with chroot and manually install the required packages, but new missing packages keep appearing and the process never completes.

Is this expected behavior for FlexBuild when building a Debian 12 rootfs? Or am I missing some configuration or step to ensure all required packages are installed automatically?

Thanks in advance!



Re: Build failure on i.MX8MM LPDDR4 EVK using FlexBuild with Debian 12I’m building the image using the "bld docker" command exactly as described in the guide.
My host system is Ubuntu 22.04, and the machine is running on an AMD Ryzen 9 7950X3D .
Re: Build failure on i.MX8MM LPDDR4 EVK using FlexBuild with Debian 12Hi @Zhiming

Could you provide your build log with LOG_LEVEL=0 enabled as well?
I’d like to compare it with my environment.

Thanks.
Re: Build failure on i.MX8MM LPDDR4 EVK using FlexBuild with Debian 12

Hi @TeoKang 

Are you using Docker to compile? Is that Ubuntu22.04 running on Intel chip or AMD chip?

Best Regards,
Zhiming

Re: Build failure on i.MX8MM LPDDR4 EVK using FlexBuild with Debian 12

I’ve attached two full log files.
imx8mmevk.log is from the first build attempt where the initial error occurred, and imx8mmevk_loglevel0.log is from a second build attempt with LOG_LEVEL=0 enabled.

As you can see in the logs, the build fails with:

meson.build:85:0: ERROR: Dependency "pciaccess" not found, tried pkgconfig

From my experience, this is usually just the beginning — additional missing dependencies continue to appear afterward.


Re: Build failure on i.MX8MM LPDDR4 EVK using FlexBuild with Debian 12

Hi @TeoKang 

We tried to reproduce same issue on NXP server, local machine and WSL before, but we can't see same error on these three machines. So i can't accurately describe where the specific problem lies. Is this a fresh, clean Ubuntu installation?

Best Regards,
Zhiming

Re: Build failure on i.MX8MM LPDDR4 EVK using FlexBuild with Debian 12

Hi @TeoKang 

This is build log on WSL2 Ubuntu22.04(AMD chip).

Best Regards,
Zhiming

Re: Build failure on i.MX8MM LPDDR4 EVK using FlexBuild with Debian 12Hi @Zhiming_Liu

Thanks to your help, I was able to resolve the issue and successfully build the final image.
Now I’d like to flash it to eMMC using "uuu", but the structure/layout of the generated image files seems different from what I’m used to.
Is there any official guide or example on how to use uuu to flash these specific images to eMMC?

Thanks.
标记 (1)
无评分
版本历史
最后更新:
‎12-12-2025 03:34 AM
更新人: