Development Environment Setup

Host Requirements

Configuration Tools
x86 computer Git 1.8.3.1 or higher
Quad-core CPU, e.g., 3.4 GHz Intel i7-2600 (equivalent or higher) Tar 1.28 or higher
300 GB free disk space (Swap space > 32 GB) Python 3.10.2 or higher
16 GB RAM GCC 7.5 or higher
Ubuntu 22.04 GNU Make 4.0 or higher

Tool Installation

Install the following packages to prepare the host environment for Yocto builds:

sudo apt update
sudo apt install repo gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint xterm python3-subunit mesa-common-dev zstd liblz4-tool locales tar python-is-python3 file libxml-opml-simplegen-perl vim whiptail g++

Set Locales (if not configured):

sudo locale-gen en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

Update Git Configuration

Check if identity is configured in .gitconfig:

git config --get user.email
git config --get user.name

If account identity is not set in .gitconfig, execute the following command:

git config --global user.email <Your email ID>
git config --global user.name <"Your Name">

Add the following UI color options for console output (optional):

git config --global color.ui auto

Add the following Git configurations to get large repositories and avoid unreliable connections:

git config --global http.postBuffer 1048576000
git config --global http.maxRequestBuffer 1048576000
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999