Versions Compared

Key

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

Table of Contents
maxLevel3

...

Build Steps

Opensourced Manifest:

  • repo init -u https://code.rdkcentral.com/r/collaboration/soc/amlogic/aml-accel-manifests -b google-rdk-aml-collab -m rdkv-aml-open-va-google.xml
  • repo sync -j4 --no-clone-bundle
  • source ./meta-rdk-aml/set-env.sh mesonsc2-5.4-lib32-ah212 --use-rdk-ui --playready --widevine --rdk-starboard --enable-evergreen-full --enable-rialto --enable-webkit238 --enable-wper4 --ipclient
  • bitbake  lib32-rdk-ipstb-oss-image

...

Please contact your Amlogic sales or FAE teams to get restricted DRM repo access if you do not have yet.

If Widevine and PlayReady access is available, please pass additional arguments as

...

.

...

Note: This manifest is based on RDK 2022q1 based RDK and Amlogic BSP version is BSP866. This manifest is in RDKM restricted zone. 

...


Steps

...

Code Block
languagebash
repo init -u https://code.rdkcentral.com/r/rdk/soc/amlogic/aml-manifests -b rdk-next -m aml_ipstb_google_rdk_starboard-open-dab.xml
repo sync -j4 --no-clone-bundle

For Amlogic UI:
source meta-rdk-aml/set-env.sh mesonsc2-5.4-lib32-ah212 --gst1-18 --ipclient --rdk-starboard --enable-dab-bridge

For RDK UI:
source meta-rdk-aml/set-env.sh mesonsc2-5.4-lib32-ah212 --gst1-18 --ipclient --rdk-starboard --enable-dab-bridge --use-rdk-ui



bitbake lib32-rdk-generic-mediaclient-image

Note: If you are seeing following error while bitbake parse happens; please enable meta-rust manually after "source" step before "bitbake".

Code Block
languagebash
ERROR: ParseError at /home/amadha013/codebase/ah212-rdknext-dab/meta-dab/dab-rs/dab-bridge_0.4.0.bb:3: Could not inherit file classes/cargo.bbclass

Edit $BUILDDIR/conf/bblayers.conf to enable meta-rust manually by adding below change:

Code Block
languagebash
BBLAYERS += "${RDKROOT}/meta-rust"

...

build libloader-apps:

Cobalt library path:

IPSTB build on rdk-next stack:

Build steps with DRM:

...

  • repo init -u https://code.rdkcentral.com/r/collaboration/soc/amlogic/aml-accel-manifests -b google-rdk-aml-collab -m rdkv-aml-open-va-google.xml
  • repo sync -j4 --no-clone-bundle
  • source ./meta-rdk-aml/set-env.sh mesonsc2-5.4-lib32-ah212 --use-rdk-ui --playready --widevine --rdk-starboard --enable-evergreen-full --enable-rialto --enable-webkit238 --enable-wper4 --ipclient
  • bitbake  lib32-rdk-ipstb-oss-image

Note: Amlogic meta layers and components are in Amlogic collaboration zone. Need to be Amlogic collab-zone approved member to be able to get access.

RDK uses rdkcentral artifactory to place AlexaSmartScreenVoiceChrome-1.1.0.tar. Removed this depending upon ipclient distro. During build we need to place the tar file in downloads folder

Refer IPSTB Flashing Steps to flash the image after build has been finished successfully.

Cobalt relative binaries location/path on the device :

Library: /usr/lib/libloader_app.so.
In evergreen enabled images we do not have separate libcobalt.so libraries.
Build path: build/tmp/work/armv7at2hf-neon-rdkmllib32-linux-gnueabi/lib32-libloader-app/23.lts.stable-3/image/usr/lib/libloader_app.so

In Amlogic the installation slots are present at /data/persistent/Cobalt-0/.cobalt_storage
/data/persistent/Cobalt-0/.cobalt_storage is created run-time.

...

IPSTB Flashing Steps

Locate the Image file from build directory

...