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 Setup

Refer the below link for Host Setup details.

Host setup

Build Setup

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

Initializing the Build Environment

To build the image, follow the below instructions

$ mkdir <workspace dir>

$ cd <workspace dir>

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

for ASP:

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

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

Hybrid

Choose hybrid machine configuration to build the image with default compositor

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

$ bitbake rdk-generic-hybrid-wpe-image

for Mediaclient image with TDK

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

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

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

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

for Hybrid image with TDK

$ 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 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-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

Build Instruction

Follow the below link for RDK Media Gateway (Hybrid) image using Yocto build framework for RaspberryPi platform

RDK-V (Raspberry Pi) Yocto Build Instructions - MortyNote: The Kernel image and root filesystem will be created under ./ build-raspberrypi-rdkmc/tmp/deploy/images/raspberrypi-rdk-mc folder