Yocto Build (imx8m nano):- How many PC core needed for fast Compilation?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Yocto Build (imx8m nano):- How many PC core needed for fast Compilation?

ソリューションへジャンプ
4,037件の閲覧回数
milav_soni
Contributor III

 

Hello All,

I need to build Yocto for imx8m nano evk in Linux PC.

Currently I have Following PC Configuration. is it okay for making multimedia or full image?

Processor :- Intel Core2 Duo CPU E4500@2.20Ghz x 2
Graphics   :- Intel G33
OS TYpe    :- 64-Bit
Disk           :- 1 TB
Memory     :- 4 GiB
OS             :- Linux (Ubuntu 16.04 LTS)
Core          :- 2
 
If it is not okay, than what is minimum PC requirements for compile Yocto for imx8m nano for less time (5-6 hours or less).
 
How many RAM is need? How many core is needed? Which cpu processor is best for this?
 
Can you please help me out in this problem?
 
Thank You
 
 
ラベル(3)
0 件の賞賛
返信
1 解決策
4,028件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello milav,

Your setting are right for running yocto for best practices you might add ram to your system and ubuntu 18. it will reduce the building time a lot.

Regards

 

元の投稿で解決策を見る

4 返答(返信)
4,029件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello milav,

Your setting are right for running yocto for best practices you might add ram to your system and ubuntu 18. it will reduce the building time a lot.

Regards

 

4,018件の閲覧回数
milav_soni
Contributor III

Hello @Bio_TICFSL 

Thank You for your answer.

Is there any configuration needed  in local.conf file or any another file to fast out build time of yocto in my PC?

Can your please suggest me?

 

0 件の賞賛
返信
4,013件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

 

In your local.conf instead of have -j2 you can add -j4 or -j8 for more process running on your host this will reduce time.

 

Regards

 

0 件の賞賛
返信
4,002件の閲覧回数
milav_soni
Contributor III

 

Hello @Bio_TICFSL 

 

Thank You for your reply.

I have added following two line in my local.conf file and build opencv separately using "bitbake opencv -c compile" command, but the result is failed at do_compile task of opencv.

local.conf file :-

BB_NUMBER_THREADS ?= " 4"

PARALLEL_MAKE ?= "-j 4"

I have used following command to build opencv using bitbake.

$ mkdir imx-yocto-bsp-py3
$ cd imx-yocto-bsp-py3
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.47-2.2.0.xml
$ repo sync

$DISTRO=fsl-imx-wayland MACHINE=imx8mnevk source ./imx-setup-release.sh -b imx8mn_wayland_build

$bitbake opencv -c compile

 

I have used local.conf variable for speed up the task, but i face error on the same.

Error :- ERROR: Task (../Embedded_Software/Yocto/imx-yocto-bsp-py3/sources/meta-imx/meta-bsp/recipes-support/opencv/opencv_4.2.0.imx.bb:do_compile) failed with exit code '1'

please help me to sort out this error.

0 件の賞賛
返信