Build Setup Instructions


Setting up the Host Environment

How to Build#SettinguptheHostEnvironment

Yocto 3.1 (Dunfell) support in RDK Emulator

Downloading Source Code & Building (Dunfell version of RDK-Emulator)


The following commands fetch the source code of the emulator using the Android repo tool

Yocto workspace setup
mkdir emulator && cd emulator
repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkv-nosrc.xml
repo sync -j`nproc` --no-clone-bundle --no-tags


The above step configures and sets up your directory to start an appropriate build for hybrid or media client.

For Mediaclient:

Mediaclient image
MACHINE=qemux86mc-dunfell source meta-cmf-bsp-emulator/setup-environment
bitbake rdk-generic-mediaclient-wpe-image

On Successful build, the image (in .wic.vmdk format) would be available at the following reference location -

-       build-qemux86mc-dunfell/tmp/deploy/images/qemux86mc-dunfell


  • No labels

7 Comments

  1. can anyone advise me how to init the repo above ?.

    'repo init' always shows me 403 error.

    and navigating to 'https://code.rdkcentral.com/r/manifests' from web-browser, results 'Not Found' as well

    requres special permission ?.


    thanks.


    1. Hi,

      Did you add your code.rdkcentral.com credentials to your .netrc file? The entry should look like:

      machine code.rdkcentral.com login <your login> password <your password>

      The manifests can be found at https://code.rdkcentral.com/r/admin/repos/manifests,general

      1. Thanks for your reply!


        of course, i did.

        if not, it might say 'unauthorized'.

        however, it was successful while initializing the repo by 'RDK-V IP Client based STB on Rasp', that is 'https://code.rdkcentral.com/r/rdkcmf/manifests' and able to navigate


        it's weird but i'll keep continue to examine..


        thank you.

  2. Hi this might be a stupid question to ask but can I follow these steps in a VM(multipass?) from my M1 Mac?

  3. 'repo init' always shows me 403 error.

    i tried changing manifest location to  https://code.rdkcentral.com/r/admin/repos/manifests,general and got error 404.

    Just to let you know i have already added code.rdkcentral.com credentials to my .netrc file

    Also,i did not face any problems when  i am trying to build RDK-V IP Client based STB on Raspberrypi 3 as illustrated in RDK-V IP Client based STB on Raspberrypi 3.

    Are the steps mentioned in this page still valid?

    1. Yes, the steps are still valid. Try with repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkv.xml. If it still doesn't wok, please send mail to support@rdkcentral.com stating the issue.

  4. i am trying the repo init command, its giving the error /usr/bin/env: 'python': No such file or directory