Table of Contents |
---|
|
children |
toc |
IntroductionThis manual describes the rdk-generic-broadband-image build procedure for Yocto 3.1 builds. This will upgrade the default build system used in RDKB, 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 dunfelldu';po-0=nfell. The upgraded build tools will be used to generate rdk-generic-broadband-image for Raspberrypi reference platform.
...
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 bmap-tools
$ sudo apt-get install git cmake autoconf texinfo openjdk-8-jdk openjdk-8-jre \
m4 libtool libtool-bin curl pkg-config lib32z1 doxygen |
Repo Setup
In order to use Yocto build system, the repo tool must be properly installed on the machine.
...
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | Build Steps |
---|
|
$ mkdir <workspace dir>
$ cd <workspace dir>
$ repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml
$ repo sync -j`nproc` --no-clone-bundle
$ MACHINE=raspberrypiraspberrypi4-rdk-broadband-rpi4 source meta-cmf-raspberrypi/setup-environment
$ bitbake rdk-generic-broadband-image |
...
Code Block |
---|
theme | Midnight |
---|
title | Flash command |
---|
|
bzip2 -d <path to ImageName.wic.bz2>
sudo -E bmaptool copy --nobmap <path to ImageName.wic> <path to SD card space>
Example:
$ bzip2 -d rdk-generic-broadband-image-raspberrypi-rdk-broadband.wic.bz2
$ sudo -E bmaptool copy --nobmap rdk-generic-broadband-image-raspberrypi-rdk-broadband.wic.bz2 /dev/sdb |
Validated Functionalities