IMX8MP NXP-Desktop failed to compile sdk

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

IMX8MP NXP-Desktop failed to compile sdk

1,399 次查看
ace12
Contributor I

ace12_0-1704188374887.png

bitbake imx-image-desktop -c populate_sdk gets an error when it compiles to pseudo. When compiling the filesystem, pseudo-native compiles without errors. I don't know what the problem is.

标签 (1)
0 项奖励
回复
5 回复数

1,372 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @ace12!
Thank you for contacting NXP Support!

Try to clean the compilation of pseudo using the command " bitbake -c clean pseudo " and try to compile the SDK again.

If the problem persists, try to update your packages using " sudo apt update " and " sudo apt upgrade ".

Ensure that you have all the packages needed to compile.

Essential Yocto Project host packages are:

$ sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential \
chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \
iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
python3-subunit mesa-common-dev zstd liblz4-tool file locales -y
$ sudo locale-gen en_US.UTF-8



I compiled pseudo without errors, check the log attached

Best Regards!

Chavira

0 项奖励
回复

1,365 次查看
ace12
Contributor I

I'm sorry, but it still fails after I try. I want to ask, my environment is Ubuntu18.04, is it caused by the environment problem

0 项奖励
回复

1,362 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @ace12!

 

The recommended minimum Ubuntu version is 20.04 or later.

 

Please check chapter 3 of our Yocto User Guide.

 

https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

 

Best Regards!

Chavira

0 项奖励
回复

1,352 次查看
ace12
Contributor I

Or, what can I do to skip compiling pseudo?

0 项奖励
回复

1,357 次查看
ace12
Contributor I

Sorry, I tried Ubuntu22.04, but it still gave an error, and I have updated the environment according to all the commands you gave. Below is the log of the error record

ace12_0-1704253003974.png

ace12_1-1704253025341.png

 

0 项奖励
回复