RDK-B Emulator Users Guide
Copyright 2015 RDK Management, LLC. All rights reserved.
The contents of this document are RDK Management, LLC Proprietary and Confidential and may not be distributed or otherwise disclosed without prior written permission of RDK Management, LLC.
RDK Emulator Users Guide
Table of Contents
RDK (Reference Design Kit) is an integrated set of software components, tools and documentation that help in the development of the software stack for set-top box based on the standard Linux operating system which is designed to meet the requirements of the latest generation media servers and clients.
The RDK emulator is an x86 based implementation of the RDK software stack. It is primarily targeted towards the RDK development community (integrators, component developers and application developers) that attempts to simplify the process of working with the RDK software stack without the need for a reference hardware platform.
Purpose of this Document
The purpose of this document is to enable RDK users and developers to be able to bring up the RDK stack and emulator on the PC platform. The document also includes step-by-step procedures to setup & build RDK Emulator
- eth0/erouter0 interface <ip address> is failing to connect ssh . But, able to connect ssh with host using port forwarding in Network settings of Virtual Box.
- Client is getting the <ip address> from Emulator . But, not in 10.x.x.x
- Failed to open webUI configuration .
Abbreviations and Acronyms
The following table describes the acronyms and abbreviations used in this document
Reference Development Kit
Overview of RDK Emulator
- Executes on x86-based platforms including virtualization environments such as Virtual Box and QEMU.
- Built using Yocto and RDK build frameworks
RDK-B Emulator runs RDK-B stack on PC platform, validated through the virtual box based virtualization platform .
Hardware Abstraction Layer supporting Ethernet and Wi-Fi functionalities are introduced to adopt the PC platform.
Wi-Fi Hotspot support through external wireless adapter.USB to Ethernet Adapter is used for Ethernet LAN connections.
Support of advance configurations like firewall, parental control, WAN Manager and remote management etc ...
Supported Build Types
RDK Components Involved
Final Image Name
Build Setup Instructions
Setting up the Host Environment
Downloading Source Code & Building
Bringing up the Emulator on Virtual Box
|Linux||32/64 bit Ubuntu 16.04 operating system|
|Free HDD Space||Minimum 100GB Free Memory|
|Oracle Virtual Box||4.3.18 or higher|
Install Virtual Box and follow the following steps to bring up RDK Emulator on Virtual Box:
In the following steps, it is recommended to review the description and screenshot completely before proceeding with steps.
STEP 1: Create your new VM Instance:
Select New [A popup will come up]
Select Type as ‘Linux’
Select Version as ‘Other Linux (32 Bit)’
Click on “Next”
- Choose a Memory Size of 512 MB
- Use an existing virtual hard drive file which would be your newly built image in *.vmdk format and create your VM:
STEP 2: Configure your new VM Instance:
- Click on “Settings” tab to configure your new VM instance
- Configure your VMs network settings
- Choose “Bridged Adapter” mode as shown in the screenshot below
STEP 3: Run Emulator in Vbox :
- Boot up your VM by clicking on start
- Click “start” to launch the Emulator vmdk image
- Provide “root” to login Emulator as shown in the screen shot
- Emulator usually fetches IP address by default,i.e "ifconfig erouter0"
- If not then assign statically using the commands.
- For ex: ifconfig eth0/erouter0 192.168.1.49
- route add default gw 192.168.1.1 eth0/erouter0
- Once IP address for Emulator is up, Emulator shall be accessed in the Host PC using the below command
Once you have the IP address you may SSH into your VM from your linux shell console. Use root as the ssh user.
|$ ssh root@<erouter0 ip>|
STEP 4: Lanching Emulator in WebUI :
- In the Host-PC Browser, Enter the eth0/erouter0 IP:8080 to get WebUI
- WebUI Login Credential's
Launching WebUI App
- In the Host-PC Browser, Enter the eth0 /erouter0 IP:8080 to get WebUI
- WebUI Login Credential's