Host Setup
How to Build#SettinguptheHostEnvironment
Build Setup
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | 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
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | 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 |
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | Build - setup |
---|
|
repo sync -j4 --no-clone-bundle |
Code Block |
---|
language | bash |
---|
title | Apply Bug Fixes |
---|
collapse | true |
---|
|
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 manually
~/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
Deck of Cards |
---|
|
Card |
---|
label | BroadBand Gateway |
---|
title | Instruction to build hybrid gateway image |
---|
|
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | image build |
---|
| MACHINE=raspberrypi-rdk-broadband-dunfell source meta-cmf-raspberrypi/setup-environment
bitbake rdk-generic-broadband-image |
|
|
Validated Functionalities
Basic functions are validated in dunfell branch,
- RPI 3B+ Board was successfully up
- Able to browse the internet
- Able to get the erouter0 ip
- dmcli commands are working as expected
- All ccsp process and hostapd process are up
- Able to connect the wireless clients
- In wireless clients, Captive Portal page was launched for initial set-up
- Re-connect the wifi clients with updated password and SSID
- Able to browse the internet successfully in Connected clients
- WebUI was launched in Web Browser
- Able to login successfully
- Factory_reset , Password change , Advanced functionalities are worked as expected
- iptables rules are properly updated.
- reboot and poweroff are working as expected.
Known Issues
- In WebUI, toggle the sub-menu is not happening .
- Public wifi 2g support is not available in dunfell branch due to rtl8192eu driver source code is not compatibility in latest kernel version of 5.4.72
- Default password pop-up change is not happening in WebUI.