Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Author

RDK-M

Approver


Version

1.0

State

Release version

Date

Sept 14, 2020

...


Host Setup

...

...

 1.1.Setting up the Host Environment

  • For Host SetUp details refer this link 

1.2.Downloading Source Code & Building

1.2.1.Downloading Source Code

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.

Building

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
languagebash
themeDJango
mkdir <workspace dir>
cd <workspace dir>

Follow below instructions to create build with external sources

Code Block
languagebash
themeDJango
repo init -u 

...

https://code.rdkcentral.com/r/manifests -m rdkb-extsrc.

...

xml -b rdk-next

...



repo sync -j4 --no-clone-bundle

...

1.2.2.Building

...



MACHINE=qemux86broadband 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.

  • Select option  for qemux86broadband-morty, for building  RDK-B emulator.

Next, you would need to initiate the build using the following command:

...



bitbake rdk-generic-broadband-morty-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
borderColorblack
bgColorWhite
borderStyledashed

<workspace dir>/build-qemux86broadband-morty/tmp/deploy/images/qemux86broadband-morty/rdk-generic-broadband-image-qemux86broadband-morty-<timestamp>.vmdk