You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Host Setup

Refer the link for host setup details : Host Setup

Build Setup

build 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


apply bug fixes
(cd meta-rdk-video; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video" refs/changes/15/48115/5 && 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/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-cmf-qt5; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-qt5" refs/changes/05/48505/1 && git cherry-pick FETCH_HEAD)
(cd meta-cmf-video;git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-video" refs/changes/20/49420/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)

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

    image build
    MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment
    bitbake rdk-generic-mediaclient-wpe-image
    image build
    MACHINE=raspberrypi-rdk-hybrid source meta-cmf-raspberrypi/setup-environment
    bitbake rdk-generic-hybrid-wpe-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

    # 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
    • No labels