Versions Compared

Key

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

...

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
Code Block
languagebash
titleapply bug fixes
collapsetrue
# fix for org.rdk.Wifi.1.saveSSID result
git clone https://code.rdkcentral.com/r/rdk/components/generic/netsrvmgr rdk/components/generic/netsrvmgr
(cd rdk/components/generic/netsrvmgr; git fetch "https://code.rdkcentral.com/r/rdk/components/generic/netsrvmgr" refs/changes/93/50893/1 && 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

Deck of Cards
idframe
Card
defaulttrue
labelMedia Client
titleInstruction to build mediaclient image
Code Block
languagebash
themeRDark
titleimage 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 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-hybrid source meta-cmf-raspberrypi/setup-environment
bitbake lib32-rdk-generic-hybrid-wpe-image
Card
labelHybrid Gateway with Operator Ref. App.
titleInstruction to build hybrid gateway image with Operator Reference Application
true
Code Block
languagebash
titleapply bug fixes
collapse
Code Block
languagebash
(cd meta-cmf-video-restricted; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-video-restricted" refs/changes/90/51390/1 && git cherry-pick FETCH_HEAD)
(cd meta-cmf-video-restricted; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-video-restricted" refs/changes/50/51450/1 && git cherry-pick FETCH_HEAD)
git clone https://code.rdkcentral.com/r/components/generic/subtec-app components/generic/subtec-app
(cd components/generic/subtec-app; git fetch "https://code.rdkcentral.com/r/components/generic/subtec-app" refs/changes/52/51452/1 && git cherry-pick FETCH_HEAD)
themeRDark
titleimage build
MACHINE=raspberrypirdkhybrefapp source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-hybrid-refapp-image

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

...

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

  • RDKShell not working with Direct Rendering Manager (DRM) backendCobalt is crashed upon launching over RDK Shell