Versions Compared

Key

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

Table of Contents
Introduction

RDK-V IP Client is a IP based Client Set-Top-Box (STB) with RDK 4.0 features which connnects directly with Network Gateways. Targets on Accelerator platforms and utilizes only open-sourced RDK components.

Unused components from MediaClient :

IP STB build is based from medicalient image with out the licensed components and other components which are not required for IP streaming. Some of the components which are removed as of now are,

Host Setup

Refer to the below link for Host Machine Setup

How to Build#SettinguptheHostEnvironment

Yocto Build Setup

All RPi based RDK images with the latest features are from the rdk-next branch

Initializing the Build Environment

To build RDK images from ipstb_bringup branch, follow the below build procedure

Code Block
languagebash
themeRDark
titleGeneric build
mkdir workspace
cd workspace

# initialize the manifest with repo tool
repo init -u https://code.rdkcentral.com/r/manifests -b ipstb_bringup -m rdkv-ipstb-nosrc.xml
repo sync -j `nproc` --no-clone-bundle --no-tags


Code Block
languagebash
titleapply fixes
#Machine config masking all the unused layers and components
cd meta-cmf-raspberrypi; git fetch https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-cmf-raspberrypi refs/changes/23/59123/2 && git cherry-pick FETCH_HEAD

#Removing dependencies of unused components from required layers	
1. cd meta-cmf-raspberrypi; git fetch https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-cmf-raspberrypi refs/changes/74/59174/6 && git cherry-pick FETCH_HEAD
	
2. cd meta-cmf-video; git fetch https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-video refs/changes/08/59208/3 && git cherry-pick FETCH_HEAD

#Checkout new image recipe file for IPSTB	
cd meta-rdk; git fetch https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-rdk refs/changes/23/59223/2 && git cherry-pick FETCH_HEAD

#Bring tr69 and mfrlibs from restricted layers to opensource layers:
cd meta-cmf-raspberrypi; git fetch https://code.rdkcentral.com/r/rdk/components/generic/rdk-oe/meta-cmf-raspberrypi refs/changes/24/59224/3 && git cherry-pick FETCH_HEAD

Image build

Code Block
languagebash
themeRDark
titlegeneric image
MACHINE=raspberrypi-rdk-ipmc source meta-cmf-raspberrypi/setup-environment

bitbake rdk-ip-mc-image

Flashing Procedure

The image file will be generated under build-<MACHINE>/tmp/deploy/images/<MACHINE> directory

Code Block
languagebash
themeRDark
# Insert the micro SD card to the host system and mention the card's device file name
# input file (if) is the image file to flash and the output file (of) is the card's device file name
bzcat rdk-ip-mc-image-raspberrypi-rdk-ipmc.wic.bz2 | sudo of=/dev/<sd file> bs=4M iflag=fullblock oflag=direct conv=fsync

System View

JIRA Tracker

Jira
serverJIRA
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
maximumIssues20
jqlQuerytargets = R-Pi AND project = REFPLTV AND labels in (_rdk_ip_stb, _rdk_rpi_open_sourcing)
serverId11deff04-0380-3a3d-a916-0849d4e573f7

Compilation Errors(Now all are resolved)

S.NoComponentRecipeDependent onRemarks
1sysintNo bb fileIt is not yet opensourcedIf added in meta-rdk it is fixed
2sysint-confNo bb fileRemoving from package oss fileBuild is proceeding further
3virtual/mfrlib
Opensourcing
4tenablehdcp-devmeta-rdk-video/recipes-extended/tenablehdcp/tenablehdcp_git.bbiarmmgrsvirtual/mfrlib
5ledmgr-devmeta-rdk-video/recipes-extended/ledmgr/ledmgr_git.bbiarmmgrs
6iarm-query-powerstate-devmeta-rdk-video/recipes-extended/sys_mon_tools/iarm-query-powerstate_git.bbiarmmgrsvirtual/mfrlib
7tr69hostif-devmeta-rdk-video/recipes-thirdparty/tr69hostif/tr69hostif_git.bbBluetooth-mgr -> audiocapture -> iarmargs
8Netsrvmgr-pni-controller, netsrvmgr-pni-settings-loader, netsrvmgr-devmeta-rdk-video/recipes-extended/networkmgr/netsrvmgr_git.bbiarmmgrs
9iarm-set-powerstate-devmeta-rdk-video/recipes-extended/sys_mon_tools/iarm-set-powerstate_git.bbiarmmgrs
10rdkservices-devmeta-rdk-video/recipes-extended/rdkservices/rdkservices_git.bbiarmmgrs
11Key-simulator-devmeta-rdk-video/recipes-extended/sys_mon_tools/key-simulator_git.bbiarmmgrs
12iarmmgrs-devmeta-rdk-video/recipes-extended/iarmmgrs/iarmmgrs_git.bbvirtual/mfrlib
13ledmgr-extended-noop-devmeta-rdk-video/recipes-extended/ledmgr/ledmgr-extended-noop_git.bbiarmmgrs
14bluetooth-mgr-devmeta-rdk/recipes-connectivity/bluetooth/bluetooth-mgr_git.bbAudiocapturemgr -> iarmargs
15aampmeta-rdk-video/recipes-extended/aamp/gst-plugins-rdk-aamp_git.bb, meta-rdk-ext/recipes-extended/webkitbrowser-plugin/webkitbrowser-plugin_git.bb, meta-rdk-video/recipes-extended/injectedbundle/injectedbundle.bbiarmmgrs
16mfrlibs-rpi


17Wpe-webkit-dev, wpe-webkit-web-inspector-plugin, wpe-webkitmeta-rdk-ext/recipes-extended/wpe-webkit/wpe-webkit_2.22.2.bb

18audiocapturemgr, audiocapturemgr-devvirtual/media-utils iarmbus iarmmgrsiarmmgrsvirtual/mfrlib
19