You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 44 Next »

Introduction

RDK Services are nothing but the RDK components are implemented as Thunder Nano Services and maintained in RDK Central's GitHub https://github.com/rdkcentral/rdkservices

Initially, this is started in the Comcast side and validated on the RPi reference platform and the Yocto recipe is maintained only in meta-rdk-video layer.  Recently RDK services are made open-source and available in GitHub so, the recipe to avail this on CMF community (meta-cmf-video layer) as rdkservices_git.bbappend which points to GitHub's repository.

Currently, RDK services are excluded from Thunder Image builds and this depends with ServiceManager and WPE WebKit for (OpenCDM Implementation)

RDK Services is work on top of RDK Shell which is an application management native component that provides the Wayland Composition. RDK Shell will be a small shared library and a sample binary is available to validate and also integrated as an RDK Service

Yocto Build Steps


repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkv-nosrc.xml
repo sync -j `nproc` --no-clone-bundle --no-tags


Bug fixes and Bluetooth feature changes (optional)
#### bug fixes
# remove WAYLAND_DISPLAY from wpeframework.service
(cd meta-rdk-video; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video" refs/changes/44/44844/3 && git cherry-pick FETCH_HEAD)

#### thunder nano services for RPi
# recipe to enable thunder nano services
(cd meta-cmf-video; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-video" refs/changes/33/44633/6 && git cherry-pick FETCH_HEAD)
# enable bluetooth configuration on WPE Framework
(cd meta-rdk-video; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video" refs/changes/45/44845/5 && git cherry-pick FETCH_HEAD)
# changes required on bluez5 for RDK dependency
(cd meta-rdk-ext; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-ext" refs/changes/38/44338/3 && git cherry-pick FETCH_HEAD)
# add thunder nano services to RPi RDK images
(cd meta-cmf-raspberrypi; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi" refs/changes/35/44635/6 && git cherry-pick FETCH_HEAD)

Images

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

Media client

# choose mediaclient machine configuration on setup
MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment

# generic MC image build
bitbake rdk-generic-mediaclient-wpe-image

Hybrid

# choose hybrid machine configuration
MACHINE=raspberrypi-rdk-hybrid source meta-cmf-raspberrypi/setup-environment

# Generic hybrid image build
bitbake rdk-generic-hybrid-wpe-image

Flashing Procedure


# Insert the micro SD card 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
sudo dd if=rdk-generic-mediaclient-wpe-image-raspberrypi-rdk-mc.rpi-sdimg of=/dev/<sd file> bs=4M

User Interface

User Interface involves UI on TV to show the app launched and a controller UI from host web browser to control all RDK services remotely.

App UI

SwitcherApp is a lightning framework based JS application which can be launched from the ResidentApp service on controller UI (from Host machine's web browser) 

URL: https://px-apps.sys.comcast.net/lightning_apps/SwitcherApp/dist/index.html

Metrological's App

Controller UI

Controller UI is a web UI that can be launched from a host machine's (machine with same network with RPi) browser. This UI can be loaded with the RPi box's IP address with port number 9998.
URL: http://<Rpi ip address>:9998

Controller: List of plugins

ResidentApp Control

Supported Plugins Status

S.NoSupported PluginsTotal Test CasesPASS CountFAIL Count
1Controller menu110
2Device Info110
3Display Info101
4Location Sync101
5Messenger101
6Monitor101
7OCDM101
8Player Info101
9Trace Control110
10com.comcast.StateObserver101
11org.rdk.AVInput413
12org.rdk.ActivityMonitor633
13org.rdk.ContinueWatching404
14org.rdk.DeviceDiagnostics202
15org.rdk.DisplaySettings413011
16org.rdk.FrameRate532
17org.rdk.HdcpProfile321
18org.rdk.HdmiInput431
19org.rdk.LoggingPreferences321
20org.rdk.Network1376
21org.rdk.RDKShell27720
22org.rdk.ScreenCapture211
23org.rdk.System261610
24org.rdk.Timer743
25org.rdk.UserPreferences321
26org.rdk.Warehouse853
27org.rdk.Wifi17611
28org.rdk.Xcast431
29org.rdk.dataCapture312
Total1929993

Known Issues

Issues in JIRA

Build Issues

S. No.Issue Description / logRoot CauseAction done / Changes atRemarks
1ERROR: Layer 'cmf-raspberrypi' depends on layer 'wpe-layer', but this layer is not enabled in your configurationmeta-cmf-raspberrypi's layer has wpe layer dependency

Removed wpe dependency from meta-cmf-raspberrypi/conf/layer.conf

Change-set: 43688

addressed from REFPLTV-521
2ERROR: Nothing RPROVIDES 'gstreamer1.0-plugins-ugly' (but meta-rdk/recipes-core/packagegroups/packagegroup-rdk-media-common.bb RDEPENDS on or otherwise requires it)
ERROR: gstreamer1.0-plugins-ugly was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST
RDK Media common package group has GStreamer ugly plugins run-time dependency

commercial Whitelist flag added for Gstreamer ugly plugin and mpg123.

Also lame is not required for RDK build as it has a restricted license.

Change-set: 43513

addresed from 
REFPLTV-518

3ERROR: Nothing RPROVIDES 'gstreamer1.0-plugins-ugly-mpg123' (but meta-rdk-ext/recipes-extended/wpe-webkit/wpe-webkit_0.4.4.bb RDEPENDS on or otherwise requires it)wpe-webkit has Gstreamer ugly plugins run-time dependency
4| build-raspberrypi-rdk-mc/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/wpe-webkit/0.4.4+gitAUTOINC+5f899bc2e0-r0/git/Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:46:22: fatal error: cairo-gl.h: No such file or directory
| #include <cairo-gl.h>
| ^
| compilation terminated.
cairo bbappend from meta-rdk-ext is masked from meta-cmf-raspberrypi as meta-wpe has the same bbappend

meta-wpe 's cairo bbappend is masked for Non-Thunder images and meta-rdk-ext 's cairo bbappend is masked for Thunder images

Change-set: 43722

addressed from
REFPLTV-519
5
  • Not able to get the ssh terminal once the image is booted
  • No way to edit RDK Services configuration file as the rootfs generated with read-only mode
bbappend files for RDK Images which are maintained in meta-cmf-raspberrypi layer are disabled the read-only-rootfs IMAGE Feature only under that bbappend scope so, if any new image bbappend introduced, the image generated with this feature.removed read-only-rootfs feature globally for all RPI images
Change-set: 43245
addressed from 
REFPLTV-517
6

REFPLTV-604 - Getting issue details... STATUS
OCDM Plugin got crashed and the WPEFramework behavior is not proper

plugin configuration in OCDM.json is not proper (syntax error).
systems parameter is not set any value
An empty double qoutes ("") is added to systems parameter in /etc/WPEFramework/plugins/OCDM.json filetemporary fix
7

No controller UI on web browser launched though the port 9998 enabled (confirmed through netstat command)

The binding address is not set for WPE Framework

+ WPEFRAMEWORK_BINDING_rpi = "0.0.0.0"

Change-set : 43520

addressed from 
REFPLTV-520
8RDK Shell distro feature to be enabledRDK Shell distro feature includes rdkshell, wpeframework-ui and rdk referenceapp components into image

Enabled in raspberrypi-rdk-mc.conf file

Change-set: 43690

addressed from
REFPLTV-522
9new manifest to avoid meta-wpemeta-wpe layer is no more needed for RDK servicesa new manifest created on master branch of
http://code.rdkcentral.com/r/reference/manifests

addressed from REFPLTV-516

10remove meta-wpe layer dependency in meta-cmf-raspberrypi layer
removed

addressed from REFPLTV-521

Runtime issues


IssueResolutionRemarks
1

REFPLTV-590 - Getting issue details... STATUS

Fixed
2

REFPLTV-592 - Getting issue details... STATUS



3

REFPLTV-595 - Getting issue details... STATUS



4

REFPLTV-596 - Getting issue details... STATUS



5

REFPLTV-597 - Getting issue details... STATUS



6

REFPLTV-598 - Getting issue details... STATUS



7

REFPLTV-599 - Getting issue details... STATUS



8

REFPLTV-600 - Getting issue details... STATUS



9

REFPLTV-603 - Getting issue details... STATUS



10

REFPLTV-604 - Getting issue details... STATUS



Test Execution

T

Key

SummaryAssigneeReporterPStatusResolutionCreatedUpdatedDueRemarks

REFPLTV-523

RDK Services:Selected plugins are not displayed in left side of controller UI.Josekutty KuriakoseGopinath ChandranIN PROGRESSUnresolved31-Aug-202031-Aug-2020

REFPLTV-524

RDK Services:For "org.rdk.AVInput.1.numberOfInputs" curl command response get failed.Josekutty KuriakoseGopinath ChandranRESOLVEDWon't fix31-Aug-202031-Aug-2020
Not applicable on Rpi

REFPLTV-525

RDK Services: For "org.rdk.AVInput.1.currentVideoMode" curl command response get failed.Josekutty KuriakoseGopinath ChandranRESOLVEDWon't fix31-Aug-202031-Aug-2020
Not applicable on Rpi

REFPLTV-526

RDK Services:For "org.rdk.ActivityMonitor.1.getApplicationMemoryUsage" curl command response get failed.Josekutty KuriakoseGopinath ChandranRESOLVEDUser Input31-Aug-202031-Aug-2020

REFPLTV-527

RDK Services: For "org.rdk.ActivityMonitor.1.onMemoryThresholdOccurred" curl command response get failed.Josekutty KuriakoseGopinath ChandranRESOLVEDUser Input31-Aug-202031-Aug-2020

REFPLTV-528

RDK Services: For "org.rdk.ContinueWatching.setApplicationToken" curl command response get failedJosekutty KuriakoseGopinath ChandranRESOLVEDUser Input31-Aug-202031-Aug-2020

REFPLTV-529

RDK Services: For "org.rdk.ContinueWatching.getApplicationToken" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-530

RDK Services: For "org.rdk.ContinueWatching.deleteApplicationToken" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-531

RDK Services: For "org.rdk.dataCapture.1.getAudioClip" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-532

RDK Services: For "org.rdk.DeviceDiagnostics.1.getConfiguration" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-533

RDK Services: For "org.rdk.DisplaySettings.1.getSupportedTvResolutions" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-534

RDK Services: For "org.rdk.DisplaySettings.1.setMS12AudioCompression" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-535

RDK Services: For "org.rdk.DisplaySettings.1.getMS12AudioCompression" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-536

RDK Services: For "org.rdk.DisplaySettings.1.setDolbyVolumeMode" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-537

RDK Services: For "org.rdk.DisplaySettings.1.getDolbyVolumeMode" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-538

RDK Services: For "org.rdk.DisplaySettings.1.setDialogEnhancement" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-539

RDK Services: For "org.rdk.DisplaySettings.1.setIntelligentEqualizerMode" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-540

RDK Services: For "org.rdk.DisplaySettings.1.getDialogEnhancement" curl command response get failed. Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-541

RDK Services: For "org.rdk.DisplaySettings.1.getIntelligentEqualizerMode" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-542

RDK Services: For "org.rdk.DisplaySettings.1.isConnectedDeviceRepeater" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-543

RDK Services: For "org.rdk.Network.1.isInterfaceEnabled" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-544

RDK Services: For "org.rdk.Network.1.setInterfaceEnabled" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-545

RDK Services: For "org.rdk.Network.1.setDefaultInterface" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-546

RDK Services: For "org.rdk.Network.1.getIPSettings" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-547

RDK Services: For "org.rdk.Network.1.setIPSettings" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-548

RDK Services: For "org.rdk.RDKShell.1.moveToFront" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-549

RDK Services: For "org.rdk.RDKShell.1.moveToBack" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-550

RDK Services: For "org.rdk.RDKShell.1.moveBehind" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-551

RDK Services: For "org.rdk.RDKShell.1.setFocus" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-552

RDK Services: For "org.rdk.RDKShell.1.kill" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-553

RDK Services: For "org.rdk.RDKShell.1.addKeyIntercept" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-554

RDK Services: For "org.rdk.RDKShell.1.getBounds" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-555

RDK Services: For "org.rdk.RDKShell.1.setBounds" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-556

RDK Services: For "org.rdk.RDKShell.1.getVisibility" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-557

RDK Services: For "org.rdk.RDKShell.1.setVisibility" curl command response get failed.

Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-558

RDK Services: For "org.rdk.RDKShell.1.getOpacity" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-559

RDK Services: For "org.rdk.RDKShell.1.addKeyListener" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-560

RDK Services: For "org.rdk.RDKShell.1.removeKeyListener" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-561

RDK Services: For "org.rdk.RDKShell.1.animateTo" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-562

RDK Services: For "org.rdk.RDKShell.1.getScale" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-563

RDK Services: For "org.rdk.RDKShell.1.generateKey" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-564

RDK Services: For "org.rdk.RDKShell.1.suspendApplication" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-565

RDK Services: For "org.rdk.RDKShell.1.resumeApplication" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-566

RDK Services: For "org.rdk.System.1.enableMoca" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-567

RDK Services: For "org.rdk.System.1.disableMoca" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-568

RDK Services: For "org.rdk.System.1.getDeviceInfo" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-569

RDK Services: For "org.rdk.System.1.getStateInfo" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-570

RDK Services: For "org.rdk.System.1.setPowerState" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-571

RDK Services: For "org.rdk.System.1.hasRebootBeenRequested (v1)" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-572

RDK Services: For "org.rdk.System.1.setMode" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-573

RDK Services: For "org.rdk.System.1.setPreferredStandbyMode" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-574

RDK Services: For "org.rdk.System.1.getPreferredStandbyMode" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-575

RDK Services: For "org.rdk.Timer.1.suspend" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-576

RDK Services: For "org.rdk.Timer.1.resume" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-577

RDK Services: For "org.rdk.Wifi.1.getCurrentState" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-578

RDK Services: For "org.rdk.Wifi.1.startScan" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-579

RDK Services: For "org.rdk.Wifi.1.stopScan" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-580

RDK Services: For "org.rdk.Wifi.1.getConnectedSSID" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-581

RDK Services: For "org.rdk.Wifi.1.connect" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-582

RDK Services: For "org.rdk.Wifi.1.disconnect" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-583

RDK Services: For "org.rdk.Wifi.1.initiateWPSPairing" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-584

RDK Services: For "org.rdk.Wifi.1.cancelWPSPairing" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-585

RDK Services: For "org.rdk.Wifi.1.getPairedSSID" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-586

RDK Services: For "org.rdk.Wifi.1.getPairedSSIDInfo" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

REFPLTV-587

RDK Services: For "org.rdk.Warehouse.1.setFrontPanelState" curl command response get failed.Josekutty KuriakoseGopinath ChandranNEW Unresolved31-Aug-202031-Aug-2020

Functional Test Report:

Please refer the below link for system test report.







  • No labels