RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Children Display |
---|
Table of Contents |
---|
This manual describes the up-gradation of Yocto tools, the default build system used in RDK Video, from morty(2.2) to dunfell(3.1). In addition to upgrades to opensource packages, Yocto 3.1 also contain Long term Support release feature. The current version lacks the variety of features available in the dunfell.
...
Each component in RDK is a standalone repository with its own individual build tools producing a library or set of binaries. When we upgrade the OE layers to the newer versions, we need to make necessary changes in the RDK layers which use these components, to avoid build failures.
The OpenEmbedded build system should be able to run on Ubuntu 18.04 distribution/other compatible linux distribution with the following versions for Git, tar, and Python.
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ pylint3 xterm |
In order to use Yocto build system, the repo tool must be properly installed on the machine.
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
machine code.rdkcentral.com login YOUR_USERNAME password YOUR_PASSWORD |
To tackle the build issues from moving one version to another, we have decided to split the problem into different subtasks. So instead of building a complete image at one go, we have planned for the generation of following images:
...
Currently, all the changes are being pushed in these branches. Once it is merged, you will be able to follow the build instructions without any error.
To build, follow below instructions
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$ mkdir <workspace dir> $ cd <workspace dir> $ repo init -u https://code.rdkcentral.com/r/manifests -b yocto-dunfell-upgrade -m rdkv-asp-nosrc.xml $ repo sync -j4 --no-clone-bundle $ source meta-cmf/setup-environment (Select option raspberrypi-rdk-mc.conf) $ bitbake rdk-generic-mediaclient-image |
Following command can be used to flash the RPI image to sd card using linux machine . dd tool should be available in linux
...