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?
已解决! 转到解答。
Hello Byung,
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
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.