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

Compare with Current View Page History

« Previous Version 17 Next »


Build Steps

Default with out DRM enabled with RDK reference UI

repo init -u https://code.rdkcentral.com/r/rdk/soc/amlogic/aml-manifests -b rdk-next -m aml_ipstb_google_rdk_starboard.xml 
repo sync -j4 --no-clone-bundle
source meta-rdk-aml/set-env.sh mesonsc2-5.4-lib32-ah212 --ipclient --rdk-starboard --rdk-ui
bitbake lib32-rdk-generic-mediaclient-image

Note: To enable build with DRM(Playready & Widevine), Please reach out to Amlogic for Openlinux access for DRM libraries. Need to have below repository access.

Check if you have access to Amlogic restricted repos.

Execute below command to check if  you have PlayReady access

git clone ssh://git@openlinux.amlogic.com/vendor/playready.git

Execute below command to check if you have Widevine access

git clone ssh://git@openlinux.amlogic.com/yocto/vendor/widevine

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

repo init -u https://code.rdkcentral.com/r/rdk/soc/amlogic/aml-manifests -b rdk-next -m aml_ipstb_google_rdk_starboard.xml 
repo sync -j4 --no-clone-bundle
source meta-rdk-aml/set-env.sh mesonsc2-5.4-lib32-ah212 --ipclient --rdk-starboard --gst1-18 --rdk-ui --playready --widevine
bitbake lib32-rdk-generic-mediaclient-image

Build Steps to build RDKstarboard with Amlogic pre-builds(github) and non-drm:

  1. repo init -u https://code.rdkcentral.com/r/rdk/soc/amlogic/aml-manifests -b rdk-next -m aml_ipstb_google_rdk_starboard-open.xml
  2. repo sync -j4 --no-clone-bundle
  3. For Amlogic UI:
    source meta-rdk-aml/set-env.sh mesonsc2-5.4-lib32-ah212 --gst1-18 --ipclient --rdk-starboard
    For RDK UI:
    source meta-rdk-aml/set-env.sh mesonsc2-5.4-lib32-ah212 --gst1-18 --ipclient --rdk-starboard --use-rdk-ui
  4. bitbake lib32-rdk-generic-mediaclient-image

Build Steps to generate an image with RDKstarboard using Amlogic pre-builds(github), non-drm and with DAB support enabled

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

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 rdk-next -m ipstb-google-rdk-next.xml
  • repo sync -j4 --no-clone-bundle
  • source meta-rdk-aml/set-env.sh mesonsc2-5.4-lib32-ah212 --use-rdk-ui --enable-rdk-voice --playready --widevine  --enable-fireboltcompliance --rdk-starboard --t4hremote  --ipclient
    (NOTE: Use --b12remote instead of --t4hremote if B12 remote is used)
  • bitbake lib32-rdk-generic-mediaclient-tdk-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



IPSTB Flashing Steps:

1) Using Burning tool:

Download AMlogic Burning tool from the link Amlogic Video Accelerator Collaboration).

NOTE: Please reachout to Amlogic to get USB Burning tool if no access to the wiki page.

How to flash X4-SC2 image:

Connect all necessary cables to AH212 box as below. It’s easy to do with place AH212 up-side-down.

From left to right: Power, USB-C, Console, HDMI, Ethernet

USB-C is only using for flash image.

USB-Micro is for Console connection.


Setup the serial port settings (921600 baud rate  8N1)

Option 1:  Enable USB buring mode for V3 Buring Tool App by holding USB BOOT button and apply AC to box as below

You shall see below bootloader print out on the console window indicating USB burning mode enabled.



Option 2: Apply power and press "enter" on console to access uboot prompt then execute "run update" command to start USB burning mode.


Launch USB Burn Tool V3.1.1 and verify it’s connected with AH212.  We shall see the “connection 0%” status 

Load the image and start to program the AH212. 

Once the flashing is completed, click on STOP and disconnect USB-C cable.

Close the USB Burning Tool App and cycle the AC.


If driver is not properly installed and you cannot see the device , please manually install the driver with below steps:

If a yellow exclamation point "!" appears when the device is connected in the device manager, it means that the driver has not been installed successfully, and you need to install the driver manually.


1) First enter the directory specified by the tool installation, first click dpscat.exe to sign the driver.

2)During the signing process, if security prompt when need signature or authorization, need allow this operation.


3)Choose the corresponding installation according to the system bit requirement of your own machine, choose dpinst64.exe for 64 bit and dpinst32.exe for 32 bit.

4)Or manually update the driver in the device manager, right-click on the problematic device and select update driver.

5)Select "Browse my computer for driver software", select C:\Amlogic\Aml_Burn_Tool\V3\Driver in the tool installation directory to update the driver.


6.       The driver is installed successfully.


Boot up UI

AH212 shall reboot with boot logo as below if the image is programmed successfully and AC cycled.


A generic RDK UI shall be launched with active ethernet. 

Use Amlogic IR remote to check YouTube and verify 2K and 4K playback.


Other Methods to update the firmware:

2) MfrUtils

Download the image to /data/ path on the device.

mfrUtil -u /data/aml_upgrade_package.img



Youtube RDK CommonPort Archtecture:


  • No labels