RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Refer to the link for host setup details: Host Setup
repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkv-nosrc.xml repo sync -j `nproc` --no-clone-bundle --no-tags
Note: The above bug fixes changes are temporary given as instructions. This is not required once the change is get merged into the appropriate repo
MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment bitbake rdk-generic-mediaclient-wpe-image -c populate_sdk_ext
MACHINE=raspberrypi-rdk-hybrid source meta-cmf-raspberrypi/setup-environment bitbake rdk-generic-hybrid-wpe-image -c populate_sdk_ext
The generated eSDK installer resides under the directory build-<MACHINE>/tmp/deploy/sdk/rdk-glibc-x86_64-arm-toolchain-ext-2.0.sh
of the Yocto workspace
The installer can be run on any x86_64 Linux based machines.
# run the installer script file # installer asks for a directory to install (default directory ~/rdk_sdk) # installer asks permission to proceed ./rdk-glibc-x86_64-arm-toolchain-ext-2.0.sh
Below is the result (terminal output) of the installation
|
---|
This section covers how to use the eSDK for component build and image build
The installer can be run on any x86_64 Linux based machines.
# change directory to the installed path cd ~/rdk_sdk # setup the eSDK environemnt source environment-setup-cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi
# way 1 # add a new recipe with URL devtool <recipe_name> <source URL> # eg. devtool westeros https://github.com/rdkcmf/westeros # way 2 # add a new recipe with external source directory devtool <recipe_name> <absolute path> # eg. devtool westeros /path/for/source/directory
# modify existing recipe's URL or srctree or to add patches devtool modify <recipe_name> <new URL> # eg. devtool modify westeros https://code.rdkcentral.com/r/rdk/components/generic/westeros
# modify recipe from an editor devtool edit-recipe <recipe_name> # eg. devtool edit-recipe westeros
# modify existing recipe's URL or srctree or to add patches devtool upgrade --version <version number> <recipe_name> # eg. devtool upgrade --version 1.0.21 westeros
# Pre-requisite: add a new recipe using devtool devtool build <recipe_name> # eg. devtool build westeros
# Pre-requisite: add a new recipe using devtool devtool deploy-target <recipe_name> <target_path> # eg. devtool deploy-target westeros root@192.168.xx.xx
A complete RDK image can be generated from the eSDK installer.
Note: The same image where the eSDK populated can be generated here.
# devtool command to build image from eSDK # <IMAGE> - rdk-generic-mediaclient-wpe-image or rdk-generic-hybrid-wpe-image devtool build-image <IMAGE>