You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Host Setup

How to Build#SettinguptheHostEnvironment

Build Setup

build setup
repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkb-extsrc.xml

Once repo init was done, Please follow the below instructions,

  • Go to .repo/manifests/
  • open the oe-layers.xml 
  • Delete all the lines in the file 
  • Update the below lines in the oe-layers.xml file
oe-layers.xml
<?xml version='1.0' encoding='UTF-8'?>
<!-- AUTOGENERATED - PLEASE DO NOT MODIFY -->
<manifest>
    <project name="meta-gplv2" remote="yocto" revision="dunfell"/>
    <project name="meta-python2" remote="openembedded" revision="dunfell"/>
    <project name="rdk/components/opensource/oe/bitbake" path="openembedded-core/bitbake" revision="1.46"/>
    <project name="rdk/components/opensource/oe/meta-browser" path="meta-browser" revision="rdk/morty"/>
    <project name="rdk/components/opensource/oe/meta-java" path="meta-java" revision="dunfell"/>
    <project name="rdk/components/opensource/oe/meta-jz-mips" path="meta-jz-mips" revision="master"/>
    <project name="rdk/components/opensource/oe/meta-openembedded" path="meta-openembedded" revision="dunfell"/>
    <project name="rdk/components/opensource/oe/meta-qt5" path="meta-qt5" revision="rdk/morty"/>
    <project name="rdk/components/opensource/oe/meta-raspberrypi" path="meta-raspberrypi" revision="dunfell"/>
    <project name="rdk/components/opensource/oe/meta-rtlwifi" path="meta-rtlwifi" revision="dunfell"/>
    <project name="rdk/components/opensource/oe/meta-virtualization" path="meta-virtualization" revision="dunfell"/>
    <project name="rdk/components/opensource/oe/openembedded-core" path="openembedded-core" revision="dunfell"/>
</manifest


Build - setup
repo sync -j4 --no-clone-bundle


Apply Bug Fixes
1. Go to meta-cmf-raspberrypi layer and cherry-pick the below change-set,
git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi" refs/changes/60/48460/3 && git cherry-pick FETCH_HEAD

2. Go to below path and place the wireless tools recipe
 ~/openembedded-core/meta/recipe-connectivity/

3. Please create the wireless-tools folder

4. Download the wireless tools recipe from below link and placed inside the wireless-tools folder,
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-connectivity/wireless-tools/wireless-tools_30.pre9.bb?h=fido




Note: The above bug fixes changes are temporary given as instructions. This is not required once the change is get merged into the appropriate repo



    image build
    MACHINE=raspberrypi-rdk-broadband-dunfell source meta-cmf-raspberrypi/setup-environment
    bitbake rdk-generic-broadband-image
    • No labels