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

Compare with Current View Page History

« Previous Version 22 Next »

Host Environment


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


LayerGB
RDKE OSS 75GB
RDKE Vendor50GB
RDKE Middleware 120GB
RDKE Application 50GB
RDKE Image Assembler 30GB
Host Tools Versions
  • 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 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 openjdk-17-jdk openjdk-21-jdk 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



Configure repo

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



Configure Credentials

It is recommended to put credentials in a ~/.netrc

# 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


Source Code

Access RDK source code via Github or Gerrit


gerrit.png RDK Gerrit RDK Github

Code Contribution Process

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

  • No labels