Build Environment Setup
Setup Build Environment
To build images of IoT Yocto you need:
Ubuntu 22.04 (LTS)
At least 200 GiB of free disk space
At least 16 GiB of system memory
Internet connection
On Ubuntu, use this command to
$ sudo apt-get install 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 libelf-dev libsdl1.2-dev lz4 pylint xterm python3-subunit mesa-common-dev libstdc++-12-devAnd install the latest repo tool:
$ mkdir -p ~/bin
$ PATH="${HOME}/bin:${PATH}"
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+rx ~/bin/repoPackages
Version
repo
2.16.6 or greater
gcc
5.0 or greater
python3
3.6.0 or greater
tar
1.27.1 or greater
git
1.8.3.1 or greater
最後更新於