RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Table of Contents |
---|
Hardware requirements:
Refer to the link for host machine setup: Host Setup
Code Block | ||||
---|---|---|---|---|
| ||||
Initialization:
$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkc-nosrc.xml -b dunfell
( or )
$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkc-extsrc.xml -b dunfell
Download/Sync:
$ repo sync -j `nproc` --no-clone-bundle --no-tag |
Code Block | ||||
---|---|---|---|---|
| ||||
$ MACHINE=raspberrypi3-rdk-camera source meta-cmf-raspberrypi/setup-environment
$ bitbake rdk-generic-camera-image -c populate_sdk_ext |
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.
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
xxxxxxx@dvm-ch2g-yocto31-007:~/yyyyyy/31Jan21/build-raspberrypi3-rdk-camera/tmp/deploy/sdk$ ./rdk-glibc-x86_64-arm-toolchain-ext-2.0.sh
|
---|
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 environment-setup-cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi |
Code Block | ||||
---|---|---|---|---|
| ||||
# way 1
# add a new recipe with URL
devtool add <recipe_name> <source URL>
Example:
# devtool add sctplib git://github.com/rdkcteam/usrsctplib
# way 2
# add a new recipe with external source directory
devtool add <recipe_name> <absolute path>
Example:
# devtool add sctplib /path/for/source/directory |
Code Block | ||||
---|---|---|---|---|
| ||||
# modify recipe from an editor
devtool edit-recipe <recipe_name>
Example:
# devtool edit-recipe sctplib |
Code Block | ||||
---|---|---|---|---|
| ||||
# Pre-requisite: add a new recipe using devtool
devtool build <recipe_name>
Example:
# devtool build sctplib |
Code Block | ||||
---|---|---|---|---|
| ||||
# Pre-requisite: add a new recipe using devtool
devtool deploy-target <recipe_name> <target_path>
Example:
# devtool deploy-target sctplib 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.
Code Block | ||||
---|---|---|---|---|
| ||||
# devtool command to build image from eSDK
# <IMAGE> - rdk-generic-camera-image
devtool build-image <IMAGE>
Example:
# devtool build-image rdk-generic-camera-image |