Versions Compared

Key

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

...

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

Initializing the Build Environment

To build the imageRDK images from rdk-next branch, follow the below instructions

$ mkdir <workspace dir>

$ cd <workspace dir>

...

build procedure

Deck of Cards
idmain


Card
labelnon ASP
titleGeneric image without TDK


Code Block
languagebash
themeRDark
titlenon ASP build setup
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



Card
labelASP
titleGeneric image with TDK


Code Block
languagebash
themeRDark
titleASP build (for

...

TDK)
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

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/

Generic Image

To build the image with the default compositor.

Choose hybrid machine configuration to build the image with default compositor$

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

Image with Westeros compositor

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

...



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

...

for Hybrid image with TDK


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

TDK Image

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

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



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

Development Branch

To #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

Code Block
languagebash
themeRDark
titlebuild from development branch
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:

...



#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