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

10 Comments

  1. Unknown User (ky.park)

    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. Unknown User (pradeep_raveendranpillai)

      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. Unknown User (ky.park)

        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. Unknown User (imtiaz)

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

  3. Unknown User (narasimha_sastry)

    '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. Unknown User (pradeep_raveendranpillai)

      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. Unknown User (sahitya.modi)

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

  5. Unknown User (mohit.gautam)

    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. Unknown User (lakshmipriyap)

    Hi Unknown User (mohit.gautam) 

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

  7. Unknown User (asutosh.sahu)

    Where to get the user name and password