User Tools

Site Tools


wlbrdkmtk

This is an old revision of the document!


Introduction

The following are instructions for building an RDKv4 hybrid image for the DTVKit White Label Box using the Mediatek MT5221 chipset The release is based on RDK-V 2022Q1. Access is needed to the Mediatek git repositories to download the Mediatek specific recipes and software.

Note: git-lfs needs to be installed before the Mediatek repos are cloned. See: https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage

Setup

The build is based on RDK Yocto 3.1 (dunfell) so Ubuntu 18.04 LTS is recommended as the build environment. Follow the instructions provided by Mediatek for cloning their code and recipes into a separate directory (referred to as <mtk_dir> below), but the following steps should work:

  1. cd <mtk_dir>
  2. repo init -u https://git01.mediatek.com/dtv/mediatek/manifest -b stbrdkm-rel-rdk-i_poc_rdk_c2s
  3. repo sync -c -j `nproc` –no-clone-bundle
  4. repo forall -c 'if [ -e .gitattributes ];then git lfs pull;fi'

When the above has completed, create a directory where the RDK recipes will be cloned and RDK will be built (referred to as <rdk_dir> below).

  1. cd <rdk_dir>
  2. repo init -u https://code.rdkcentral.com/r/manifests -m rdkv-nosrc.xml -b rdkv-2022q1-dunfell
  3. repo sync –no-clone-bundle
  4. Copy the meta layer directories from <mtk_dir> into <rdk_dir>
  5. git clone git@github.com:DTVKit/meta-dtvkit-mtk.git
  6. cd meta-dtvkit-mtk
  7. git checkout mtk_20220615
  8. cd ..
Building
  • source meta-dtvkit-mtk/setup-environment
  • Select “meta-dtvkit-mtk/conf/machine/dtvkit-whitelabel-dtv.conf”, option #37
  • bitbake lib32-rdk-generic-hybrid-dtv-image
wlbrdkmtk.1657124314.txt.gz · Last modified: 2022/07/06 16:18 by steve