This 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 dunfell. The upgraded build tools will be used to generate rdk-generic-broadband-image for Raspberrypi reference platform.
Yocto 3.1 Upgradation support the following:
- Yocto BSP layer for meta-raspberrypi.
- OpenEmbedded and Yocto Dunfell.
- Linux kernel 5.4.72.
- Version upgrades for bitbake, and other oe/python recipes.
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.
- Git 22.214.171.124 or greater
- tar 1.27 or greater
- Python 3.4.0 or greater
- Coreutils(E.g realpath)
Note: You should also have about 50 Gbytes of free disk space for building images.
The essential packages you need for a supported Ubuntu or Debian distribution are shown in the following command:
In order to use Yocto build system, the repo tool must be properly installed on the machine.
To install Repo make sure you have a /bin directory in your home directory and that it is included in your path
Note: it is also recommended to put credentials in ~/.netrc when interacting with repo.
A sample ~/.netrc file is illustrated below
Yocto Build Steps
To build, follow below instructions
Following command can be used to flash the RPI image to sd card using linux machine . bmap tool should be available in linux
|1||LAN Connected Devices-Ethernet|
|2||WAN Connected Devices-Wi-Fi|
|5||Advanced Config: Port Triggering|
|6||Advanced Config: Port Forwarding|
|7||Advanced Config: Remote Management|
|8||Advanced Config: DMZ|
|9||Xfinity Wi-Fi 2.4/5 GHz – Public Hotspot|
|10||Test and Diagnostics|
|11||Local WebUI Configuration|
|13||DHCP /Reserved IP|
|16||2.4 GHz Band Support|
|17||5 GHz Band Support|
|18||Bridge Mode Support|
|19||Persistent Storage Management|
|20||WebPA for Comcast,community|
|21||Lost and Found|
|27||Boot time data measurement|
|28||Wireless Protection Setup(WPS)|
|30||Wi-Fi MAC Filtering|
|31||Log Rotation Support|
|32||Firmware Upgrade Support|
Log level control through CcspLogAgent
Band Steering using RSSI
Backup and Restore