Skip to content
This repository was archived by the owner on Aug 20, 2020. It is now read-only.

README.md: add howto build RDKB (OE 3.1) with prplMesh for TurrisOmnia#24

Draft
MuteSpirit wants to merge 3 commits intomasterfrom
feature/PPM-316-rdkb-3.1-turris-omnia
Draft

README.md: add howto build RDKB (OE 3.1) with prplMesh for TurrisOmnia#24
MuteSpirit wants to merge 3 commits intomasterfrom
feature/PPM-316-rdkb-3.1-turris-omnia

Conversation

@MuteSpirit
Copy link
Collaborator

Add sections howto:

  • build RDKB (OE 2.2) for RPi 3B+
  • run prplMesh on RPi 3B+
  • build RDKB (OE 3.1) for TurrisOmnia

Not tested on board yet

https://jira.prplfoundation.org/browse/PPM-316

Add sections howto:
* build RDKB (OE 2.2) for RPi 3B+
* run prplMesh on RPi 3B+
* build RDKB (OE 3.1) for TurrisOmnia

Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com>
@MuteSpirit MuteSpirit added don't merge This PR is not ready for merge or review RDKB (OE 3.1) Task related support RDKB based on OE 3.1 labels Jul 26, 2020
@MuteSpirit MuteSpirit self-assigned this Jul 26, 2020
Ivan Efimov added 2 commits July 27, 2020 00:45
prplMesh wlan ifaces names are:
* wifi0
* wifi1
* wifi2

BEEROCKS_BH_WIRE_IFACE became "erouter0" for any RDK images

Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com>
…ace names

Wi-Fi ifaces on Turris Omnia with RDKB (OE 3.1) image has names "wifiX",
where X is 0, 1 or 2

But bpl library logic works with "wlanX" names, where X is 0, 1 or 2

As a result the agents cannot find the ifaces and start.

Add a patch to make "bpl_cfg.cpp" a template file "bpl_cfg.cpp.in"
and change function "cfg_get_hostap_iface" inside to use CMake
variables BEEROCKS_WLAN1_IFACE, etc.

Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com>
Comment on lines +56 to +58
BEEROCKS_HOSTAP_WLAN1_CTRL_IFACE="/var/run/hostapd/wifi0"
BEEROCKS_HOSTAP_WLAN2_CTRL_IFACE="/var/run/hostapd/wifi1"
BEEROCKS_HOSTAP_WLAN3_CTRL_IFACE="/var/run/hostapd/wifi2"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add "_turris" suffix

BEEROCKS_WLAN2_IFACE_turris = "wifi1"
BEEROCKS_WLAN3_IFACE_turris = "wifi2"

BEEROCKS_HOSTAP_WLAN1_CTRL_IFACE="/var/run/hostapd/wifi0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we just overwrite BEEROCKS_HOSTAP_WLAN1_CTRL_IFACE and it can cause the problems in other platforms...

@@ -0,0 +1,45 @@
diff --git a/framework/platform/bpl/CMakeLists.txt b/framework/platform/bpl/CMakeLists.txt
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this patch? I think better to create PR in prplmesh project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

don't merge This PR is not ready for merge or review RDKB (OE 3.1) Task related support RDKB based on OE 3.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants