RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Refer to the link for host machine setup: Host Setup
...
bgColor | black |
---|
Tables of Contents
Hardware requirements:
Refer to the link for host machine setup: Host Setup
build setup
|
...
Note: The above bug fixes changes are temporary given as instructions. This is not required once the change is get merged into the appropriate layer.
...
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.
Note: The generated eSDK installer script usually occupies 1.5 to 2.5 GB
The installer can be done on any x86_64 Linux 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.
|
Below is the result (terminal output) of the installation
...
xxxuser@yyy-machine-003:~/rpi/hyb/1712$ build-rpi-hyb/tmp/deploy/sdk/rdk-glibc-x86_64-arm-toolchain-ext-2.0.sh
RDK (A Yocto Project based Distro) Extensible SDK installer version 2.0
=======================================================================
Enter target directory for SDK (default: ~/rdk_sdk):
You are about to install the SDK to "/home/xxxuser/rdk_sdk". Proceed [Y/n]? Y
Extracting SDK................................................................................................................done
Setting it up...
Extracting buildtools...
Preparing build system...
Parsing recipes: 100% |##################################################################| Time: 0:00:52
Initialising tasks: 100% |###############################################################| Time: 0:00:00
Checking sstate mirror object availability: 100% |#######################################| Time: 0:00:00
Loading cache: 100% |####################################################################| Time: 0:00:00
Initialising tasks: 100% |###############################################################| Time: 0:00:00
done
SDK has been successfully set up and is ready to be used. Each time you wish to use the SDK in a new shell session, you need to source the environment setup script
e.g.
$ . /home/xxxuser/rdk_sdk/environment-setup-cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi
SDK Installation Done.
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.
|
|
...
# 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 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
|
A complete RDK image can be generated from the eSDK installer.
Note: The same image where the eSDK populated can be generated here.
|
build setup
|
...
Note: The generated eSDK installer script usually occupies 2 to 2.5 GB
The installer can be done on any x86_64 Linux 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.
|
...
|
---|
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.
|
|
|
|
|
|
|
A complete RDK image can be generated from the eSDK installer.
...