RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Tables of Contents
Table of Contents |
---|
Hardware requirements:
Refer to the link for host machine setup details: Host Setup
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkv-nosrcextsrc.xml repo sync -j `nproc` --no-clone-bundle --no-tags |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# bugfix fixesto onuse existingeSDK rdkwith yoctopinned layersrevision toof supportRDK extensible SDKcomponents (cd meta-cmf; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf" refs/changes/09/49209/4 && git cherry-pick FETCH_HEAD) (cd meta-cmf-raspberrypi; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi" refs/changes/77/49477/2 && git cherry-pick FETCH_HEAD) (cd meta-cmf-video-restricted; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-video-restricted" refs/changes/5958/4955953258/1 && git cherry-pickcheckout FETCH_HEAD) |
Note: The above bug fixes changes are temporary given as instructions. This is not required once the change is get merged into the appropriate repolayer.
Deck of Cards | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||
The generated eSDK installer resides under the directory Note: The generated eSDK installer script usually occupies 2 to 2.5 GB |
The installer can be run done on any x86_64 Linux based machines.
Refer to the RDKCentral's credential configuration to setup RDK Central's credentials in the machine where eSDK to be installed. This is to access repositories by the RDK Yocto recipes that reside in the eSDK installer.
Code Block | ||||
---|---|---|---|---|
| ||||
# 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.
Code Block | ||||
---|---|---|---|---|
| ||||
# change directory to the installed path cd ~/rdk_sdk # setup the eSDK environemnt source envenvironment-setup-cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi |
Code Block | ||||
---|---|---|---|---|
| ||||
# way 1 # add a new recipe with URL devtool add <recipe_name> <source URL> # eg. devtool add westeros https://github.com/rdkcmf/westeros # way 2 # add a new recipe with external source directory devtool add <recipe_name> <absolute path> # eg. devtool add westeros /path/for/source/directory |
Code Block | ||||
---|---|---|---|---|
| ||||
# 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 |
Code Block | ||||
---|---|---|---|---|
| ||||
# modify recipe from an editor devtool edit-recipe <recipe_name> # eg. devtool edit-recipe westeros |
Code Block | ||||
---|---|---|---|---|
| ||||
# 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 |
Code Block | ||||
---|---|---|---|---|
| ||||
# Pre-requisite: add a new recipe using devtool devtool build <recipe_name> # eg. devtool build westeros |
Code Block | ||||
---|---|---|---|---|
| ||||
# 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.
...