imx-image-full on imx8mqevk 5.4.3

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

imx-image-full on imx8mqevk 5.4.3

Jump to solution
2,942 Views
manizillion
Contributor IV

Hi ,

I am trying to build the version imx-5.4.3-2.0.0 on imx8mqevk, i get these following errors

NOTE: Tasks Summary: Attempted 9249 tasks of which 9247 didn't need to be rerun and 2 failed.
Summary: 2 tasks failed:
virtual:native:/home/sarath/imx_latest/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_2.1.0.bb:do_install
/home/sarath/imx_latest/sources/meta-imx/meta-ml/recipes-libraries/onnxruntime/onnxruntime_1.0.0.bb:do_compile

 

 

I followed these following steps on Ubuntu 16.04, imx-image-multimedia is building successfully ! 

BUT bitbake -k imx-image-full is not working and throwing errors as above ...

Is this issue with Ubuntu 16.04 Should i move for 18.04 version ....

 

repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.3-2.0.0.xml
repo sync

DISTRO=fsl-imx-xwayland MACHINE=imx8mqevk source imx-setup-release.sh -b build-xwayland
bitbake -k imx-image-full

 

Labels (1)
0 Kudos
1 Solution
2,938 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello manizillion,

Below is my advice:

1. For L5.4.3_2.0.0 BSP, ubuntu 18.04 LTS is recommended.

2. if you select ubuntu 18.04 LTS, Packages below should be installed for compiling L5.4.3_2.0.0

# sudo apt-get install flex bison gperf build-essential zlib1g-dev
# sudo apt-get install lib32ncurses5-dev x11proto-core-dev
# sudo apt-get install libx11-dev lib32z1-dev libgl1-mesa-dev
# sudo apt-get install tofrodos python-markdown libxml2-utils xsltproc
# sudo apt-get install uuid-dev:i386 liblzo2-dev:i386 gcc-multilib g++-multilib
[commnent]
For Debian-10 uuid-dev:i386 liblzo2-dev:i386---> uuid-dev liblzo2-dev
# sudo apt-get install subversion openssh-server openssh-client uuid uuid-dev zlib1g-dev
# sudo apt-get install liblz-dev lzop liblzo2-2 liblzo2-dev git-core curl
# sudo apt-get install python3 python3-pip python3-pexpect python3-git python3-jinja2 pylint3
# sudo apt-get install u-boot-tools mtd-utils android-tools-fsutils
[commnent]
For ubuntu 20.04 LTS, don’t need android-tools-fsutils. So remove it, please!
# sudo apt-get install openjdk-8-jdk device-tree-compiler aptitude
[commnent]
For Debian-10 openjdk-8-jdk --- > default-jdk
# sudo apt-get install libcurl4-openssl-dev nss-updatedb
# sudo apt-get install chrpath texinfo gawk cpio diffstat
# sudo apt-get install libncursesw5-dev libssl-dev libegl1-mesa

# sudo apt-get install net-tools python libsdl1.2-dev xterm socat
# sudo apt-get install icedtea-netx-common icedtea-netx

3. For your question.

The problem you are encountering is not caused by the ubunt version, but caused by the bad network environment and incomplete software package download. You can use the method of separately compiling this package for repeated testing. Operation commands similar to the following:
# bitbake python -c cleanall
# bitbake python -c fetch
# bitbake python -c compile
# bitbake onnxruntime-cleanall
# bitbake onnxruntime -c fetch
# bitbake onnxruntime -c compile
After compiling these packages, continue to compile imx-image-full.

 

Hope my advice is helpful to you.

Have a nice day!

B.R,

weidong

View solution in original post

3 Replies
2,939 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello manizillion,

Below is my advice:

1. For L5.4.3_2.0.0 BSP, ubuntu 18.04 LTS is recommended.

2. if you select ubuntu 18.04 LTS, Packages below should be installed for compiling L5.4.3_2.0.0

# sudo apt-get install flex bison gperf build-essential zlib1g-dev
# sudo apt-get install lib32ncurses5-dev x11proto-core-dev
# sudo apt-get install libx11-dev lib32z1-dev libgl1-mesa-dev
# sudo apt-get install tofrodos python-markdown libxml2-utils xsltproc
# sudo apt-get install uuid-dev:i386 liblzo2-dev:i386 gcc-multilib g++-multilib
[commnent]
For Debian-10 uuid-dev:i386 liblzo2-dev:i386---> uuid-dev liblzo2-dev
# sudo apt-get install subversion openssh-server openssh-client uuid uuid-dev zlib1g-dev
# sudo apt-get install liblz-dev lzop liblzo2-2 liblzo2-dev git-core curl
# sudo apt-get install python3 python3-pip python3-pexpect python3-git python3-jinja2 pylint3
# sudo apt-get install u-boot-tools mtd-utils android-tools-fsutils
[commnent]
For ubuntu 20.04 LTS, don’t need android-tools-fsutils. So remove it, please!
# sudo apt-get install openjdk-8-jdk device-tree-compiler aptitude
[commnent]
For Debian-10 openjdk-8-jdk --- > default-jdk
# sudo apt-get install libcurl4-openssl-dev nss-updatedb
# sudo apt-get install chrpath texinfo gawk cpio diffstat
# sudo apt-get install libncursesw5-dev libssl-dev libegl1-mesa

# sudo apt-get install net-tools python libsdl1.2-dev xterm socat
# sudo apt-get install icedtea-netx-common icedtea-netx

3. For your question.

The problem you are encountering is not caused by the ubunt version, but caused by the bad network environment and incomplete software package download. You can use the method of separately compiling this package for repeated testing. Operation commands similar to the following:
# bitbake python -c cleanall
# bitbake python -c fetch
# bitbake python -c compile
# bitbake onnxruntime-cleanall
# bitbake onnxruntime -c fetch
# bitbake onnxruntime -c compile
After compiling these packages, continue to compile imx-image-full.

 

Hope my advice is helpful to you.

Have a nice day!

B.R,

weidong

2,925 Views
manizillion
Contributor IV

Sir ,

I tried your steps , with this onnx issues got resolved. But still python issues is there as below..

virtual:native:/home/sarath/imx_latest/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_2.1.0.bb:do_install 

we are doing it on ubuntu 16.04 ... Kindly suggest ! 

 

0 Kudos
2,514 Views
RajuKoppada
Contributor I

Hi @manizillion ,

 

 I am facing same issue. Did you solve this issue?

Please help me on this if you have any fix?

 

Thanks and Regards,

Raju

0 Kudos