Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 

Code Block
languagebash
themeDJango
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:


Code Block
languagebash
themeDJango
locale --all-locales | grep en_US.utf8



Configure repo

In order to use Yocto build system, you need to ensure that repo is installed on the machine:

Code Block
languagebash
themeRDark
# 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 a ~/.netrc

Code Block
languagebash
themeRDark
# RDK Central Github
machine github.com
    login <Public GitHub UserID>
    password <PAT>

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


Creating your Personal Access Tokens - PAT






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


Code Access

Div
classoc-documentation-card


Column
width70%

Source Code

Access RDK source code via Github or Gerrit


Button Hyperlink
custom-iconGerrit.png
iconcustom
titleRDK Gerrit
typesubtle
urlhttps://code.rdkcentral.com/r/q/status:open+-is:wip
Button Hyperlink
titleRDK Github
typesubtle
urlhttps://github.com/rdkcentral

Div
dirlrt
classui-card
Column
width100%

Code Contribution Process

Please refer to the "How to Contribute" guide to explore different ways that you can contribute to the RDK community.

CSS Stylesheet
.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;
  }