You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Host Environment


Requirement

Yocto 4.0 (Kirkstone)

Linux

64 bit Ubuntu 20.04 LTS

https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html

https://docs.yoctoproject.org/kirkstone/ref-manual/system-requirements.html

Free HDD Space

Minimum 100GB Free Memory

Host Tools version
  • Git 1.8.3.1 or greater

  • tar 1.28 or greater

  • Python 3.9.0 or greater.

  • gcc 10.1 or greater.

  • GNU make 4.0 or greater


Packages 

sudo apt install build-essential chrpath cpio debianutils diffstat file gawk gcc git iputils-ping libacl1 liblz4-tool locales python3 python3-git python3-jinja2 python3-pexpect python3-pip python3-subunit socat texinfo unzip wget xz-utils zstd

You also need to ensure you have the en_US.UTF-8 locale enabled:


locale --all-locales | grep en_US.utf8


Configure repo

In order to use Yocto build system, first you need to make sure that repo is properly 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


Configure Credentials

it is recommended to put credentials in .netrc

# RDK Central Github
machine github.com
    login <Public GitHub userID>
    password <PAT>

# RDK Central Gerrit
machine code.rdkcentral.com
    login <rdkcentral sso email address>
    password <PAT> 


Creating a PAT for RDK Central Gerrit and Github

Gerrit:

Set your Gerrit PAT here:  https://code.rdkcentral.com/r/settings/#HTTPCredentials


Github:

For GitHub to create a PAT navigate to Settings - Developer Settings - Personal access tokens - Tokens (classic)

Note: for git actions (clone/push/pr) you need to select at least the following scopes:

repo write:packages

  • No labels