RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Table of Contents |
---|
Author | RDK-M |
Approver | |
Version | 1.0 |
State | Release version |
Date | Sept 14, 2020 |
...
...
...
Following commands fetch the source code of emulator using repo tool
$ mkdir emulator && cd emulator
Please use the following repo init command
NOTE: Observing fetch errors in VMs with Ubuntu14.x. Thus, suggesting to use VMs with Ubuntu16.x or higher.
Note: Cloning the code before login once to code.rdkcentral.com, user would get the Authentication error, even though the account is in good standing and has all the required access. Please login to code.rdkcentral.com before attempting to clone.
To build, follow below instructions
Create workspace directory
Code Block | ||||
---|---|---|---|---|
| ||||
mkdir <workspace dir>
cd <workspace dir> |
Follow below instructions to create build with external sources
Code Block | ||||
---|---|---|---|---|
| ||||
repo init -u |
...
https://code.rdkcentral.com/r/manifests -m rdkb-extsrc. |
...
xml -b rdk-next |
...
repo sync -j4 --no-clone-bundle |
...
...
MACHINE qemux86broadband-morty source meta-cmf/setup-environment |
...
There are different kinds of builds listed. Please read the options and select the number of the build you need.
Next, you would need to initiate the build using the following command:
...
bitbake rdk-generic-broadband-image |
On Successful build, the ROOTFS the ROOTFS (in vmdk format) would be available at the following reference location based on the build type:- ${HOME}/emulator.
Panel |
---|
<workspace dir>/build-qemux86broadband-morty/tmp/deploy/images/qemux86broadband-morty/rdk-generic-broadband-image-qemux86broadband-morty-<timestamp>.vmdk |