Host PC Setup
Prerequisit
RAM+SWAP: 32GB
HDD/SSD: 500GB
OS: Ubuntu 24.04 (LTS)
Install Dependency
sudo apt-get update
sudo apt-get -f -y install git build-essential diffstat texinfo gawk chrpath socat
sudo apt-get -f -y instal doxygen dos2unix python3 bison flex libssl-dev u-boot-tools
sudo apt-get -f -y instal mono-devel mono-complete curl python3-distutils repo pseudo
sudo apt-get -f -y instal python3-sphinx g++-multilib libc6-dev-i386 jq git-lfs pigz
sudo apt-get -f -y instal zstd liblz4-tool cpio file lz4 debianutils iputils-ping
sudo apt-get -f -y instal python3-git python3-jinja2 python3-subunit locales libacl1
sudo apt-get -f -y instal unzip gcc python3-pip python3-pexpect xz-utils wget
sudo locale-gen en_US.UTF-8
Large Swap File
Building large packages, especially several at a time, requires a lot of working memory. For computers with 32 GB of RAM or more, this should not be a problem. For computers with less RAM, a swap file needed to build large packages. Creating a large swap file, or resizing a small swap file to be larger will help avoid build errors for large packages. Follow this to increase the SWAP Memory.
Disable OOM Kiler
The Out Of Memory Killer or OOM Killer is a process that the linux kernel uses when the system is critically low on memory. so system will detect the process using more memory and kill that. To build yocto, better we can disable the OOM Kiler. Follow This to Disable OOM Killer.
Clone Repo
git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk_bbb
cd tisdk_bbb
./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-09.03.05.02-legacy-config.txt
©2023-2024 rculock.com