RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
This manual describes the rdk-generic-broadband-image build procedure with EasyMesh Controller enabled for Yocto 3.1 builds. It will be used to generate rdk-generic-broadband-image for Raspberry Pi reference platform.
For Host setup details refer this link: How to Build - Setting up the Host Environment
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.
$ mkdir ~/bin $ PATH=~/bin:$PATH $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo
Note: it is also recommended to put credentials in ~/.netrc when interacting with repo.
A sample ~/.netrc file is illustrated below
machine code.rdkcentral.com login YOUR_USERNAME password YOUR_PASSWORD
To build, follow below instructions
$ 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=raspberrypi-rdk-broadband source meta-cmf-raspberrypi/setup-environment
In order to enable EasyMesh Controller for the build "easymesh-controller" distro feature must be added. The following line must be added to a configuration file (could be meta-cmf-raspberrypi/conf/distro/include/rdk-rpi.inc or meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-broadband.conf etc):
DISTRO_FEATURES_append = " easymesh-controller "
Note: Before proceeding make sure you have the correct branch by checking the following items:
$ bitbake rdk-generic-broadband-image
4 Comments
Wilson Liu
Thanks a lot for the build instructions. I have a question . Do you have any idea how can I set rdk-b as Easymesh Agent. Thanks a lot
Scott Kamp
MACHINE=raspberrypi-rdk-broadband source meta-cmf-raspberrypi/setup-environment
bash: meta-cmf-raspberrypi/setup-environment: No such file or directory
Scott Kamp
ERROR: ParseError at /home/dingo/EM/meta-rdk/recipes-core/packagegroups/packagegroup-rdk-qt5.bb:5: Could not inherit file classes/populate_sdk_qt5.bbclass
ly5
How to add easymesh for emulator ? Thanks!