IMX8MP NXP-Desktop failed to compile sdk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8MP NXP-Desktop failed to compile sdk

654 Views
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.

Labels (1)
0 Kudos
5 Replies

627 Views
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 Kudos

620 Views
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 Kudos

617 Views
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 Kudos

607 Views
ace12
Contributor I

Or, what can I do to skip compiling pseudo?

0 Kudos

612 Views
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 Kudos