Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

BUD17-408: RDK on 96Boards

543 views

Published on

"Session ID: BUD17-408
Session Name: RDK on 96Boards - BUD17-408
Speaker: Sivasubramanian Patchaiperumal
Track: LHG


★ Session Summary ★
LHG has been working on integrating open source features to the RDK for almost three years. Over time the development team has run RDK on many target boards. This presentation will discuss the 96B platforms that are running RDK and the challenges related to each port.
---------------------------------------------------
★ Resources ★
Event Page: http://connect.linaro.org/resource/bud17/bud17-408/
Presentation: https://www.slideshare.net/linaroorg/bud17408-rdk-on-96boards
Video: https://youtu.be/WoIYBgkprgs
---------------------------------------------------

★ Event Details ★
Linaro Connect Budapest 2017 (BUD17)
6-10 March 2017
Corinthia Hotel, Budapest,
Erzsébet krt. 43-49,
1073 Hungary

---------------------------------------------------
Keyword: LHG, 96Boards, RDK
http://www.linaro.org
http://connect.linaro.org
---------------------------------------------------
Follow us on Social Media
https://www.facebook.com/LinaroOrg
https://twitter.com/linaroorg
https://www.youtube.com/user/linaroorg?sub_confirmation=1
https://www.linkedin.com/company/1026961"

Published in: Technology
  • Be the first to comment

  • Be the first to like this

BUD17-408: RDK on 96Boards

  1. 1. RDK on 96Boards Sivasubramanian Patchaiperumal (LHG)
  2. 2. ENGINEERS AND DEVICES WORKING TOGETHER RDK - General Introduction ● RDK (Reference Design Kit) is a complete 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. ● RDK uses Yocto build system and it’s modular, configurable to meet the requirements of QAM, IP and hybrid(QAM+IP) type boxes and Media server/client configurations. ● RDK supports main media features like live playback, live streaming, DVR playback, TSB playback and live/DVR streaming playback. ● RDK supports web user interface/graphics applications using WPE browser.
  3. 3. ENGINEERS AND DEVICES WORKING TOGETHER RDK - Architectural Overview ● Windowing Framework - Wayland (Previously Qt/Webkit) -Westeros Compositor ● Browser Framework - WPE ● Graphics Engine - OpenGL/ES –Support for hardware acceleration. ● Media Framework - RMF based on GStreamer –Support for hardware acceleration. –Application layer interface for media operations. ● Systemd services for startup and run-time orchestration of resident processes and functionality.
  4. 4. ENGINEERS AND DEVICES WORKING TOGETHER RDK Architecture
  5. 5. ENGINEERS AND DEVICES WORKING TOGETHER Porting RDK ● Media playback - Gstreamer SoC plugins integration into RMF. ● Westeros compositor - EGL/GLES support integration. ● WPE browser - Webkit for wayland client on Westeros compositor with graphics support and gstreamer integration.
  6. 6. ENGINEERS AND DEVICES WORKING TOGETHER Porting RDK - RMF ● RMF (RDK Media Framework) is loosely based on Gstreamer, but with a level of abstraction to define generic source, sink and filter elements. ● Implementations for various sources (e.g. DVR source, QAM source, HNsource, etc), sinks ( e.g. DVR Sink, Hnsink, MediaPlayerSink), and transformers (e.g. Transcoder) by extending generic source, sink and filter. ● RMF integration with the hardware is strictly based on Gstreamer SoC plugins through playersinkbin, which is bin element consists of demux, audio & video pipeline. ● Here the use case is mediaclient & gstreamer command to validate media client functionality - gst-launch-1.0 souphttpsrc location=<URL> ! playersinkbin
  7. 7. ENGINEERS AND DEVICES WORKING TOGETHER Porting RDK - Westeros ● Westeros - Wayland compositor Westeros is a light-weight, opensource Wayland compositor based on Wayland protocol and is designed to be suitable for embedded system. It supports the creation of normal, nested, and embedded wayland compositors. A normal compositor displays its composited output to the screen, while a nested compositor sends its composited output to another compositor as a client surface. ● Can be ported onto new platform by implementing westeros-soc which provides westeros-gl and westeros-sink using EGL/GLES support. ● Westeros-gl should provide native window support if eglGetdisplay doesn’t for default display. While westeros-sink should video rendering on that platform. ● Westeros_test is a sample application for validating the compositor. ● Code repo https://github.com/rdkcmf/westeros https://code.rdkcentral.com/r/#/admin/projects/compone nts/opensource/westeros
  8. 8. ENGINEERS AND DEVICES WORKING TOGETHER Porting RDK - WPE ● WPE is Metrological’s port of standard Webkit with support for wayland display protocol. ● https://github.com/Metrological/WebKitForWayland ● WPE with westeros backend can be ported by integrating wayland-egl support. ● WPE browser media support can be ported by integrating gstreamer plugins with Webkit Mediaplayer.
  9. 9. ENGINEERS AND DEVICES WORKING TOGETHER 96Boards - ported ● HiKey ● Dragonboard DB410c ● Dragonboard DB820c (planned)
  10. 10. ENGINEERS AND DEVICES WORKING TOGETHER Porting on HiKey ● RDK Mediaclient image on HiKey. ● Yocto 2.1/Krogoth branch is used. ● Meta-rdk is a DISTRO layer itself, but it’s not fully migrated to 2.1 ● Set DEFAULTTUNE to "armv7athf" ● Preferred provider for egl/gles libraries -Graphics support is provided by ARM MALI 450 userland. ● Preferred provider for playersinkbin -No hardware video acceleration is available.
  11. 11. ENGINEERS AND DEVICES WORKING TOGETHER HiKey Challenges ● Issues/Challenges faced -Migration issues like gstreamer introspection, lighttpd & WPE dependency. -DRM support for Westeros porting on HiKey. -Video positioning issue with WPE browser. -Performance issue with media playback.
  12. 12. ENGINEERS AND DEVICES WORKING TOGETHER Porting on Dragonboard410c ● RDK Mediaclient image on DB410c. ● Yocto 2.1/Krogoth branch is used. ● Meta-rdk is a DISTRO layer itself. ● Set DEFAULTTUNE to "armv7athf-neon" ● Preferred provider for egl/gles libraries -Graphics support is provided by Mesa/freedreno driver. ● Preferred provider for playersinkbin -RMF integration with V4L2 hardware video acceleration by using gst V4L2 plugin in playersinkbin.
  13. 13. ENGINEERS AND DEVICES WORKING TOGETHER DB410c Challenges ● Issues/Challenges faced -Migration issues like gstreamer introspection, lighttpd & WPE dependency. -DRM support for Westeros porting on DB410c. -Playersinkbin using v4l2 video acceleration. -V4l2 compatiblity issue with gst 1.4.4. -WPE had porting issues with Mesa egl backend. -Implemented offscreen egl target for westeros only for mesa. -Playback issue with Webkit Media player. -Video positioning issue with glimagesink.
  14. 14. Thank You sivasubramanian.patchaiperumal@linaro.org #BUD17 For further information: www.linaro.org BUD17 keynotes and videos on: connect.linaro.org

×