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?
Solved! Go to Solution.
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
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
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?
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
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.