diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library.bbappend b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library.bbappend index 85d90ac..ce0fe65 100644 --- a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library.bbappend +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library.bbappend @@ -13,10 +13,10 @@ CXXFLAGS:append = " \ SRC_URI:append = " \ file://ccsp_vendor.h \ file://utopia.service \ - file://ethwan_intf.sh \ file://brlan0_check.sh \ file://brlan0_check.service \ file://onewifi.service \ + file://psmssp.service \ " # Some systemd unit files invoke through '/bin/sh -c (...)' which causes @@ -32,6 +32,12 @@ SRC_URI:append = " file://0002-systemd_units-correct-wan_started-path-for-read-o # Remove call to migration_to_psm.sh, utopiaInitCheck.sh and log_psm_db.sh SRC_URI:append = " file://0003-meta-rdk-bsp-arm-only-remove-pre-and-post-start-call.patch" +# Call pre-init script for CcspEthAgent (see ccsp-eth-agent.bbappend) +SRC_URI:append = " file://0004-meta-rdk-bsp-arm-only-systemd-CcspEthAgent-bring-up-.patch" + +# Remove mkdir in CcspCrSsp unit file (not required, causes error on read-only rootfs) +SRC_URI:append = " file://0004-CcspCrSsp-remove-mkdir-rdklogs.patch" + do_configure:prepend:aarch64() { sed -e '/len/ s/^\/*/\/\//' -i ${S}/source/ccsp/components/common/DataModel/dml/components/DslhObjRecord/dslh_objro_access.c } @@ -59,7 +65,8 @@ do_install:append:class-target () { install -d ${D}${systemd_unitdir}/system install -D -m 0644 ${S}/systemd_units/CcspCrSsp.service ${D}${systemd_unitdir}/system/CcspCrSsp.service install -D -m 0644 ${S}/systemd_units/CcspPandMSsp.service ${D}${systemd_unitdir}/system/CcspPandMSsp.service - install -D -m 0644 ${S}/systemd_units/PsmSsp.service ${D}${systemd_unitdir}/system/PsmSsp.service + #install -D -m 0644 ${S}/systemd_units/PsmSsp.service ${D}${systemd_unitdir}/system/PsmSsp.service + install -D -m 0644 ${WORKDIR}/psmssp.service ${D}${systemd_unitdir}/system/PsmSsp.service install -D -m 0644 ${S}/systemd_units/rdkbLogMonitor.service ${D}${systemd_unitdir}/system/rdkbLogMonitor.service install -D -m 0644 ${S}/systemd_units/CcspTandDSsp.service ${D}${systemd_unitdir}/system/CcspTandDSsp.service install -D -m 0644 ${S}/systemd_units/CcspLMLite.service ${D}${systemd_unitdir}/system/CcspLMLite.service @@ -108,7 +115,6 @@ do_install:append:class-target () { install -D -m 0644 ${S}/systemd_units/CcspXdnsSsp.service ${D}${systemd_unitdir}/system/CcspXdnsSsp.service install -d ${D}${base_libdir}/rdk - install -m 755 ${WORKDIR}/ethwan_intf.sh ${D}${base_libdir}/rdk/ install -m 755 ${WORKDIR}/brlan0_check.sh ${D}${base_libdir}/rdk/ #WanManager - RdkWanManager.service DISTRO_WAN_ENABLED="${@bb.utils.contains('DISTRO_FEATURES','rdkb_wan_manager','true','false',d)}" @@ -181,7 +187,6 @@ FILES:${PN}:append = " \ /usr/ccsp/utopiaInitCheck.sh \ /usr/ccsp/ccspPAMCPCheck.sh \ /usr/ccsp/ProcessResetCheck.sh \ - ${base_libdir}/rdk/ethwan_intf.sh \ ${base_libdir}/rdk/brlan0_check.sh \ ${systemd_unitdir}/system/brlan0_check.service \ ${systemd_unitdir}/system/CcspCrSsp.service \ diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/0004-CcspCrSsp-remove-mkdir-rdklogs.patch b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/0004-CcspCrSsp-remove-mkdir-rdklogs.patch new file mode 100644 index 0000000..fb8b898 --- /dev/null +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/0004-CcspCrSsp-remove-mkdir-rdklogs.patch @@ -0,0 +1,23 @@ +From 29933d25342902578ccea1e6aa82fa0462798219 Mon Sep 17 00:00:00 2001 +From: Mathew McBride +Date: Tue, 17 Feb 2026 12:08:25 +1100 +Subject: [PATCH] (meta-rdk-bsp-arm only) CcspCrSsp: remove 'mkdir + /rdklogs/logs' + +This will fail under a read-only rootfs environment +--- + systemd_units/CcspCrSsp.service | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/systemd_units/CcspCrSsp.service b/systemd_units/CcspCrSsp.service +index a73813c..99383c6 100644 +--- a/systemd_units/CcspCrSsp.service ++++ b/systemd_units/CcspCrSsp.service +@@ -27,7 +27,6 @@ WorkingDirectory=/usr/ccsp + Environment="Subsys=eRT." + Environment="LOG4C_RCPATH=/etc" + EnvironmentFile=/etc/device.properties +-ExecStartPre=-/bin/sh -c 'mkdir -p /rdklogs/logs/' + ExecStartPre=/bin/sh -c '(/usr/ccsp/ccspSysConfigEarly.sh)' + ExecStart=/bin/sh -c '/usr/bin/CcspCrSsp -subsys $Subsys' + ExecStopPost=/bin/sh -c 'echo 0 >> /tmp/CcspCrSsp_Restarted' diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/0004-meta-rdk-bsp-arm-only-systemd-CcspEthAgent-bring-up-.patch b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/0004-meta-rdk-bsp-arm-only-systemd-CcspEthAgent-bring-up-.patch new file mode 100644 index 0000000..8d4a392 --- /dev/null +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/0004-meta-rdk-bsp-arm-only-systemd-CcspEthAgent-bring-up-.patch @@ -0,0 +1,26 @@ +From ef84fe084564e149c15855c67ecb267498353f44 Mon Sep 17 00:00:00 2001 +From: Mathew McBride +Date: Tue, 3 Feb 2026 00:28:01 +0000 +Subject: [PATCH] (meta-rdk-bsp-arm only) systemd: CcspEthAgent: bring up all + ethX before starting + +This is so WAN Manager will consider them as eligible interfaces in +it's selection policy. + +Signed-off-by: Mathew McBride +--- + systemd_units/CcspEthAgent.service | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/systemd_units/CcspEthAgent.service b/systemd_units/CcspEthAgent.service +index 260ac94..d548aa5 100644 +--- a/systemd_units/CcspEthAgent.service ++++ b/systemd_units/CcspEthAgent.service +@@ -28,6 +28,7 @@ Environment="Subsys=eRT." + Environment="LOG4C_RCPATH=/etc" + EnvironmentFile=/etc/device.properties + ExecStart=/bin/sh -c '/usr/bin/CcspEthAgent -subsys $Subsys' ++ExecStartPre=/bin/sh -c '/lib/rdk/bring_up_all_eth.sh' + ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting CcspEthAgent" >> ${PROCESS_RESTART_LOG}' + SyslogIdentifier=CcspEthAgent + Restart=always diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/psmssp.service b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/psmssp.service new file mode 100644 index 0000000..9ec39ca --- /dev/null +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/psmssp.service @@ -0,0 +1,20 @@ +[Unit] +Description=PsmSsp service + +After=CcspCrSsp.service + +[Service] +Type=forking +PIDFile=/var/tmp/PsmSsp.pid +WorkingDirectory=/usr/ccsp +Environment="Subsys=eRT." +Environment="LOG4C_RCPATH=/etc" +EnvironmentFile=/etc/device.properties +ExecStart=/bin/sh -c '/usr/bin/PsmSsp -subsys $Subsys' +ExecStartPre="/usr/ccsp/psm/copy_config.sh" +ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting PsmSsp" >> ${PROCESS_RESTART_LOG}' +Restart=always +SyslogIdentifier=PsmSsp + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/utopia.service b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/utopia.service index 5448f7b..fbe4d22 100644 --- a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/utopia.service +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library/utopia.service @@ -25,7 +25,6 @@ After=mount-nonvol.service Type=forking WorkingDirectory=/etc/utopia EnvironmentFile=/etc/device.properties -ExecStartPre=/bin/sh /lib/rdk/ethwan_intf.sh ExecStart=/bin/sh /etc/utopia/utopia_init.sh ExecStop=/bin/sh -c 'echo "Stopping/Restarting utopia_init.sh" >> ${PROCESS_RESTART_LOG}' SyslogIdentifier=Utopia diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-eth-agent.bbappend b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-eth-agent.bbappend index 167d16a..7f69f2b 100644 --- a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-eth-agent.bbappend +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-eth-agent.bbappend @@ -8,8 +8,19 @@ SRC_URI:remove = "${CMF_GITHUB_ROOT}/ethernet-agent;protocol=https;nobranch=1" SRC_URI = "git://github.com/rdkcentral/ethernet-agent.git;protocol=https;branch=develop" SRCREV_pn-ccsp-eth-agent = "3a0058c9699a15f9190fbdc02e411c9a541294f5" +EROUTER0_COMPAT_PATCH = "${@bb.utils.contains('DISTRO_FEATURES', 'erouter0_compatibility', 'file://RDKBACCL-1082-erouter0-compat-patch.patch', ' ', d)}" + SRC_URI:append = "\ file://0001-genericarm-increase-maximum-number-of-Ethernet-interfaces.patch \ file://0002-cosa_ethernet_internal-force-CcspHalEthSw_RegisterLink.patch \ + ${EROUTER0_COMPAT_PATCH} \ + file://bring_up_all_eth.sh \ " + +do_install:append() { + install -d ${D}/lib/rdk/ + install -m 755 ${WORKDIR}/bring_up_all_eth.sh ${D}/lib/rdk/ +} + +FILES:${PN}:append = " /lib/rdk/bring_up_all_eth.sh" \ No newline at end of file diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-eth-agent/RDKBACCL-1082-erouter0-compat-patch.patch b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-eth-agent/RDKBACCL-1082-erouter0-compat-patch.patch new file mode 100644 index 0000000..e1f2c6c --- /dev/null +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-eth-agent/RDKBACCL-1082-erouter0-compat-patch.patch @@ -0,0 +1,107 @@ +From 45c33e46dacceb6afb083454157e48ba71acdcd5 Mon Sep 17 00:00:00 2001 +From: mahanteshchitt +Date: Mon, 1 Dec 2025 17:57:16 +0530 +Subject: [PATCH] RDKBACCL-1082:Make wan interface name generic (erouter0) in + arm system ready image. + +Reason for Change:Getting the Wan interface name from the hal_ethsw. +Test Procedure:On boot-up erouter0 inetrface should IP. +Risks:Low + +Signed-off-by: mahanteshchitt +--- + source/TR-181/board_sbapi/cosa_ethernet_apis.c | 14 ++++++++++---- + source/TR-181/board_sbapi/cosa_ethernet_manager.c | 2 +- + .../middle_layer_src/cosa_ethernet_internal.c | 5 +++-- + 3 files changed, 14 insertions(+), 7 deletions(-) + +diff --git a/source/TR-181/board_sbapi/cosa_ethernet_apis.c b/source/TR-181/board_sbapi/cosa_ethernet_apis.c +index a810f95..5441b4e 100755 +--- a/source/TR-181/board_sbapi/cosa_ethernet_apis.c ++++ b/source/TR-181/board_sbapi/cosa_ethernet_apis.c +@@ -672,6 +672,8 @@ COSA_DML_IF_STATUS getIfStatus(const PUCHAR name, struct ifreq *pIfr) + #define ETHWAN_DEF_INTF_NAME "eth5" + #elif defined (_PLATFORM_BANANAPI_R4_) + #define ETHWAN_DEF_INTF_NAME "lan0" ++#elif defined (_PLATFORM_GENERICARM_) ++#define ETHWAN_DEF_INTF_NAME "eth3" + #else + #define ETHWAN_DEF_INTF_NAME "eth0" + #endif +@@ -3463,9 +3465,9 @@ CosaDmlEthInit( + } + } + #else +- #if defined(_PLATFORM_RASPBERRYPI_) || defined(_PLATFORM_TURRIS_) || defined(_PLATFORM_BANANAPI_R4_) ++ #if defined(_PLATFORM_RASPBERRYPI_) || defined(_PLATFORM_TURRIS_) || defined(_PLATFORM_BANANAPI_R4_) || defined(_PLATFORM_GENERICARM_) + +- char wanPhyName[20] = {0},out_value[20] = {0}; ++ char wanPhyName[20] = {0},out_value[20] = {0},wan_interface_name[20] ={0}; + + sysevent_get(sysevent_fd, sysevent_token, "wan_ifname", out_value, sizeof(out_value)); + if (out_value[0] != '\0') +@@ -3480,12 +3482,16 @@ CosaDmlEthInit( + } + #ifdef CORE_NET_LIB + libnet_status status; +- status=interface_down(ETHWAN_DEF_INTF_NAME); ++ if (GWP_GetEthWanInterfaceName((unsigned char*)wan_interface_name, sizeof(wan_interface_name)) != RETURN_OK) { ++ CcspTraceError(("Failed to get WAN interface name via GWP_GetEthWanInterfaceName\n")); ++ return -1; ++ } ++ status=interface_down(wan_interface_name); + if(status != CNL_STATUS_SUCCESS) + { + CcspTraceInfo(("Failed to down the interface %s\n",ETHWAN_DEF_INTF_NAME)); + } +- status=interface_rename(ETHWAN_DEF_INTF_NAME,wanPhyName); ++ status=interface_rename(wan_interface_name,wanPhyName); + if(status != CNL_STATUS_SUCCESS) + { + CcspTraceInfo(("Failed to rename the interface %s with %s\n",ETHWAN_DEF_INTF_NAME,wanPhyName)); +diff --git a/source/TR-181/board_sbapi/cosa_ethernet_manager.c b/source/TR-181/board_sbapi/cosa_ethernet_manager.c +index fe97d7f..5ee855a 100644 +--- a/source/TR-181/board_sbapi/cosa_ethernet_manager.c ++++ b/source/TR-181/board_sbapi/cosa_ethernet_manager.c +@@ -375,7 +375,7 @@ static ethSmState_t Transition_EthWanLinkFound(PETH_SM_PRIVATE_INFO pstInfo) + #if defined(FEATURE_RDKB_WAN_AGENT) + if (ANSC_STATUS_SUCCESS != CosaDmlEthCreateEthLink(pstInfo->Name, stGlobalInfo.Path)) + #elif defined(FEATURE_RDKB_WAN_MANAGER) +- #if defined(_PLATFORM_RASPBERRYPI_) || defined(_PLATFORM_TURRIS_) || defined(_PLATFORM_BANANAPI_R4_) ++ #if defined(_PLATFORM_RASPBERRYPI_) || defined(_PLATFORM_TURRIS_) || defined(_PLATFORM_BANANAPI_R4_) || defined(_PLATFORM_GENERICARM_) + CHAR wanPhyName[20] = {0},out_value[20] = {0}; + if (!syscfg_get(NULL, "wan_physical_ifname", out_value, sizeof(out_value))) + { +diff --git a/source/TR-181/middle_layer_src/cosa_ethernet_internal.c b/source/TR-181/middle_layer_src/cosa_ethernet_internal.c +index e48d018..329bbef 100644 +--- a/source/TR-181/middle_layer_src/cosa_ethernet_internal.c ++++ b/source/TR-181/middle_layer_src/cosa_ethernet_internal.c +@@ -83,7 +83,7 @@ + #endif + #endif //#if defined (FEATURE_RDKB_WAN_MANAGER) + +-#if defined (WAN_FAILOVER_SUPPORTED) || defined(RBUS_BUILD_FLAG_ENABLE) || defined (_HUB4_PRODUCT_REQ_) || defined(_PLATFORM_RASPBERRYPI_) || defined(_PLATFORM_BANANAPI_R4_) ++#if defined (WAN_FAILOVER_SUPPORTED) || defined(RBUS_BUILD_FLAG_ENABLE) || defined (_HUB4_PRODUCT_REQ_) || defined(_PLATFORM_RASPBERRYPI_) || defined(_PLATFORM_BANANAPI_R4_) || defined(_PLATFORM_GENERICARM_) + #include "cosa_rbus_handler_apis.h" + #endif + +@@ -370,7 +370,7 @@ CosaEthernetInitialize + + #if defined(FEATURE_RDKB_WAN_MANAGER) + +-#if defined (WAN_FAILOVER_SUPPORTED) || defined(RBUS_BUILD_FLAG_ENABLE) || defined (_HUB4_PRODUCT_REQ_) || defined(_PLATFORM_RASPBERRYPI_) || defined(_PLATFORM_BANANAPI_R4_) ++#if defined (WAN_FAILOVER_SUPPORTED) || defined(RBUS_BUILD_FLAG_ENABLE) || defined (_HUB4_PRODUCT_REQ_) || defined(_PLATFORM_RASPBERRYPI_) || defined(_PLATFORM_BANANAPI_R4_) || defined(_PLATFORM_GENERICARM_) + ethAgentRbusInit(); + #endif + #if defined (WAN_FAILOVER_SUPPORTED) +@@ -384,6 +384,7 @@ CosaEthernetInitialize + GWP_RegisterEthWan_Callback ( &obj ); + //Initialise global data and initalise hal + CosaDmlEthInit(NULL, (PANSC_HANDLE)pMyObject); ++ + #if defined (WAN_FAILOVER_SUPPORTED) + // The below case might occur, when box crashed/reboot before timeout or conditional signaled + // Check if EWan failover simulation test file is exist or not. +-- +2.51.2 + diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-eth-agent/bring_up_all_eth.sh b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-eth-agent/bring_up_all_eth.sh new file mode 100644 index 0000000..c97fdae --- /dev/null +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-eth-agent/bring_up_all_eth.sh @@ -0,0 +1,33 @@ +#!/bin/sh +################################################################################## +# If not stated otherwise in this file or this component's LICENSE file the +# following copyright and licenses apply: +# +# Copyright 2024 RDK Management +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +################################################################################## + +set -e + +# Bring up all Ethernet interfaces before EthAgent starts +for x in $(find /sys/class/net -name 'eth*'); do + # Ignore any interface that is not originating from + # a "real" device (for example, no veth pairs) + if [ ! -d "${x}/device" ]; then + continue + fi + eth_intf_name=$(basename "${x}") + echo "Bringing ${eth_intf_name} up" + ip link set "${eth_intf_name}" up +done diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm.bbappend b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm.bbappend index 5e31561..fd174cd 100644 --- a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm.bbappend +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm.bbappend @@ -2,12 +2,23 @@ require ccsp_common_genericarm.inc FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -SRC_URI:append = " file://bbhm_def_cfg_ten64.xml" +SRC_URI:append = " file://bbhm_def_cfg_ten64.xml \ + file://bbhm_def_cfg_ten64-4.xml \ + file://bbhm_def_cfg_default.xml \ + file://copy_config.sh" do_install:append() { # Config files and scripts install -d ${D}/usr/ccsp/config - install -m 644 ${WORKDIR}/bbhm_def_cfg_ten64.xml ${D}/usr/ccsp/config/bbhm_def_cfg.xml - install -m 755 ${S}/scripts/bbhm_patch.sh ${D}/usr/ccsp/psm/bbhm_patch.sh + install -d ${D}/usr/ccsp/machine_configs + cp ${WORKDIR}/bbhm_def_cfg_ten64.xml ${D}/usr/ccsp/machine_configs/traverse_ten64.xml + cp ${WORKDIR}/bbhm_def_cfg_ten64-4.xml ${D}/usr/ccsp/machine_configs/traverse_ten64-4.xml + cp ${WORKDIR}/bbhm_def_cfg_default.xml ${D}/usr/ccsp/machine_configs/default.xml + + install -m 755 ${WORKDIR}/copy_config.sh ${D}/usr/ccsp/psm/copy_config.sh } +FILES:${PN}:append = " /usr/ccsp/config \ + /usr/ccsp/machine_configs \ + /usr/ccsp/machine_configs/traverse_ten64.xml \ + /usr/ccsp/machine_configs/default.xml" diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm/bbhm_def_cfg_default.xml b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm/bbhm_def_cfg_default.xml new file mode 100644 index 0000000..3915849 --- /dev/null +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm/bbhm_def_cfg_default.xml @@ -0,0 +1,1246 @@ + + + + + + + + 2 + 2 + 2 + 3478 + 1 + 0 + 0 + 100 + 100 + 1 + 1 + 2346 + 2346 + 2347 + 2347 + 1 + 1 + 1 + 1 + 3 + 3 + 0 + 0 + 100 + 100 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 30 + 30 + 5 + 5 + 30 + 30 + 5 + 5 + 30 + 30 + 30 + 30 + 30 + 30 + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 254 + 254 + 1 + 0 + 0 + 1 + + 0 + + brlan + 164...512 + + FALSE + brlan0 + 100 + FALSE + TRUE + Primary Bridge + BRG_STD_8021Q_2005 + 1 + Bridge + + eth0 + + + + l2sd0-t + + CPE-VLAN1 + 1 + + FALSE + 100 + FALSE + TRUE + Port1 + brlan0 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 100 + FALSE + TRUE + Port2 + sw_1 + sw_1 + Ethernet + FALSE + Tagging + 2 + FALSE + + FALSE + 100 + FALSE + TRUE + Port3 + sw_2 + sw_2 + Ethernet + FALSE + Tagging + 3 + FALSE + + FALSE + 100 + FALSE + TRUE + Port4 + sw_3 + sw_3 + Ethernet + FALSE + Tagging + 4 + FALSE + + FALSE + 100 + FALSE + TRUE + Port5 + sw_5 + sw_5 + Moca + FALSE + Tagging + 5 + FALSE + + FALSE + 100 + FALSE + TRUE + Port6 + ath0 + ath0 + WiFi + FALSE + Tagging + 6 + FALSE + + FALSE + 100 + FALSE + TRUE + Port7 + ath1 + ath1 + WiFi + FALSE + Tagging + 7 + FALSE + + FALSE + 100 + FALSE + TRUE + Port8 + sw_4 + sw_4 + Ethernet + FALSE + Tagging + 8 + FALSE + + FALSE + 100 + FALSE + FALSE + Port9 + + lbr0 + Ethernet + FALSE + Tagging + 9 + FALSE + + FALSE + brlan1 + 101 + FALSE + TRUE + Home Security network + BRG_STD_8021Q_2005 + 2 + Bridge + + + + + ath2 ath3 + l2sd0-t + + CPE-VLAN1 + 1 + + FALSE + 101 + FALSE + TRUE + Port1 + brlan1 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 101 + FALSE + FALSE + Port2 + sw_4 + sw_4 + Ethernet + FALSE + Tagging + 2 + FALSE + + FALSE + 101 + FALSE + TRUE + Port3 + ath2 + ath2 + WiFi + FALSE + Tagging + 3 + FALSE + + FALSE + 101 + FALSE + TRUE + Port4 + ath3 + ath3 + WiFi + FALSE + Tagging + 4 + FALSE + + FALSE + brlan2 + 102 + FALSE + TRUE + Hotspot Network 1 + BRG_STD_8021Q_2005 + 3 + Bridge + + + + ath4 + l2sd0-t + gretap0-t + + CPE-VLAN1 + 1 + + FALSE + 102 + FALSE + TRUE + Port1 + brlan2 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 102 + FALSE + TRUE + Port2 + ath4 + ath4 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 102 + FALSE + TRUE + Port3 + gretap0 + gretap0 + Gre + FALSE + PassThrough + 3 + FALSE + + FALSE + brlan3 + 103 + FALSE + TRUE + Hotspot Network 2 + BRG_STD_8021Q_2005 + 4 + Bridge + + + + ath5 + l2sd0-t + gretap0-t + + CPE-VLAN1 + 1 + + FALSE + 103 + FALSE + TRUE + Port1 + brlan3 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 103 + FALSE + TRUE + Port2 + ath5 + ath5 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 103 + FALSE + TRUE + Port3 + gretap0 + gretap0 + Gre + FALSE + PassThrough + 3 + FALSE + + + + FALSE + brlan4 + 104 + FALSE + TRUE + Hotspot Network 3 + BRG_STD_8021Q_2005 + 7 + Bridge + + + + ath8 + l2sd0-t + gretap0-t + + CPE-VLAN1 + 1 + + FALSE + 104 + FALSE + TRUE + Port1 + brlan4 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 104 + FALSE + TRUE + Port2 + ath8 + ath8 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 104 + FALSE + TRUE + Port3 + gretap0 + gretap0 + Gre + FALSE + PassThrough + 3 + FALSE + + FALSE + brlan5 + 105 + FALSE + TRUE + Hotspot Network 4 + BRG_STD_8021Q_2005 + 8 + Bridge + + + + ath9 + l2sd0-t + gretap0-t + + CPE-VLAN1 + 1 + + FALSE + 105 + FALSE + TRUE + Port1 + brlan5 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 105 + FALSE + TRUE + Port2 + ath9 + ath9 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 105 + FALSE + TRUE + Port3 + gretap0 + gretap0 + Gre + FALSE + PassThrough + 3 + FALSE + + + + 1 + Bridge + true + Primary LAN + false + + 2 + Bridge + true + Home Security + false + + Ethernet + 2 + 0 + Ethernet + true + Wan EthLink + false + + 1 + true + 10.0.0.1 + 255.255.255.0 + + Primary LAN + 1500 + false + true + false + false + 1 + 1 + + + 9999-12-31T23:59:59Z + 9999-12-31T23:59:59Z + false + + 10.0.0.254 + 255.255.255.0 + 4 + + 1 + 60 + + 2 + true + 172.16.12.1 + 255.255.255.0 + + Home Security + 1500 + false + true + false + false + 1 + 1 + + + 9999-12-31T23:59:59Z + 9999-12-31T23:59:59Z + false + + 1 + 30 + + TRUE + FALSE + TRUE + 172.16.12.100 + 172.16.12.150 + 255.255.255.0 + 172.22.156.1,172.22.156.3,172.22.156.3,172.22.156.4 + 172.16.12.1 + 86400 + 5 + + + FALSE + brlan7 + 107 + FALSE + FALSE + Guest Network 1 + BRG_STD_8021Q_2005 + 5 + Bridge + + + + ath14 ath15 + l2sd0-t + + + CPE-VLAN1 + 1 + + FALSE + 107 + FALSE + TRUE + Port1 + brlan7 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 107 + FALSE + TRUE + Port2 + ath14 + ath14 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 107 + FALSE + TRUE + Port3 + ath15 + ath15 + WiFi + FALSE + Tagging + 3 + FALSE + + 5 + Bridge + false + Guest Network 1 + false + + 4 + false + 192.168.0.1 + 255.255.255.0 + + Guest Network + 1500 + false + true + false + false + 1 + 1 + + + 9999-12-31T23:59:59Z + 9999-12-31T23:59:59Z + false + + 1 + 30 + + TRUE + FALSE + FALSE + 192.168.0.100 + 192.168.0.150 + 255.255.255.0 + 192.168.0.1 + 192.168.0.1 + 86400 + 6 + + + + FALSE + brlan106 + 106 + FALSE + TRUE + LnF + BRG_STD_8021Q_2005 + 6 + Bridge + + + + ath6 ath7 + l2sd0-t + + CPE-VLAN1 + 1 + + FALSE + 106 + FALSE + TRUE + Port1 + brlan106 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 106 + FALSE + FALSE + Port2 + ath6 + ath6 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 106 + FALSE + TRUE + Port3 + ath7 + ath7 + WiFi + FALSE + Tagging + 3 + FALSE + + + 4 + 5 + 1 + 8 + 2 + 2 + 2 + 9 + + 1 + 1 + 3 + 3 + + 0 + + 0 + + 0 + Device.WiFi.SSID.5.,Device.WiFi.SSID.6.,Device.WiFi.SSID.9.,Device.WiFi.SSID.10. + 0.0.0.0,0.0.0.0 + 1 + 12 + + + 44 + 102 + 43200 + 1 + 60 + 3 + 3 + 300 + 1 + 1 + Device.Bridging.Bridge.3.,Device.Bridging.Bridge.4. + Device.Bridging.Bridge.3.Port.2.,Device.Bridging.Bridge.4.Port.2. + Device.X_CISCO_COM_GRE.Interface.1. + + 2.0 + 0 + 0.0.0.0 + 0.0.0.0 + 1 + 12 + + + 44 + 43200 + 1 + 60 + 3 + 3 + 300 + 1 + 1 + Device.X_CISCO_COM_GRE.Interface.1. + + 0 + Device.WiFi.SSID.5. + 102 + Device.Bridging.Bridge.3. + Device.Bridging.Bridge.3.Port.2. + + 0 + Device.WiFi.SSID.6. + 103 + Device.Bridging.Bridge.4. + Device.Bridging.Bridge.4.Port.2. + + 0 + Device.WiFi.SSID.9. + 104 + Device.Bridging.Bridge.7. + Device.Bridging.Bridge.7.Port.2. + + 0 + Device.WiFi.SSID.10. + 105 + Device.Bridging.Bridge.8. + Device.Bridging.Bridge.8.Port.2. + + 0 + cpe-cgreif-1 + gretap0 + erouter0 + 2 + 0.0.0.0 + + + + + 1 + b0 + + 65 + + XB3 + 088039 + + 0 + 1 + 150 + 30 + 5 + 2000 + + true + 0 + 0 + RPI3_RDKB-AP0 + RPI3_RDKB-AP1 + rdk@1234 + rdk@1234 + false + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + 900 + 900 + 900 + 900 + 900 + 300 + 900 + 300 + 900 + 900 + 900 + 900 + 900 + 900 + 900 + 900 + 21600 + 43200 + 900 + 900 + 900 + 900 + 21600 + 43200 + + webpa_process_starts + + + 0 + FALSE + brlan10 + 111 + FALSE + TRUE + MoCA Bridge + BRG_STD_8021Q_2005 + 9 + Bridge + sw_5 + + + + + l2sd0-t + CPE-VLAN1 + 1 + FALSE + 111 + FALSE + TRUE + Port1 + brlan10 + + NONE + TRUE + Tagging + 1 + FALSE + + /etc/cacert.pem + 0 + 0 + 90 + 90 + + false + -100 + -100 + + 1 + 1 + 6 + 0 + 0 + 45 + eth1 + WanOE + 2 + + 0 + 60 + DATA + DATA + 1 + + + FALSE + PPPoE + TRUE + TRUE + TRUE + + + 1 + 1 + + 6 + 6 + Device.Ethernet.X_RDK_Interface.2 + + TRUE + TRUE + FALSE + 1 + 100 + 60 + + false + true + + 2 + TRUE + eth0 + TRUE + eth1 + TRUE + + + 1 + + TRUE + WANOE + eth1 + + 2 + eth1 + Device.X_RDK_WanManager.Interface.1.VirtualInterface.1 + + 1 + + FALSE + WANOE + erouter0 + Device.X_RDK_Ethernet.Link.1 + eth0 + -1 + 0 + Device.X_RDK_WanManager.Interface.1.VirtualInterface.1 + + 1 + TRUE + WANOE + eth1 + FALSE + FALSE + FALSE + + Device.IP.Interface.1 + 3 + 2 + 2 + + 20 + 0 + 0 + + + 0 + -65 + 0 + + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + + true + true + true + false + false + false + false + false + false + false + false + false + false + false + false + false + false + 1,2,5,6,9,10 + + 0 + 0 + 000000000000 + 0 + false + 1470 + 5 + 400 + diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm/bbhm_def_cfg_ten64-4.xml b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm/bbhm_def_cfg_ten64-4.xml new file mode 100644 index 0000000..9f389bc --- /dev/null +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm/bbhm_def_cfg_ten64-4.xml @@ -0,0 +1,1364 @@ + + + + + + + + + + 2 + 2 + 2 + 3478 + 1 + 0 + 0 + 100 + 100 + 1 + 1 + 2346 + 2346 + 2347 + 2347 + 1 + 1 + 1 + 1 + 3 + 3 + 0 + 0 + 100 + 100 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 30 + 30 + 5 + 5 + 30 + 30 + 5 + 5 + 30 + 30 + 30 + 30 + 30 + 30 + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0: + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 254 + 254 + 1 + 0 + 0 + 1 + + 0 + + brlan + 164...512 + + FALSE + brlan0 + 100 + FALSE + TRUE + Primary Bridge + BRG_STD_8021Q_2005 + 1 + Bridge + + eth0 eth1 + + + + l2sd0-t + + CPE-VLAN1 + 1 + + FALSE + 100 + FALSE + TRUE + Port1 + brlan0 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 100 + FALSE + TRUE + Port2 + sw_1 + sw_1 + Ethernet + FALSE + Tagging + 2 + FALSE + + FALSE + 100 + FALSE + TRUE + Port3 + sw_2 + sw_2 + Ethernet + FALSE + Tagging + 3 + FALSE + + FALSE + 100 + FALSE + TRUE + Port4 + sw_3 + sw_3 + Ethernet + FALSE + Tagging + 4 + FALSE + + FALSE + 100 + FALSE + TRUE + Port5 + sw_5 + sw_5 + Moca + FALSE + Tagging + 5 + FALSE + + FALSE + 100 + FALSE + TRUE + Port6 + ath0 + ath0 + WiFi + FALSE + Tagging + 6 + FALSE + + FALSE + 100 + FALSE + TRUE + Port7 + ath1 + ath1 + WiFi + FALSE + Tagging + 7 + FALSE + + FALSE + 100 + FALSE + TRUE + Port8 + sw_4 + sw_4 + Ethernet + FALSE + Tagging + 8 + FALSE + + FALSE + 100 + FALSE + FALSE + Port9 + + lbr0 + Ethernet + FALSE + Tagging + 9 + FALSE + + FALSE + brlan1 + 101 + FALSE + TRUE + Home Security network + BRG_STD_8021Q_2005 + 2 + Bridge + + + + + ath2 ath3 + l2sd0-t + + CPE-VLAN1 + 1 + + FALSE + 101 + FALSE + TRUE + Port1 + brlan1 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 101 + FALSE + FALSE + Port2 + sw_4 + sw_4 + Ethernet + FALSE + Tagging + 2 + FALSE + + FALSE + 101 + FALSE + TRUE + Port3 + ath2 + ath2 + WiFi + FALSE + Tagging + 3 + FALSE + + FALSE + 101 + FALSE + TRUE + Port4 + ath3 + ath3 + WiFi + FALSE + Tagging + 4 + FALSE + + FALSE + brlan2 + 102 + FALSE + TRUE + Hotspot Network 1 + BRG_STD_8021Q_2005 + 3 + Bridge + + + + ath4 + l2sd0-t + gretap0-t + + CPE-VLAN1 + 1 + + FALSE + 102 + FALSE + TRUE + Port1 + brlan2 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 102 + FALSE + TRUE + Port2 + ath4 + ath4 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 102 + FALSE + TRUE + Port3 + gretap0 + gretap0 + Gre + FALSE + PassThrough + 3 + FALSE + + FALSE + brlan3 + 103 + FALSE + TRUE + Hotspot Network 2 + BRG_STD_8021Q_2005 + 4 + Bridge + + + + ath5 + l2sd0-t + gretap0-t + + CPE-VLAN1 + 1 + + FALSE + 103 + FALSE + TRUE + Port1 + brlan3 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 103 + FALSE + TRUE + Port2 + ath5 + ath5 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 103 + FALSE + TRUE + Port3 + gretap0 + gretap0 + Gre + FALSE + PassThrough + 3 + FALSE + + + + FALSE + brlan4 + 104 + FALSE + TRUE + Hotspot Network 3 + BRG_STD_8021Q_2005 + 7 + Bridge + + + + ath8 + l2sd0-t + gretap0-t + + CPE-VLAN1 + 1 + + FALSE + 104 + FALSE + TRUE + Port1 + brlan4 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 104 + FALSE + TRUE + Port2 + ath8 + ath8 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 104 + FALSE + TRUE + Port3 + gretap0 + gretap0 + Gre + FALSE + PassThrough + 3 + FALSE + + FALSE + brlan5 + 105 + FALSE + TRUE + Hotspot Network 4 + BRG_STD_8021Q_2005 + 8 + Bridge + + + + ath9 + l2sd0-t + gretap0-t + + CPE-VLAN1 + 1 + + FALSE + 105 + FALSE + TRUE + Port1 + brlan5 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 105 + FALSE + TRUE + Port2 + ath9 + ath9 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 105 + FALSE + TRUE + Port3 + gretap0 + gretap0 + Gre + FALSE + PassThrough + 3 + FALSE + + + + 1 + Bridge + true + Primary LAN + false + + 2 + Bridge + true + Home Security + false + + Ethernet + 2 + 0 + Ethernet + true + Wan EthLink + false + + Ethernet + 3 + 0 + Ethernet + true + Fiber EthLink + false + + 1 + true + 10.0.0.1 + 255.255.255.0 + + Primary LAN + 1500 + false + true + false + false + 1 + 1 + + + 9999-12-31T23:59:59Z + 9999-12-31T23:59:59Z + false + + 10.0.0.254 + 255.255.255.0 + 4 + + 1 + 60 + + 2 + true + 172.16.12.1 + 255.255.255.0 + + Home Security + 1500 + false + true + false + false + 1 + 1 + + + 9999-12-31T23:59:59Z + 9999-12-31T23:59:59Z + false + + 1 + 30 + + TRUE + FALSE + TRUE + 172.16.12.100 + 172.16.12.150 + 255.255.255.0 + 172.22.156.1,172.22.156.3,172.22.156.3,172.22.156.4 + 172.16.12.1 + 86400 + 5 + + + FALSE + brlan7 + 107 + FALSE + FALSE + Guest Network 1 + BRG_STD_8021Q_2005 + 5 + Bridge + + + + ath14 ath15 + l2sd0-t + + + CPE-VLAN1 + 1 + + FALSE + 107 + FALSE + TRUE + Port1 + brlan7 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 107 + FALSE + TRUE + Port2 + ath14 + ath14 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 107 + FALSE + TRUE + Port3 + ath15 + ath15 + WiFi + FALSE + Tagging + 3 + FALSE + + 5 + Bridge + false + Guest Network 1 + false + + 4 + false + 192.168.0.1 + 255.255.255.0 + + Guest Network + 1500 + false + true + false + false + 1 + 1 + + + 9999-12-31T23:59:59Z + 9999-12-31T23:59:59Z + false + + 1 + 30 + + TRUE + FALSE + FALSE + 192.168.0.100 + 192.168.0.150 + 255.255.255.0 + 192.168.0.1 + 192.168.0.1 + 86400 + 6 + + + + FALSE + brlan106 + 106 + FALSE + TRUE + LnF + BRG_STD_8021Q_2005 + 6 + Bridge + + + + ath6 ath7 + l2sd0-t + + CPE-VLAN1 + 1 + + FALSE + 106 + FALSE + TRUE + Port1 + brlan106 + + NONE + TRUE + Tagging + 1 + FALSE + + FALSE + 106 + FALSE + FALSE + Port2 + ath6 + ath6 + WiFi + FALSE + Tagging + 2 + FALSE + + FALSE + 106 + FALSE + TRUE + Port3 + ath7 + ath7 + WiFi + FALSE + Tagging + 3 + FALSE + + + 4 + 5 + 1 + 8 + 2 + 2 + 2 + 9 + + 1 + 1 + 3 + 3 + + 0 + + 0 + + 0 + Device.WiFi.SSID.5.,Device.WiFi.SSID.6.,Device.WiFi.SSID.9.,Device.WiFi.SSID.10. + 0.0.0.0,0.0.0.0 + 1 + 12 + + + 44 + 102 + 43200 + 1 + 60 + 3 + 3 + 300 + 1 + 1 + Device.Bridging.Bridge.3.,Device.Bridging.Bridge.4. + Device.Bridging.Bridge.3.Port.2.,Device.Bridging.Bridge.4.Port.2. + Device.X_CISCO_COM_GRE.Interface.1. + + 2.0 + 0 + 0.0.0.0 + 0.0.0.0 + 1 + 12 + + + 44 + 43200 + 1 + 60 + 3 + 3 + 300 + 1 + 1 + Device.X_CISCO_COM_GRE.Interface.1. + + 0 + Device.WiFi.SSID.5. + 102 + Device.Bridging.Bridge.3. + Device.Bridging.Bridge.3.Port.2. + + 0 + Device.WiFi.SSID.6. + 103 + Device.Bridging.Bridge.4. + Device.Bridging.Bridge.4.Port.2. + + 0 + Device.WiFi.SSID.9. + 104 + Device.Bridging.Bridge.7. + Device.Bridging.Bridge.7.Port.2. + + 0 + Device.WiFi.SSID.10. + 105 + Device.Bridging.Bridge.8. + Device.Bridging.Bridge.8.Port.2. + + 0 + cpe-cgreif-1 + gretap0 + erouter0 + 2 + 0.0.0.0 + + + + + 1 + b0 + + 65 + + XB3 + 088039 + + 0 + 1 + 150 + 30 + 5 + 2000 + + true + 0 + 0 + RPI3_RDKB-AP0 + RPI3_RDKB-AP1 + rdk@1234 + rdk@1234 + false + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + 900 + 900 + 900 + 900 + 900 + 300 + 900 + 300 + 900 + 900 + 900 + 900 + 900 + 900 + 900 + 900 + 21600 + 43200 + 900 + 900 + 900 + 900 + 21600 + 43200 + + webpa_process_starts + + + 0 + FALSE + brlan10 + 111 + FALSE + TRUE + MoCA Bridge + BRG_STD_8021Q_2005 + 9 + Bridge + sw_5 + + + + + l2sd0-t + CPE-VLAN1 + 1 + FALSE + 111 + FALSE + TRUE + Port1 + brlan10 + + NONE + TRUE + Tagging + 1 + FALSE + + /etc/cacert.pem + 0 + 0 + 90 + 90 + + false + -100 + -100 + + 1 + 3 + 6 + 0 + 0 + 45 + eth2 + WanOE + TRUE + 2 + 0 + 60 + DATA + DATA + 1 + + + FALSE + PPPoE + TRUE + TRUE + TRUE + + + + wwan0 + LTE + TRUE + 3 + 2 + 60 + DATA + DATA + 1 + + + FALSE + PPPoE + TRUE + TRUE + TRUE + TRUE + + eth5 + SFP + TRUE + 2 + 1 + 60 + DATA + DATA + 1 + + + FALSE + PPPoE + TRUE + TRUE + TRUE + TRUE + + + + 0 + 3gpp + IPv4IPv6 + PAP + DefaultProfile + fast.t-mobile.com + + + FALSE + FALSE + + + + false + true + + 3 + TRUE + eth0 + TRUE + eth2 + TRUE + eth5 + TRUE + + 1 + + FALSE + WANOE + eth2 + + 3 + eth2 + Device.X_RDK_WanManager.Interface.1.VirtualInterface.1 + + FALSE + SFPOE + eth5 + + 4 + eth5 + Device.X_RDK_WanManager.Interface.3.VirtualInterface.1 + + 1 + + FALSE + WANOE + erouter0 + Device.X_RDK_Ethernet.Link.1 + eth0 + -1 + 0 + Device.X_RDK_WanManager.Interface.1.VirtualInterface.1 + + + 3 + 2 + + 6 + 6 + Device.Ethernet.X_RDK_Interface.2 + + TRUE + FALSE + FALSE + 2 + 1 + 60 + + 1 + TRUE + WANOE + eth2 + FALSE + FALSE + FALSE + + Device.IP.Interface.1 + 3 + 2 + 2 + + 20 + 0 + 0 + + Device.Cellular.Interface.1 + + FALSE + FALSE + FALSE + 1 + 1 + 20 + + 1 + TRUE + LTE + wwan0 + FALSE + FALSE + FALSE + + + 3 + 1 + 1 + + 0 + 0 + 0 + + 1 + Device.Ethernet.X_RDK_Interface.3 + TRUE + SFPOE + eth5 + TRUE + 2 + FALSE + FALSE + FALSE + + + 3 + 2 + 2 + + 20 + 0 + 0 + + + 0 + -65 + 0 + + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + 180 + + true + true + true + false + false + false + false + false + false + false + false + false + false + false + false + false + false + 1,2,5,6,9,10 + + 0 + 0 + 000000000000 + 0 + false + 1470 + 5 + 400 + diff --git a/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm/copy_config.sh b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm/copy_config.sh new file mode 100644 index 0000000..995d9bd --- /dev/null +++ b/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-psm/copy_config.sh @@ -0,0 +1,39 @@ +#!/bin/sh + +source /etc/device.properties + +set -e +MACHINE_NAME=$(strings /sys/firmware/devicetree/base/compatible | head -n 1 | sed "s/,/_/g") + +MACHINE_CONFIG_FILE="/usr/ccsp/machine_configs/${MACHINE_NAME}.xml" +DEFAULT_CONFIG_FILE="/usr/ccsp/config/bbhm_def_cfg.xml" + +if [ -f "${DEFAULT_CONFIG_FILE}" ]; then + echo "Default config file in place" + exit 0 +fi + +mount -t tmpfs tmpfs /usr/ccsp/config + +if [ -f "${MACHINE_CONFIG_FILE}" ]; then + echo "Copying machine specific config file" + echo "Source: ${MACHINE_CONFIG_FILE}" + echo "Destination: ${DEFAULT_CONFIG_FILE}" + cp "${MACHINE_CONFIG_FILE}" "${DEFAULT_CONFIG_FILE}" +else + echo "No machine specific config file found, copying default" + cp "/usr/ccsp/machine_configs/default.xml" "${DEFAULT_CONFIG_FILE}" +fi + +if [ "${WAN_IS_EROUTER0}" = "true" ]; then + echo "Configuring for erouter0 compatibility" + sed -i \ + -e 's##erouter0#' \ + -e 's##erouter0#' \ + "${DEFAULT_CONFIG_FILE}" + sed -i \ + -E 's##erouter0#' \ + "${DEFAULT_CONFIG_FILE}" + #EROUTER_IF_PSM_NAME=$(grep "m:erouterIf" "${DEFAULT_CONFIG_FILE}" | sed -nE 's#.+\> ${D}${sysconfdir}/device.properties', '', d)} echo "MODEL_NUM=RPI_MOD" >> ${D}${sysconfdir}/device.properties + ${@bb.utils.contains('DISTRO_FEATURES', 'erouter0_compatibility', 'echo "WAN_IS_EROUTER0=true" >> ${D}${sysconfdir}/device.properties', '', d)} + #For rfc Support sed -i '/DEVICE_TYPE/c\DEVICE_TYPE=broadband' ${D}${sysconfdir}/device.properties sed -i '/LOG_PATH/c\LOG_PATH=/rdklogs/logs/' ${D}${sysconfdir}/device.properties