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

12 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. user-97713

      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.

    Are the steps mentioned in this page still valid?

    1. user-97713

      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

  5. Following these steps and everytime getting stuck with this error:

    ERROR: Nothing PROVIDES 'servicemanager' (but /home/rdkvmohit/rdkv-test/meta-rdk-video/recipes-graphics/pxcore-libnode/pxcore-standalone_git.bb DEPENDS on or otherwise requires it). Close matches:
      storagemanager
    NOTE: Runtime target 'pxcore-standalone' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['pxcore-standalone', 'servicemanager']
    NOTE: Runtime target 'packagegroup-rdk-media-common' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['packagegroup-rdk-media-common', 'pxcore-standalone', 'servicemanager']
    ERROR: Required build target 'rdk-generic-mediaclient-wpe-image' has no buildable providers.
    Missing or unbuildable dependency chain was: ['rdk-generic-mediaclient-wpe-image', 'packagegroup-rdk-media-common', 'pxcore-standalone', 'servicemanager']

  6. Hi Unknown User (mohit.gautam) 

    Emulator is not supported officially, Please refer this page to know the supported platform details RDK6 Release Notes

  7. Where to get the user name and password


  8. rdk-sridevi@rdkvm03:~/emulator$ repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkv.xml
    repo: reusing existing repo client checkout in /home/rdk-sridevi

    manifests:
    fatal: not a git repository: '/home/rdk-sridevi/.repo/manifests.git'
    manifests: sleeping 4.0 seconds before retrying
    fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests
    ================================================================================
    Repo command failed: UpdateManifestError
            Unable to sync manifest rdkv.xml



    i am getting like this, does anybody know how to solve it?


  9. Hi Sridevi Karun 

    Emulator is not supported currently. Recommended reference platform is Raspberry PI. Please use the build instructions of RPI