Copyright 2016 RDK Management, LLC. All rights reserved. The contents of this document are RDK Management, LLC Proprietary and Confidential and may not be distributed or otherwise disclosed without prior written permission of RDK Management, LLC.

Host Setup

Refer to the below linkĀ for Host Machine Setup.

How to Build#SettinguptheHostEnvironment

Build Setup

Initializing the Build Environment

To build RDK images from rdk-next branch, follow the below build procedure



mkdir workspace
cd workspace

# initialize the repo
# for Non-ASP
repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkv-nosrc.xml

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




mkdir workspace
cd workspace

# initialize the repo
# for ASP (applicable for TDK)
repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkv-asp-nosrc.xml

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



Image Build

Generic Images

To build the image with the default compositor.

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

bitbake rdk-generic-mediaclient-wpe-image

Image with Westeros compositor

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

bitbake rdk-generic-mediaclient-westeros-wpe-image

Note: Westeros is the default compositor, so both images behave in the same way

TDK Image

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

bitbake rdk-generic-mediaclient-wpe-tdk-image


Note: The Kernel image and root filesystem will be created under build-raspberrypi-rdk-mc/tmp/deploy/images/raspberrypi-rdk-mc folder

Development Branch

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

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

mkdir workspace
cd workspace

# initialize the repo either ASP or non-ASP
# for Non-ASP
repo init -u https://code.rdkcentral.com/r/manifests -b rdk-dev-2009 -m rdkv-extsrc.xml

#for ASP
repo init -u https://code.rdkcentral.com/r/manifests -b rdk-dev-2009 -m rdkv-asp-extsrc.xml

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