Requirement | Yocto 4.0 (Kirkstone) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Linux | 64 bit Ubuntu 20.04 LTS Shell BASH https://docs.yoctoproject.org/kirkstone/ref-manual/system-requirements.html | ||||||||||||
Free HDD Space |
| ||||||||||||
Host Tools Versions |
|
Ensure that python exists in /usr/bin/python. If not, create a softlink for /usr/bin/python to python executable.
$ which python (should give) /usr/bin/python |
sudo apt install ant build-essential chrpath cmake curl diffstat fd g++ g++-multilib gcc gcc-multilib \ git git-flow git-man jq libbz2-dev libffi-dev libglib2.0-dev libldap2-dev liblzma-dev libncurses5-dev \ libreadline-dev libsasl2-dev libsqlite3-dev libslang2-dev libssl-dev libxml2-dev libxmlsec1-dev \ llvm make nnn python3.8 ripgrep sysstat texinfo tk-dev tree wget \ xz-utils zip zlib1g-dev zstd |
You also need to ensure you have the en_US.UTF-8
locale enabled:
locale --all-locales | grep en_US.utf8 |
In order to use Yocto build system, you need to ensure that repo is installed on the machine:
# create a bin directory mkdir ~/bin export PATH=~/bin:$PATH # Download the repo tool and ensure that it is executable curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo |
It is recommended to put credentials in a ~/.netrc
# RDK Central Gerrit machine code.rdkcentral.com login <RDK Central SSO email address> password <PAT> # RDK Central Github machine github.com login <Public GitHub UserID> password <PAT> |
|
|
.wiki-content p{ font-family: 'Helvetica', cursive;font-size: 15px;} .oc-documentation-card{ display: flex; align-items: center; border: 0.1px solid #d7d7d7; box-shadow: 4px 2px 2px 0 rgba(128, 128, 128, 30); margin-bottom: 0.5rem; box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.1); } .oc-documentation-card:hover{border: 3px solid #d7d7d7;} .ui-card{ text-align:left; display: flex!important; margin-block-end:1rem!important; display: flex; border: 0.1px solid #d7d7d7; box-shadow: 4px 2px 2px 0 rgba(128, 128, 128, 30); margin-bottom: 0.5rem; box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.1); background-color:#ddf0e4; padding-top: 15px; padding-right: 15px; padding-left: 15px; } |