Versions Compared

Key

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

Host Setup

How to Build#SettinguptheHostEnvironmentRefer to the link for host setup details: Host Setup

Build Setup

Code Block
languagebash
themeRDark
titlebuild setup
repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkv-nosrc.xml
repo sync -j `nproc` --no-clone-bundle --no-tags

Image Build

titleapply bug fixescollapse
Deck of Cards
idframe
Card
defaulttrue
labelMedia Client
titleInstruction to build mediaclient image
Code Block
languagebash
theme
RDark
title
true
(cd meta-rdk; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk" refs/changes/29/48129/1 && git cherry-pick FETCH_HEAD)
(cd meta-rdk-video; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video" refs/changes/15/48115/1 && git cherry-pick FETCH_HEAD)
(cd meta-rdk-video; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video" refs/changes/68/47168/2 && git cherry-pick FETCH_HEAD)
(cd meta-rdk-video; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video" refs/changes/15/47615/3 && git cherry-pick FETCH_HEAD)
(cd meta-rdk-video; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video" refs/changes/60/47460/4 && git cherry-pick FETCH_HEAD)
(cd meta-rdk-video; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video" refs/changes/37/48437/1 && git cherry-pick FETCH_HEAD)
(cd meta-rdk-video; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video" refs/changes/42/48442/1 && git cherry-pick FETCH_HEAD)
(cd meta-rdk-ext; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-ext" refs/changes/99/47599/2 && git cherry-pick FETCH_HEAD)
(cd meta-rdk-ext; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-ext" refs/changes/58/48058/1 && git cherry-pick FETCH_HEAD)
(cd meta-cmf-raspberrypi; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi" refs/changes/36/48436/1 && git cherry-pick FETCH_HEAD)

git clone https://code.rdkcentral.com/r/rdk/components/generic/rfc -b rdk-next rdk/components/generic/rfc
(cd rdk/components/generic/rfc; git fetch "https://code.rdkcentral.com/r/rdk/components/generic/rfc" refs/changes/28/47528/1 && git cherry-pick FETCH_HEAD)

git clone https://code.rdkcentral.com/r/rdk/components/generic/rmf_mediastreamer -b rdk-next rdk/components/generic/rmf_mediastreamer
git clone https://code.rdkcentral.com/r/rdk/devices/intel-x86-pc/emulator/rmf_mediastreamer -b rdk-next rdk/components/generic/rmf_mediastreamer/platform/rdkemulator
(cd rdk/components/generic/rmf_mediastreamer; git fetch "https://code.rdkcentral.com/r/rdk/components/generic/rmf_mediastreamer" refs/changes/79/47179/1 && git cherry-pick FETCH_HEAD)

git clone https://code.rdkcentral.com/r/rdk/components/generic/media_utils -b rdk-next rdk/components/generic/media_utils
(cd rdk/components/generic/media_utils; git fetch "https://code.rdkcentral.com/r/rdk/components/generic/media_utils" refs/changes/61/47161/1 && git cherry-pick FETCH_HEAD)

git clone https://code.rdkcentral.com/r/rdk/components/generic/xupnp -b rdk-next rdk/components/generic/xupnp
(cd rdk/components/generic/xupnp; git fetch "https://code.rdkcentral.com/r/rdk/components/generic/xupnp" refs/changes/61/47061/3 && git cherry-pick FETCH_HEAD)

Note: The above bug fixes changes are temporary given as instructions. This is not required once the change is get merged into the appropriate repo

image build
RPi3
MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-mediaclient-wpe-image

RPi4
MACHINE=raspberrypi4-64-rdk-android-mc source meta-cmf-raspberrypi/setup-environment
bitbake lib32-rdk-generic-mediaclient-wpe-image
Card
labelHybrid Gateway
titleInstruction to build hybrid gateway
Deck of Cards
idframe
Card
labelMedia Client
titleInstruction to build mediaclient image
Code Block
languagebash
themeRDark
titleimage build
RPi3
MACHINE=raspberrypi-rdk-hybrid source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-hybrid-wpe-image

RPi4
MACHINE=raspberrypi4-64-rdk-android-mchybrid source meta-cmf-raspberrypi/setup-environment
bitbake lib32-rdk-generic-mediaclienthybrid-wpe-iamgeimage
Card
labelHybrid Gateway with Operator Ref. App.
titleInstruction to build hybrid gateway image with Operator Reference Application
Code Block
languagebash
themeRDark
titleimage build
MACHINE=raspberrypi-rdk-hybridraspberrypirdkhybrefapp source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-hybrid-wpe-image-refapp-image

The generated image resides under the directory build-<MACHINE>/tmp/deploy/images/<MACHINE> of the Yocto workspace

Flash Procedure

The micro SD card should not have any partition while flashing the image. The complete memory of the card should be free

Code Block
languagebash
themeRDark
# of - output file (the device file for the inserted micro SD card
bzcat <IMAGE_NAME>-<MACHINE>.wic.bz2 | sudo dd of=/dev/sdb bs=4M iflag=fullblock oflag=direct conv=fsync

Known Issue

  • Cobalt is crashed upon launching over RDK Shell