Versions Compared

Key

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

...

  • Git 1.8.3.1 or greater.

  • tar 1.24 or greater.

  • Python 2.7.3 or greater excluding Python 3.x, which is not supported

Below is the host environment details

  • Operating System: Ubuntu 16.04.6 LTS or above
  • Kernel: Linux 4.4.0-173-generic or above
  • Architecture: x86_64

Note: You should also have about 50 Gbytes of free disk space for building images.

...

A sample .netrc file is illustrated below

machine code.rdkcentral.com

login YOUR_USERNAME

password YOUR_PASSWORD


Build Setup

All RPi based RDK images with latest features are based on from rdk-next branch

Initializing the Build Environment

...

$ repo sync -j`nproc` --no-clone-bundle

...

Choose media client machine configuration to build the image with default compositor

$ MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment

$ bitbake rdk-generic-mediaclient-wpe-image

Hybrid

Choose hybrid machine configuration to build the image with default compositor

...

for Mediaclient image with TDK

$ bitbake rdk-generic-mediaclienthybrid-wpe-tdk-image


Choose the hybrid westeros machine configuration to build the image with westeros compositor

...

$ bitbake rdk-generic-hybrid-wpe-tdk-image


Link to check possible RDK images on RPi - https://code.rdkcentral.com/r/plugins/gitiles/components/generic/rdk-oe/meta-cmf-raspberrypi/+/refs/heads/rdk-next/recipes-core/images/

Development Branch

#To build the image from the development branch, the respective sprint month's development branch to be chosen and #To build RDK-DEV-1904 follow the below build procedure

$ mkdir <workspace dir>

$ cd <workspace dir>

For example to take development branch of September 2020, the rdk-dev-2009 branch to be used

for Non-ASP:
$ repo init -u https://code.rdkcentral.com/r/manifests -b rdk-dev-19042009 -m rdkv-extsrc.xml

for ASP:

$ repo init -u https://code.rdkcentral.com/r/manifests -b rdk-dev-19042009 -m rdkv-asp-extsrc.xml

$ repo sync -j `nproc` --no-clone-bundle

...