meta-ml meta-sdk for custom build on imx8mqevk

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

meta-ml meta-sdk for custom build on imx8mqevk

2,277 Views
manizillion
Contributor IV

I am trying to inlcude meta-ml meta-sdk layers into our custom agl linux build. I am using these layers from latest L5.4.24_2.1.0 release on imx8mqevk. But i do get error for armnn do_compile errors  . How to solve these merge issues ?

Can i merge these builds into other build environment?

ERROR: armnn-19.08-r1 do_compile: Execution of '/home/administrator/jellyfish5.4/build/tmp/work/aarch64-agl-linux/armnn/19.08-r1/temp/run.do_compile.19578' failed with exit code 127:
/home/administrator/jellyfish5.4/build/tmp/work/aarch64-agl-linux/armnn/19.08-r1/temp/run.do_compile.19578: 1: eval: cmake: not found
WARNING: exit code 127 from a shell command.

ERROR: Logfile of failure stored in: /home/administrator/jellyfish5.4/build/tmp/work/aarch64-agl-linux/armnn/19.08-r1/temp/log.do_compile.19578

Labels (1)
0 Kudos
8 Replies

2,250 Views
manizillion
Contributor IV

sir , Thanks for the reply

I get this problem when i try to merged meta-sdk and meta-ml layers in AGL(Automotive grade linux) build of poky linux distribution. when i tried building as per the manual i.MX Yocto Project User's Guide, Rev. L5.4.24_2.1.0, 06/2020 , then i see no issues in the build it builds ok for armnn on 16.04.

 integrated the meta-sdk meta-ml layer into AGL, we followed the agl build steps. So my questin is

1. Will this integration work in AGL build? any branch related issues will be there? 

2. Should we try our custom build environemnt on ubuntu 18.04?

0 Kudos

2,240 Views
weidong_sun
NXP TechSupport
NXP TechSupport

>>1. Will this integration work in AGL build? any branch related issues will be there? 

See the link, please!

https://community.nxp.com/t5/i-MX-Processors/Porting-AGL-Automotive-Grade-Linux-onto-I-MX8QXP/m-p/89...

>>Should we try our custom build environemnt on ubuntu 18.04?

I think 18.04 LTS should be used. See "3 Host Setup" of i.MX Yocto Project User's Guide, Rev. L5.4.24_2.1.0, 06/2020, please!

 

Have a nice day!

Weidong

 

2,219 Views
manizillion
Contributor IV

Sir ,

I want to port meta-imx layer of the latest zues branch to dunfell branch, can you suggest what changes i have to do for it ?

 

Regards

Mani

0 Kudos

2,214 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Unfortunately, we can only support Yocto BSP issued by NXP, and there is no solution to port to other versions of Yocto.

 

0 Kudos

2,253 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Yes, this problem is caused by the lack of packages in ubuntu.

For ubuntu 16.04, you need to compare the software packages given in i.MX_Yocto_Project_User's_Guide.pdf to see if the software packages are missing in your linux.

--------------

$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev
\
pylint3 xterm

------------------------------

 

weidong

 

2,258 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Mani,

ubuntu 18.04 is recommended. I tested it on ubuntu 18.04 /20.04 LTS and Debian-10, compliation is no problem.

Below is packages for compiling Linux bsp on ubuntu 18.04 and debian-10, after installing linux host, use atp-get install them, please!

-------------------

# 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

[comment]

For debian-10, uuid-dev:i386 liblzo2-dev:i386 should be 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

[comment]

for debian-10, openjdk-8-jdk should be 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

-------------------------------------------

Then

# DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source imx-setup-release.sh -b build-wayland

# bitbake armnn -c compile
debian-10.png

debian-10-1.png

weidong

2,270 Views
weidong_sun
NXP TechSupport
NXP TechSupport

what is your linux host? ubuntu 18.04? or others?

B,R

weidong

2,265 Views
manizillion
Contributor IV

Sir,

Its ubuntu 16.04 ,

Is it problem with host version ?

Regards

Mani

0 Kudos