This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear Ti
we use yocto builds AM62x
When we build bitbake tisdk-default-image, it fail with out of memory.
I followed below command based on "software-dl.ti.com/.../Overview_Building_the_SDK.html
git clone git.ti.com/.../oe-layersetup.git tisdk
cd tisdk
./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-kirkstone-chromium-09.02.01.09-config.txt
cd build
source conf/setenv
MACHINE=am62xx-evm bitbake -k tisdk-default-image
I have questions.
1. Running task number
In the build log, it shows below info. "running tasks 10917" is it normal number ?
"Currently 12 running tasks (4507 of 10917) 41% |################################################################ "
2. Hard disk usage
My HDD is 250G, it uses 200G even though the progress rate is 40%.
Is it normal ?
/dev/nvme0n1p2 244506940 207842848 24171036 90% /
BR
Jace
Hi Jace,
Yocto builds can be very resource intensive, especially as you are building one of the full-featured image (tisdk-default-image).
Make sure you have enough RAM. 32GB, or better 64GB. (*)
Make sure "swap" is enabled It's common to set this up to double the amount of memory available to the system (e.g., with 32GB DDR, setup swap size to 32GB, resulting in a total of 64GB of memory) (*)
(*) As a workaround for not having enough RAM (points 3/4) you can also reduce the amount of parallelism in the the Yocto build, which often will get things going, by adding something like the below to your conf/local.conf file...
BB_NUMBER_THREADS ?= "4" PARALLEL_MAKE ?= "-j 4"
Regards, Andreas
(ref: LCPD-38065)