Yocto Build
Host Machine Setup
Refer to the link for host setup details: Host Setup
...
Yocto workspace setup
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | build 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 |
Code Block |
---|
language | bash |
---|
title | apply bug fixes |
---|
collapse | true |
---|
|
# bug fixes for yocto 3.1 migration
# bluez SIOCSTAMP do_compile error fix
(cd meta-rdk-ext; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-ext" refs/changes/99/47599/2 && git cherry-pick FETCH_HEAD)
# tts - libsoup-2.4 dependency error fix
(cd meta-rdk-video; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-rdk-video" refs/changes/60/49560/1 && git cherry-pick FETCH_HEAD)
# bug fixes on existing rdk yocto layers to support extensible SDK
(cd meta-cmf; git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf" refs/changes/09/49209/45 && 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/59/49559/12 && git cherry-pick FETCH_HEAD) |
...
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | Media Client |
---|
title | Instruction to build mediaclient image |
---|
| Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | image build |
---|
| MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-mediaclient-wpe-image -c populate_sdk_ext |
|
Card |
---|
label | Hybrid Gateway |
---|
title | Instruction to build hybrid gateway image |
---|
| Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | image build |
---|
| 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 2 to 2.5 GB |
eSDK Installation
Host Configuration
Refer 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.
Installation
The installer can be run on any x86_64 Linux based machines.
...