RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive![]()
How to Build#SettinguptheHostEnvironment
The following commands fetch the source code of the emulator using the Android repo tool
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:
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
12 Comments
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 wellrequres special permission ?.thanks.
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
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.
Z-Sk Imtiaz Ahmed
Hi this might be a stupid question to ask but can I follow these steps in a VM(multipass?) from my M1 Mac?
Z-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.
Are the steps mentioned in this page still valid?
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.
Z-Sahitya Modi
i am trying the repo init command, its giving the error /usr/bin/env: 'python': No such file or directory
Z-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']
Lakshmipriya P
Hi Unknown User (mohit.gautam)
Emulator is not supported officially, Please refer this page to know the supported platform details RDK6 Release Notes
Z-Asutosh Sahu
Where to get the user name and password
Z-Sridevi Karun
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?
Lakshmipriya P
Hi Z-Sridevi Karun
Emulator is not supported currently. Recommended reference platform is Raspberry PI. Please use the build instructions of RPI