Introduction

This manual describes the rdk-generic-extender-image build procedure for Yocto 3.1 builds. Yocto 3.1 also contain Long term Support release feature. The upgraded build tools will be used to generate rdk-generic-extender-image for Raspberrypi reference platform. 

Host Setup

NOTE: Observing fetch errors in VMs with Ubuntu14.x. Thus, suggesting to use VMs with Ubuntu16.x or higher.

Building

Note: Cloning the code before login once to code.rdkcentral.com, user would get the Authentication error, even though the account is in good standing and has all the required access. Please login to code.rdkcentral.com before attempting to clone.

To build, follow below instructions

Create workspace directory

mkdir <workspace dir>
cd <workspace dir>

OpenSync backhaul credential

Please get patch(service.patch) for meta-turris layer from Plume to apply backhaul credential(SSID:PSK). Please check Cloud Access Guide for more details.

Follow below instructions to create build with external sources

repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-pod-extsrc.xml
repo sync -j4 --no-clone-bundle
MACHINE=raspberrypi4-rdk-extender source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-extender-image

Else, follow below instructions to create build with no external source

repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-pod-nosrc.xml
repo sync -j4 --no-clone-bundle
MACHINE=raspberrypi4-rdk-extender source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-extender-image

Note. The build artifacts will be placed under <workspace dir>/build-*/tmp/deploy/images/raspberrypi*/ directory. Currently, it is in wic.bz2 format.

Hardwares

Purchase link: RPi4 – 1No

Purchase link: Netgear Wi-Fi Dongle – 2Nos

  • No labels

4 Comments

  1. I have seen several warnings during build that should be fixed to have a cleaner build process:

    WARNING: Layer opensync should set LAYERSERIES_COMPAT_opensync in its conf/layer.conf file to list the core layer names it is compatible with.
    WARNING: /home/builder/rbpi4/meta-cmf-raspberrypi/recipes-core/images/rdk-generic-mediaclient-wpe-rne-image.bb: Duplicate inclusion for /home/builder/rbpi4/meta-rdk/recipes-core/images/sdk-common.inc in /home/builder/rbpi4/meta-cmf-raspberrypi/recipes-core/images/rdk-generic-mediaclient-wpe-rne-image.bb
    WARNING: /home/builder/rbpi4/meta-rdk/recipes-core/packagegroups/packagegroup-rdk-gstreamer1.bb:

  2. Will check Jose Ramon Diaz Martinez . For some of the warning, we may need to give fix in other layers as well.

    1. ok thanks, the build is completed correctly that is the most important.

  3. Manigandan Gopalakrishnan Mani I have tried to build several times with no errors just a bunch of warnings, some of them interesting to be reviewed. In general in the procedure I'm only missing an explanation of the build artifacts, pointing out clearly the one to be flashed in the rbpi.