Versions Compared

Key

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

...

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 Environment Setup

Refer to the below link for Host Setup details.Host setup

How to Build#SettinguptheHostEnvironment

Initilaizing the Build Environment

#To build rdk-next image follow the below build procedure

$ mkdir <workspace dir>

$ cd <workspace dir>

Code Block
languagebash
themeRDark
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

...


# 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


Generic Image

To build the image with the default compositor$ source .

Code Block
languagebash
themeRDark
titlegeneric image
MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment

...



bitbake rdk-generic-mediaclient-wpe-image

...

for TDK-image

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

To build image with westeros compositor

...


Image with Westeros compositor

Code Block
languagebash
themeRDark
titlegeneric image
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


For TDK Image

Code Block
languagebash
themeRDark
titleTDK image
MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment

bitbake 

for TDK-image

...

rdk-generic-mediaclient

...

-wpe-tdk-image


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