Is there a workaround for automatically logging out when building Yocto BSP?

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

Is there a workaround for automatically logging out when building Yocto BSP?

ソリューションへジャンプ
3,177件の閲覧回数
bskimaaa
Contributor II

Create an Ubuntu VM environment to build Yocto BSP 

If I did the same as above site,
When I ran the "bitbake fsl-image-qt5-validation-imx" command,
Only when BB_NUMBER_THREADS = "1" in conf / local.conf,
The build could be completed.

BSP : L4.14.98_2.0.0 for Linux Yocto BSP

BOARD : MCIMX8M-EVKB

I've tried OS ubuntu 16.04, ubuntu 14.04, ubuntu 18.04
Etc. are all the same result.

 

If BB_NUMBER_THREADS is greater than 1,
vmware Linux will be logged out automatically.

I used up to 32GB of memory and used up to 16 cores.

The build will complete successfully only if BB_NUMBER_THREADS is 1.

The build takes about 9 hours.

It takes too long to use this.

 

Is there any way to solve this?

1 解決策
3,026件の閲覧回数
jccho
Contributor I

I have experienced the same symptoms.
You have successfully built yocto by connecting to the network, not logging main screen.

元の投稿で解決策を見る

6 返答(返信)
3,027件の閲覧回数
jccho
Contributor I

I have experienced the same symptoms.
You have successfully built yocto by connecting to the network, not logging main screen.

3,026件の閲覧回数
bskimaaa
Contributor II

Hi Jaechul Cho

Thanks for your reply.

I will try to your recommand method !

Thank you.

0 件の賞賛
返信
3,026件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Byung,

    I often use 4 cores to compile yocto bsp, I also tested 6 cores, which is also no problem.

Have a nice day!

BR,

weidong

0 件の賞賛
返信
3,026件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Byung,

    pastedImage_1.png

pastedImage_2.png

Since your PC has 16 cores, you can set CPU number to be 8 cores here.

Then when you start to build yocto BSP,  8 tasks will be performed at the same time.

Have a nice day!

BR,

Weidong

0 件の賞賛
返信
3,026件の閲覧回数
bskimaaa
Contributor II

Thank you for your reply.

As you said, If you configure as above and build, 8 tasks build approximately 4000 jobs at the same time

and log out automatically.

I tried using 2, 3, 4, 8, 16 cores.
After building everything, ubuntu linux will automatically log out.

FYI my PC has 16 cores.

0 件の賞賛
返信
3,026件の閲覧回数
bskimaaa
Contributor II

i.MX8M Yocto Project Bitbake Unexpected Termination 

This is the same issue as the above site.

0 件の賞賛
返信