RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
This page will guide you through publishing your DAC app to the RDK ASMS cloud, then installing and running it on a Raspberry Pi (RPI). More detailed documentation of all the components used is available on their respective pages.
We will be installing and running DAC apps on the RPI so we need a good host image. The most recent RDK6 mediaclient image is ideal for this.
The below commands must be run in an Ubuntu 18.04 environment with the necessary pre-requisites installed to run Bitbake. See here for the exact dependencies needed:
https://docs.yoctoproject.org/ref-manual/system-requirements.html#ubuntu-and-debian
For RPI3:
mkdir rpi3_mediaclient_nosrc_rdk6 cd rpi3_mediaclient_nosrc_rdk6 # Install 'repo' tool from: https://android.googlesource.com/tools/repo repo init --no-clone-bundle -u https://code.rdkcentral.com/r/manifests -b 6.0.0-rc3 -m rdkv-nosrc.xml repo sync --no-clone-bundle -j$(getconf _NPROCESSORS_ONLN) MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment bitbake rdk-generic-mediaclient-image
For RPI4:
mkdir rpi4_mediaclient_nosrc_rdk6 cd rpi4_mediaclient_nosrc_rdk6 # Install 'repo' tool from: https://android.googlesource.com/tools/repo repo init --no-clone-bundle -u https://code.rdkcentral.com/r/manifests -b 6.0.0-rc3 -m rdkv-nosrc.xml repo sync --no-clone-bundle -j$(getconf _NPROCESSORS_ONLN) MACHINE=raspberrypi4-64-rdk-android-mc source meta-cmf-raspberrypi/setup-environment bitbake lib32-rdk-generic-mediaclient-image
After boot-up you need to manually configure ASMS and the version+platform of your host:
{ "app-catalog-cloud": { "url": "http://asms-api-1852129899.eu-central-1.elb.amazonaws.com:8080/apps", "firmwareVersions": [ { "platform": "rpi4", "ver": "1.0.0-e71889dc02521bfdc2f9f38f750b34224184c375-dbg" } ] } }
For RPI3 you need a different platform and ver:
{ "app-catalog-cloud": { "url": "http://asms-api-1852129899.eu-central-1.elb.amazonaws.com:8080/apps", "firmwareVersions": [ { "platform": "rpi3", "ver": "1.0.0-f4b0603d7d93dfa10ed932ddb0f324d334bc40f9-dbg" } ] } }
If you don't want to test or publish your own DAC app then you can skip this step and tries the already published demo apps in the next section.
There are two ways to install and run a DAC app from ASMS: