This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: Issue in communication/ping with main interface when we added ethfw static VLAN changes

Part Number: TDA4VM

Tool/software:

Hello Team,

On our custom board, previously we were working on below sdk version. 

ti-processor-sdk-linux-j7-evm-08_01_00_07-Linux

ti-processor-sdk-rtos-j721e-evm-08_01_00_13

Now, we are migrating to below sdk version:

ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05

ti-processor-sdk-rtos-j721e-evm-09_02_00_05


>On MCU_2_0 side, we ported the ethfw mac port changes. And on A72 side, we enabled cpsw_proxy_client driver.

We are able to ping to main interface to and from host and board (eth0).


 
> Now, we applied the below patch to enable VLAN. 

This patch adds callbacks to ethfw for programming the static vlan.
Also changes the default vlanid 1 into 2 for internal usage.
diff --git a/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/apps/app_remoteswitchcfg_server/mcu_2_0/main.c b/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/apps/app_remoteswitchcfg_server/mcu_2_0/main.c
index 6b1b25d59..74f93a7ad 100644
--- a/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/apps/app_remoteswitchcfg_server/mcu_2_0/main.c
+++ b/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/apps/app_remoteswitchcfg_server/mcu_2_0/main.c
@@ -377,6 +377,13 @@ static void EthApp_startSwInterVlan(char *recvBuff,
 static void EthApp_startHwInterVlan(char *recvBuff,
                                     char *sendBuff);
 #endif
+static int32_t EthApp_addRemoteCoreStaticCfg(Enet_Handle hEnet,
+                                             uint32_t coreId,
+                                             uint32_t flowId);
+
+static void EthApp_delRemoteCoreStaticCfg(Enet_Handle hEnet,
+                                          uint32_t coreId,
+                                          uint32_t flowId);
 
 static void EthApp_lwipMain(void *a0,
                             void *a1);
@@ -1310,6 +1317,10 @@ static int32_t EthApp_initEthFw(void)
         }
     }
 
+    /* Set static configuration functions */
+    ethFwCfg.addStaticCfg = &EthApp_addRemoteCoreStaticCfg;
+    ethFwCfg.delStaticCfg = &EthApp_delRemoteCoreStaticCfg;
+
 #if defined(ETHFW_VEPA_SUPPORT)
     memcpy(ethFwCfg.vepaCfg.privVlanId,
            gEthApp_remoteClientPrivVlanIdMap,
diff --git a/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/cpsw_proxy_server.c b/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/cpsw_proxy_server.c
index 05f7bc36f..b3b303ec7 100644
--- a/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/cpsw_proxy_server.c
+++ b/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/cpsw_proxy_server.c
@@ -322,6 +322,12 @@ typedef struct CpswProxyServer_Obj_s
     CpswProxyServer_VirtPortCfg virtPortCfg[CPSWPROXYSERVER_REMOTE_CLIENT_VIRTPORT_MAX];
     /* Number of remote virtual ports that remotes cores can attach to */
     uint32_t numVirtPorts;
+
+    /* Add static configuration that is applicable only to specific remote cores */
+    CpswProxyServer_addStaticCfg addStaticCfg;
+
+    /* Delete static configuration that is applicable only to specific remote cores */
+    CpswProxyServer_delStaticCfg delStaticCfg;
 } CpswProxyServer_Obj;
 
 /* ========================================================================== */
@@ -1323,6 +1329,21 @@ static int32_t CpswProxyServer_registerMacHandlerCb(CpswProxyServer_ClientHandle
                         macAddr[3U], macAddr[4U], macAddr[5U]);
     }
 
+    if (ENET_SOK == status)
+    {
+        if (hServer->addStaticCfg != NULL)
+        {
+            status = hServer->addStaticCfg(hServer->hEnet, hostId, flowIdxOffset);
+
+            ETHFWTRACE_ERR_IF((status != ENET_SOK), status, "Failed to add static config for coreId=%u\n", hostId);
+        }
+    }
+
+    if (status != ENET_SOK)
+    {
+        status = ETHREMOTECFG_CMDSTATUS_EFAIL;
+    }
+
     return CPSWPROXY_ENET2RPMSG_ERR(status);
 }
 
@@ -1424,6 +1445,16 @@ static int32_t CpswProxyServer_unregisterMacHandlerCb(CpswProxyServer_ClientHand
                         macAddr[3U], macAddr[4U], macAddr[5U]);
     }
 
+    ETHFWTRACE_ERR_IF((status != ENET_SOK), status, "Failed EnetAppUtils_unregDstMacRxFlow\n");
+
+    if (ENET_SOK == status)
+    {
+        if (hServer->delStaticCfg != NULL)
+        {
+            hServer->delStaticCfg(hServer->hEnet, hostId, flowIdxOffset);
+        }
+    }
+
     return CPSWPROXY_ENET2RPMSG_ERR(status);
 }
 
@@ -2883,6 +2914,9 @@ int32_t CpswProxyServer_init(CpswProxyServer_Config_t *cfg)
         hServer->initDone = BTRUE;
     }
 
+    hServer->addStaticCfg = cfg->addStaticCfg;
+    hServer->delStaticCfg = cfg->delStaticCfg;
+
     ETHFWTRACE_INFO("CpswProxyServer: initialization %s (core: mcu2_0)",
                     (status == ETHFW_SOK) ? "completed" : "failed");
 
diff --git a/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/cpsw_proxy_server.h b/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/cpsw_proxy_server.h
index 79db799df..55af38214 100644
--- a/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/cpsw_proxy_server.h
+++ b/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/cpsw_proxy_server.h
@@ -175,6 +175,35 @@ extern "C" {
 /*! Max number of remote client virtual ports */
 #define CPSWPROXYSERVER_REMOTE_CLIENT_VIRTPORT_MAX    (6U)
 
+/*!
+ * \brief Add static configuration.
+ *
+ * Add static configuration that is applicable only to specific remote cores.
+ *
+ * \param hEnet        Handle to Enet LLD
+ * \param coreId       Remote core's IPC core id
+ * \param flowId       Remote core's flow id
+ *
+ * \return 0 if no error. Negative value otherwise.
+ */
+typedef int32_t (*CpswProxyServer_addStaticCfg)(Enet_Handle hEnet,
+                                                uint32_t coreId,
+                                                uint32_t flowId);
+
+/*!
+ * \brief Delete static configuration.
+ *
+ * Delete static configuration that is applicable only to specific remote cores.
+ *
+ * \param hEnet        Handle to Enet LLD
+ * \param coreId       Remote core's IPC core id
+ * \param flowId       Remote core's flow id
+ */
+typedef void (*CpswProxyServer_delStaticCfg)(Enet_Handle hEnet,
+                                             uint32_t coreId,
+                                             uint32_t flowId);
+
+
 /*!
  * \brief Application callback function pointer to initialize Ethernet Firmware data
  *
@@ -373,6 +402,12 @@ typedef struct CpswProxyServer_Config_s
 
     /*! Number of remote client alloc objects */
     uint32_t numAllocObj;
+
+    /* Add static configuration that is applicable only to specific remote cores */
+    CpswProxyServer_addStaticCfg addStaticCfg;
+
+    /* Delete static configuration that is applicable only to specific remote cores */
+    CpswProxyServer_delStaticCfg delStaticCfg;
 } CpswProxyServer_Config_t;
 
 /*!
diff --git a/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/ethfw_api.c b/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/ethfw_api.c
index d95eb6203..db05dca71 100644
--- a/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/ethfw_api.c
+++ b/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/ethfw/ethremotecfg/server/src/ethfw_api.c
@@ -148,7 +148,7 @@
 #define ETHFW_MAC_ONLY_PORTS_VLAN_ID                  (0U)
 
 /*! VLAN id used for all MAC ports in switch mode (non MAC-only mode) */
-#define ETHFW_SWITCH_PORTS_VLAN_ID                    (3U)
+#define ETHFW_SWITCH_PORTS_VLAN_ID                    (2U)
 
 /*! Max number of CPSW MAC ports supported */
 #if defined(SOC_J721E) || defined(SOC_J784S4)
@@ -228,6 +228,12 @@ typedef struct EthFw_Obj_s
 
     /* Number of remote clients with resource allocation */
     uint32_t numClients;
+
+   /* Add static configuration that is applicable only to specific remote cores */
+   EthFw_addStaticCfg addStaticCfg;
+
+   /* Delete static configuration that is applicable only to specific remote cores */
+   EthFw_delStaticCfg delStaticCfg;
 } EthFw_Obj;
 
 typedef struct EthFw_Autosar_EpId_s
@@ -873,6 +879,10 @@ void EthFw_initConfigParams(Enet_Type enetType,
 
     memset(config, 0, sizeof(*config));
 
+    /* Initialize Static config function pointers */
+    config->addStaticCfg = NULL;
+    config->delStaticCfg = NULL;
+
     /* MAC port ownership */
     config->ports = NULL;
     config->numPorts = 0U;
@@ -979,6 +989,9 @@ EthFw_Handle EthFw_init(Enet_Type enetType,
     EnetAppUtils_assert(udmaCfg->hUdmaDrv != NULL);
 
     memset(&gEthFwObj, 0, sizeof(gEthFwObj));
+    /* Save static config function pointers */
+    gEthFwObj.addStaticCfg = config->addStaticCfg;
+    gEthFwObj.delStaticCfg = config->delStaticCfg;
 
     /* Get the allocated resources for all remote clients */
     gEthFwObj.numClients = config->numAlloc;
@@ -1291,6 +1304,9 @@ int32_t EthFw_initRemoteConfig(EthFw_Handle hEthFw)
 
     cfg.enabledPortMask = gEthFwObj.enabledPortMask;
     cfg.macOnlyPortMask = gEthFwObj.macOnlyPortMask;
+    /* Static configuration callbacks */
+    cfg.addStaticCfg = gEthFwObj.addStaticCfg;
+    cfg.delStaticCfg = gEthFwObj.delStaticCfg;
 
     status = CpswProxyServer_init(&cfg);
     ETHFWTRACE_ERR_IF((status != ETHFW_SOK), status, "Failed to init CPSW Proxy");
@@ -1494,7 +1510,8 @@ static void EthFw_handleProfileInfoNotify(uint32_t hostId,
     /* Nothing to do */
 }
 #ifdef ENABLE_ETH_STATS_DUMP
-static void EthFw_printStatsNonZero(const char *pcString, uint64_t statVal)
+static void EthFw_printStatsNonZero(const char *pcString,
+									uint64_t statVal)
 {
 	if (0U != statVal)
 	{
@@ -1502,7 +1519,9 @@ static void EthFw_printStatsNonZero(const char *pcString, uint64_t statVal)
 	}
 }
 
-static void EthFw_printStatsWithIdxNonZero(const char *pcString, uint32_t idx, uint64_t statVal)
+static void EthFw_printStatsWithIdxNonZero(const char *pcString,
+										   uint32_t idx,
+										   uint64_t statVal)
 {
 	if (0U != statVal)
 	{
@@ -1568,20 +1587,20 @@ static void EthFw_printHostPortStats9G(CpswStats_HostPort_Ng *st)
 
 	for (i = 0U; i < ENET_ARRAYSIZE(st->txPri); i++)
 	{
-		EthFw_printStatsWithIdxNonZero("  txPri[%u]         = %llu\n", i, st->txPri[i]);
+		EthFw_printStatsWithIdxNonZero("  txPri[%u]                = %llu\n", i, st->txPri[i]);
 	}
 
 	for (i = 0U; i < ENET_ARRAYSIZE(st->txPriBcnt); i++)
 	{
-		EthFw_printStatsWithIdxNonZero("  txPriBcnt[%u]     = %llu\n", i, st->txPriBcnt[i]);
+		EthFw_printStatsWithIdxNonZero("  txPriBcnt[%u]            = %llu\n", i, st->txPriBcnt[i]);
 	}
 	for (i = 0U; i < ENET_ARRAYSIZE(st->txPriDrop); i++)
 	{
-		EthFw_printStatsWithIdxNonZero("  txPriDrop[%u]     = %llu\n", i, st->txPriDrop[i]);
+		EthFw_printStatsWithIdxNonZero("  txPriDrop[%u]            = %llu\n", i, st->txPriDrop[i]);
     }
 	for (i = 0U; i < ENET_ARRAYSIZE(st->txPriDropBcnt); i++)
 	{
-		EthFw_printStatsWithIdxNonZero("  txPriDropBcnt[%u] = %llu\n", i, st->txPriDropBcnt[i]);
+		EthFw_printStatsWithIdxNonZero("  txPriDropBcnt[%u]        = %llu\n", i, st->txPriDropBcnt[i]);
 	}
 }
 
But, after adding this change, VLAN ping we are able to see but somehow main interface ping from board and host stopped.

After debugging we found that all packets going to vlan1.

Can you please help us here, what are we missing ?

Note : We are loading the mcu20 firmware from Linux.
Regards,
Kishore
  • Just one more update, 

  • Hi,

    cpsw_proxy_client driver doesn't have support for VLAN.

    From SDK 9.1 on wards VLANs are static configuration at ETHFW. Client want to join VLAN need to add static Entry in ETHFW (gEthApp_vlanCfg) and request to join that VLAN from client.

    We are able to ping to main interface to and from host and board (eth0).

    is it CPSW2G interface? If so, it should not effect because of VLAN addition.

    If eth0 is Switch port interface and eth1 is MAC only interface then it can,  If you refer to 8.1 SDK the callback for addition of static VLANs only when switch port interface is created.

    If you have not created the static entry under switch port then all VLAN packets will go to eth1.

    If you want VLAN packets to switch interface need to add static entry under switch port registration request (i.e. inside if condition shown in below).


    Can you make above change and test once.

    Best Regards,
    Sudheer

  • Hi Sudheer,

    Thanks for your inputs.

    • is it CPSW2G interface? If so, it should not effect because of VLAN addition.

                >> It is CPSW9G.

    • If eth0 is Switch port interface and eth1 is MAC only interface then it can,  If you refer to 8.1 SDK the callback for addition of static VLANs only when switch port interface is created.>> This change is ported in our sdk.

    • Can you make above change and test once.
      >> We added static entry under switch port registration request as per your suggestions.

    But still behaviour is same.

    One more observation, we are observing, below errors in kernel logs.

    [    5.549385] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: started virt port: 0 on interf
    ace eth0
    [    5.594603] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: bad response status: -2
    [    5.603131] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: failed to register IPv4 Addres
    s err: -5
    [    5.613002] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: IPV4 register failed: -5
    [    5.628880] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: bad response status: -2
    [    5.637333] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: failed to register IPv4 Addres
    s err: -5
    [    5.647063] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: IPV4 register failed: -5
    [    5.658169] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: bad response status: -2
    [    5.666529] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: failed to register IPv4 Addres
    s err: -5
    [    5.676323] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: IPV4 register failed: -5
    [    5.687245] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: bad response status: -2
    [    5.695645] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: failed to register IPv4 Addres
    s err: -5
    [    5.705466] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: IPV4 register failed: -5
    [    5.721439] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: bad response status: -2
    [    5.729835] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: failed to register IPv4 Addres
    s err: -5
    [    5.739563] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: IPV4 register failed: -5
    [    5.750480] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: bad response status: -2
    [    5.758935] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: failed to register IPv4 Addres
    s err: -5
    [    5.768755] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: IPV4 register failed: -5
    [    5.784844] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: bad response status: -2
    [    5.793309] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: failed to register IPv4 Addres
    s err: -5
    [    5.803041] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: IPV4 register failed: -5
    [    5.814102] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: bad response status: -2
    [    5.822466] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: failed to register IPv4 Addres
    s err: -5
    [    5.832271] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: IPV4 register failed: -5
    [    5.843202] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: bad response status: -2
    [    5.851680] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: failed to register IPv4 Addres
    s err: -5
    [    5.861481] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: IPV4 register failed: -5
    [    5.877408] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: bad response status: -2
    [    5.885804] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: failed to register IPv4 Addres
    s err: -5
    

    Thanks in advance.

    Regards,

    Kishore

  • Hi,

    But still behaviour is same.

    You mean all VLAN data going to eth1?

    There is a VLAN1 by default used for Host Port. You can't use that VLAN.

    Have you tried with other VLAN value.

    >>[    5.705466] ti_cpsw_proxy_client virtio3.ti.ethfw.ethdevice.-1.107: IPV4 register failed: -5
    Can't add IPV4 for VLAN interface.

    Can you please share ETHFW log for check the debug log.

    Best Regards,
    Sudheer

  • Hi Sudheer,

    Please find the attached ethfw logs.

    root@j721e-evm:~# cat /datafs/log/kk.txt 
    [MCU2_0]      4.115490 s: CIO: Init ... Done !!!
    [MCU2_0]      4.115559 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_0]      4.115596 s: CPU is running FreeRTOS
    [MCU2_0]      4.115618 s: APP: Init ... !!!
    [MCU2_0]      4.115637 s: SCICLIENT: Init ... !!!
    [MCU2_0]      4.115848 s: SCICLIENT: DMSC FW version [21.9.2-v2021.09b (Terrific Llam]
    [MCU2_0]      4.115890 s: SCICLIENT: DMSC FW revision 0x15  
    [MCU2_0]      4.115916 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0]      4.115943 s: SCICLIENT: Init ... Done !!!
    [MCU2_0]      4.115967 s: UDMA: Init ... !!!
    [MCU2_0]      4.116997 s: UDMA: Init ... Done !!!
    [MCU2_0]      4.117057 s: MEM: Init ... !!!
    [MCU2_0]      4.117097 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d9000000 of siz
    e 15728640 bytes !!!
    [MCU2_0]      4.117153 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 3600000 of size 262144
     bytes !!!
    [MCU2_0]      4.117201 s: MEM: Created heap (DDR_CACHE_WT_MEM, id=7, flags=0x00000000) @ d9f00000 of 
    size 1048576 bytes !!!
    [MCU2_0]      4.117248 s: MEM: Init ... Done !!!
    [MCU2_0]      4.117268 s: IPC: Init ... !!!
    [MCU2_0]      4.117331 s: IPC: 5 CPUs participating in IPC !!!
    [MCU2_0]      4.117373 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0]      9.262244 s: IPC: HLOS is ready !!!
    [MCU2_0]      9.265982 s: IPC: Init ... Done !!!
    [MCU2_0]      9.266051 s: APP: Syncing with 4 CPUs ... !!!
    [MCU2_0]      9.292584 s: APP: Syncing with 4 CPUs ... Done !!!
    [MCU2_0]      9.292719 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0]      9.293009 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0]      9.293099 s: ETHFW: Init ... !!!
    [MCU2_0]      9.399436 s: ETHFW: Warning: Using 6 random MAC address(es)
    [MCU2_0]      9.399567 s: ETHFW: Shared multicasts:
    [MCU2_0]      9.399617 s: ETHFW:   01:00:5e:00:00:01
    [MCU2_0]      9.399651 s: ETHFW:   01:00:5e:00:00:fb
    [MCU2_0]      9.399683 s: ETHFW:   01:00:5e:00:00:fc
    [MCU2_0]      9.399712 s: ETHFW:   33:33:00:00:00:01
    [MCU2_0]      9.399739 s: ETHFW:   33:33:ff:1d:92:c2
    [MCU2_0]      9.399769 s: ETHFW:   01:80:c2:00:00:00
    [MCU2_0]      9.399798 s: ETHFW:   01:80:c2:00:00:03
    [MCU2_0]      9.399824 s: ETHFW: Reserved multicasts:
    [MCU2_0]      9.399855 s: ETHFW:   01:80:c2:00:00:0e
    [MCU2_0]      9.399887 s: ETHFW:   01:1b:19:00:00:00
    [MCU2_0]      9.399925 s: ETHFW: CPSW recovery is not enabled
    [MCU2_0]      9.400123 s: EnetMcm: CPSW_9G on MAIN NAVSS
    [MCU2_0]      9.407925 s: Mdio_open: MDIO manual mode enabled
    [MCU2_0]      9.407992 s: 
    [MCU2_0]      9.410624 s: PHY 4 is alive
    [MCU2_0]      9.414054 s: Cpsw_openPortLinkNoPhy: Port 1: Link up: 1-Gbps Full-Duplex
    [MCU2_0]      9.414112 s: 
    [MCU2_0]      9.415082 s: EnetPhy_bindDriver: PHY 4: OUI:080028 Model:28 Ver:04 <-> 'dp83tg720' : OK
    [MCU2_0]      9.415140 s: 
    [MCU2_0]      9.416825 s: ETHFW: 0 VLAN entries added in ALE table
    [MCU2_0]      9.417160 s: 
    [MCU2_0] ETHFW Version   : 0.04.00
    [MCU2_0]      9.417207 s: ETHFW Build Date: Oct 24, 2024
    [MCU2_0]      9.417236 s: ETHFW Build Time: 15:26:43
    [MCU2_0]      9.417259 s: ETHFW Commit SHA: 0bed19a7
    [MCU2_0]      9.417333 s: ETHFW: Init ... DONE !!!
    [MCU2_0]      9.417522 s: unibase-1.1.5-jacinto
    [MCU2_0]      9.418195 s: Starting lwIP, local interface IP is dhcp-enabled
    [MCU2_0]      9.424863 s: ETHFW: Host MAC address: 70:0f:47:35:67:0a
    [MCU2_0]      9.427594 s: ETHFW: ETHFW: Enable gPTP on MAC port 2 (tilld2)
    [MCU2_0]      9.427654 s: ETHFW: ETHFW: Enable gPTP on MAC port 3 (tilld3)
    [MCU2_0]      9.427696 s: ETHFW: ETHFW: Enable gPTP on MAC port 5 (tilld5)
    [MCU2_0]      9.427732 s: ETHFW: ETHFW: Enable gPTP on MAC port 8 (tilld8)
    [MCU2_0]      9.428953 s: [LWIPIF_LWIP] Enet LLD netif initialized successfully
    [MCU2_0]      9.435626 s: [LWIPIF_LWIP_IC] Interface started successfully
    [MCU2_0]      9.435700 s: [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    [MCU2_0]      9.442166 s: [LWIPIF_LWIP_IC] Interface started successfully
    [MCU2_0]      9.442239 s: [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    [MCU2_0]      9.442435 s: Added interface 'br3', IP is 0.0.0.0
    [MCU2_0]      9.552056 s: INF:cbase:tilld2: has mac: 70:0F:47:35:67:0A
    [MCU2_0] INF:cbase:tilld3: has mac: 70:0F:47:35:67:0A
    [MCU2_0] INF:cbase:tilld5: has mac: 70:0F:47:35:67:0A
    [MCU2_0] INF:cbase:tilld8: has mac: 70:0F:47:35:67:0A
    [MCU2_0] INF:cbase:cb_lld_task_create: Uniconf Task stack_size=16384
    [MCU2_0] INF:cbase
    [MCU2_0]      9.552182 s: cb_rawsock_open:combase-1.1.4-jacinto
    [MCU2_0] INF:cbase:cb_rawsock_open:dmaTxChId=-1 numRxChannels=0 dmaRxChId=-1 nTxPkts=0 nRxPkts=0 pktS
    ize=0
    [MCU2_0] INF:cbase:cb_lld_task_create: uniconf_hwal_thread stack_size=16384
    [MCU2_0]      9.563729 s: ETHFW: EthFwTsn_gptpYangConfig:domain=0
    [MCU2_0]      9.655908 s: ETHFW: ETHFW: TimeSync PTP enabled
    [MCU2_0]      9.655955 s: ETHFW: Remove server Init ... !!!
    [MCU2_0]      9.657566 s: ETHFW: Virtual port configuration:
    [MCU2_0]      9.658631 s: ETHFW: CpswProxyServer: initialization completed (core: mcu2_0)
    [MCU2_0]      9.658697 s: ETHFW: Remove server Init ... DONE !!!
    [MCU2_0]      9.684458 s: ETHFW: VIRT_PORT_INFO | C2S | core=0 endpt=1026
    [MCU2_0]      9.684521 s: ETHFW: VIRT_PORT_INFO | S2C | switchPortMask=1 macPortMask=10
    [MCU2_0]      9.685467 s: ETHFW: ATTACH | C2S | core=0 endpt=1026 virtPort=0
    [MCU2_0]      9.687453 s: ETHFW: ATTACH | S2C | token=0 rxMtu=1522 features=9
    [MCU2_0]      9.688467 s: ETHFW: ATTACH | C2S | core=0 endpt=1026 virtPort=4
    [MCU2_0]      9.688536 s: ETHFW: ATTACH | S2C | token=400 rxMtu=1522 features=1
    [MCU2_0]      9.689463 s: ETHFW: ALLOC_RX | C2S | core=0 endpt=1026 token=0
    [MCU2_0]      9.689570 s: ETHFW: ALLOC_RX | S2C | flow=172,0 rxPsil=0x4a00 status=0
    [MCU2_0]      9.690466 s: ETHFW: ALLOC_TX | C2S | core=0 endpt=1026 token=0
    [MCU2_0]      9.690560 s: ETHFW: ALLOC_TX | S2C | txPsil=0xca04 status=0
    [MCU2_0]      9.691463 s: ETHFW: ALLOC_TX | C2S | core=0 endpt=1026 token=0
    [MCU2_0]      9.691555 s: ETHFW: ALLOC_TX | S2C | txPsil=0xca07 status=0
    [MCU2_0]      9.692460 s: ETHFW: ALLOC_MAC | C2S | core=0 endpt=1026 token=0
    [MCU2_0]      9.692558 s: ETHFW: ALLOC_MAC | S2C | macAddr=70:b7:0e:5b:f4:8b status=0
    [MCU2_0]      9.693461 s: ETHFW: ALLOC_RX | C2S | core=0 endpt=1026 token=400
    [MCU2_0]      9.693567 s: ETHFW: ALLOC_RX | S2C | flow=172,1 rxPsil=0x4a00 status=0
    [MCU2_0]      9.694457 s: ETHFW: ALLOC_TX | C2S | core=0 endpt=1026 token=400
    [MCU2_0]      9.694550 s: ETHFW: ALLOC_TX | S2C | txPsil=0xca03 status=0
    [MCU2_0]      9.695463 s: ETHFW: ALLOC_MAC | C2S | core=0 endpt=1026 token=400
    [MCU2_0]      9.695558 s: ETHFW: ALLOC_MAC | S2C | macAddr=70:36:b0:2b:bf:8b status=0
    [MCU2_0]      9.708335 s: FVID2: Init ... !!!
    [MCU2_0]      9.708446 s: FVID2: Init ... Done !!!
    [MCU2_0]      9.708492 s: DSS: Init ... !!!
    [MCU2_0]      9.708518 s: DSS: Display type is eDP !!!
    [MCU2_0]      9.708542 s: DSS: M2M Path is enabled !!!
    [MCU2_0]      9.708565 s: DSS: SoC init ... !!!
    [MCU2_0]      9.708585 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
    [MCU2_0]      9.708758 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.708793 s: SCICLIENT: Sciclient_pmSetModuleState module=297 state=2
    [MCU2_0]      9.708930 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.708960 s: SCICLIENT: Sciclient_pmSetModuleState module=151 state=2
    [MCU2_0]      9.709070 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.709099 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=9 parent=11
    [MCU2_0]      9.709186 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]      9.709218 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=13 parent=18
    [MCU2_0]      9.709406 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]      9.709458 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=1 parent=2
    [MCU2_0]      9.709544 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]      9.709576 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=152 clk=1 freq=148500000
    [MCU2_0]      9.710683 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
    [MCU2_0]      9.710730 s: SCICLIENT: Sciclient_pmModuleClkRequest module=152 clk=1 state=2 flag=0
    [MCU2_0]      9.710858 s: SCICLIENT: Sciclient_pmModuleClkRequest success
    [MCU2_0]      9.710890 s: DSS: SoC init ... Done !!!
    [MCU2_0]      9.710913 s: DSS: Board init ... !!!
    [MCU2_0]      9.710933 s: DSS: Board init ... Done !!!
    [MCU2_0]      9.727058 s: PHY 4: write reg 2100 val 0x8001
    [MCU2_0]      9.727118 s: PHY 4: data 0x8001
    [MCU2_0]      9.727786 s: PHY 4: read reg 2100
    [MCU2_0]      9.729964 s: DSS: Init ... Done !!!
    [MCU2_0]      9.730031 s: VHWA: VPAC Init ... !!!
    [MCU2_0]      9.730058 s: SCICLIENT: Sciclient_pmSetModuleState module=290 state=2
    [MCU2_0]      9.730229 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.730265 s: VHWA: LDC Init ... !!!
    [MCU2_0]      9.733601 s: VHWA: LDC Init ... Done !!!
    [MCU2_0]      9.733666 s: VHWA: MSC Init ... !!!
    [MCU2_0]      9.743606 s: VHWA: MSC Init ... Done !!!
    [MCU2_0]      9.743670 s: VHWA: NF Init ... !!!
    [MCU2_0]      9.745261 s: VHWA: NF Init ... Done !!!
    [MCU2_0]      9.745437 s: VHWA: VISS Init ... !!!
    [MCU2_0]      9.754224 s: PHY 4: BMCR    = 0x0140
    [MCU2_0]      9.754559 s: PHY 4: BMSR    = 0x0141
    [MCU2_0]      9.754743 s: PHY 4: PHYIDR1 = 0x2000
    [MCU2_0]      9.754913 s: PHY 4: PHYIDR2 = 0xa284
    [MCU2_0]      9.755109 s: VHWA: VISS Init ... Done !!!
    [MCU2_0]      9.755148 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0]      9.755186 s:  VX_ZONE_INIT:Enabled
    [MCU2_0]      9.755213 s:  VX_ZONE_ERROR:Enabled
    [MCU2_0]      9.755235 s:  VX_ZONE_WARNING:Enabled
    [MCU2_0]      9.757055 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MCU2-0 
    [MCU2_0]      9.757248 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target VPAC_NF 
    [MCU2_0]      9.757627 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target VPAC_LDC1 
    [MCU2_0]      9.757818 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target VPAC_MSC1 
    [MCU2_0]      9.757991 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target VPAC_MSC2 
    [MCU2_0]      9.758225 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target VPAC_VISS1 
    [MCU2_0]      9.758588 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE1 
    [MCU2_0]      9.758807 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE2 
    [MCU2_0]      9.759007 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE3 
    [MCU2_0]      9.759210 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE4 
    [MCU2_0]      9.759568 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE5 
    [MCU2_0]      9.759795 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE6 
    [MCU2_0]      9.760015 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE7 
    [MCU2_0]      9.760211 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE8 
    [MCU2_0]      9.760563 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DISPLAY1 
    [MCU2_0]      9.760792 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DISPLAY2 
    [MCU2_0]      9.760966 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CSITX 
    [MCU2_0]      9.761145 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSS_M2M1 
    [MCU2_0]      9.761503 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSS_M2M2 
    [MCU2_0]      9.761719 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSS_M2M3 
    [MCU2_0]      9.761905 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSS_M2M4 
    [MCU2_0]      9.761953 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
    [MCU2_0]      9.761985 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0]      9.778443 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0]      9.778512 s: CSI2RX: Init ... !!!
    [MCU2_0]      9.778537 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0]      9.778637 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.778672 s: SCICLIENT: Sciclient_pmSetModuleState module=26 state=2
    [MCU2_0]      9.778792 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.778822 s: SCICLIENT: Sciclient_pmSetModuleState module=27 state=2
    [MCU2_0]      9.778930 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.778957 s: SCICLIENT: Sciclient_pmSetModuleState module=147 state=2
    [MCU2_0]      9.779032 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.779060 s: SCICLIENT: Sciclient_pmSetModuleState module=148 state=2
    [MCU2_0]      9.779134 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.779498 s: CSI2RX: Init ... Done !!!
    [MCU2_0]      9.779546 s: CSI2TX: Init ... !!!
    [MCU2_0]      9.779570 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0]      9.779651 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.779683 s: SCICLIENT: Sciclient_pmSetModuleState module=28 state=2
    [MCU2_0]      9.779813 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.779851 s: SCICLIENT: Sciclient_pmSetModuleState module=296 state=2
    [MCU2_0]      9.779947 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      9.780047 s: CSI2TX: Init ... Done !!!
    [MCU2_0]      9.780079 s: ISS: Init ... !!!
    [MCU2_0]      9.780107 s: Found sensor IMX390-GMSL_LUCID at location 0 
    [MCU2_0]      9.780142 s: IssSensor_Init ... Done !!!
    [MCU2_0]      9.780224 s: IttRemoteServer_Init ... Done !!!
    [MCU2_0]      9.780254 s: ISS: Init ... Done !!!
    [MCU2_0]      9.780412 s: VISS REMOTE SERVICE: Init ... !!!
    [MCU2_0]      9.780523 s: VISS REMOTE SERVICE: Init ... Done !!!
    [MCU2_0]      9.780563 s: UDMA Copy: Init ... !!!
    [MCU2_0]      9.782141 s: UDMA Copy: Init ... Done !!!
    [MCU2_0]      9.782207 s: APP: Init ... Done !!!
    [MCU2_0]      9.782238 s: APP: Run ... !!!
    [MCU2_0]      9.782260 s: IPC: Starting echo test ...
    [MCU2_0]      9.782632 s: APP: Run ... Done !!!
    [MCU2_0]      9.782846 s: PHY 4: ANAR    = 0x0000
    [MCU2_0]      9.783034 s: PHY 4: ANLPAR  = 0x0000
    [MCU2_0]      9.783200 s: PHY 4: ANER    = 0x0000
    [MCU2_0]      9.783514 s: PHY 4: ANNPTR  = 0x0000
    [MCU2_0]      9.783694 s: PHY 4: ANNPRR  = 0x0000
    [MCU2_0]      9.783860 s: PHY 4: CR1     = 0x0000
    [MCU2_0]      9.784021 s: PHY 4: STS1    = 0x0000
    [MCU2_0]      9.784181 s: PHY 4: 1KSCR   = 0x0000
    [MCU2_0]      9.784455 s: PHY 4: PHYCR   = 0x0404
    [MCU2_0]      9.785630 s: PHY 4: Read back 0x467, val is 0x6004
    [MCU2_0]      9.786808 s: PHY 4: Read back 0x46A, val is 0xa6
    [MCU2_0]      9.787970 s: PHY 4: Read back 0x46A, val is 0xa2
    [MCU2_0]      9.789140 s: PHY 4: Read back 0x468, val is 0x4920
    [MCU2_0]      9.789803 s: PHY 4: Temp RAW val = 0x4f00
    [MCU2_0]      9.789850 s: -------------------------------------------------------
    [MCU2_0]      9.789910 s: PHY 4: Ethernet PHY Temperature   = 20.500000 degC
    [MCU2_0]      9.789953 s: -------------------------------------------------------
    [MCU2_0]      9.810590 s: EnetPhy_enableState: PHY 4: falling back to manual mode
    [MCU2_0]      9.810642 s: 
    [MCU2_0]      9.810685 s: EnetPhy_enableState: PHY 4: new link caps: FD1000 
    [MCU2_0]      9.810719 s: 
    [MCU2_0]      9.812243 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] C66X_1[P] C66X_2[.] C7X_1[.] 
    [MCU2_0]      9.812482 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] C66X_1[P] C66X_2[P] C7X_1[.] 
    [MCU2_0]      9.812556 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] C66X_1[P] C66X_2[P] C7X_1[P] 
    [MCU2_0]      9.833512 s: EnetMod_ioctl: cpsw9g.macport3: Module is not open
    [MCU2_0]      9.833593 s: : -3
    [MCU2_0]      9.837039 s: ETHFW: EthFwTsn_gptpTask: gptpman_run() failed: -1
    [MCU2_0]      9.837235 s: INF:cbase:cb_lld_task_create: gPTP Task stack_size=16384
    [MCU2_0] INF:cbase:cbl_query_response:tilld2 link DOWN !!!!
    [MCU2_0] INF:cbase:cbl_query_response:tilld3 link DOWN !!!!
    [MCU2_0] INF:cbase:cbl_query_response:tilld5 link DOWN !!!!
    [MCU2_0] INF:cbase:cbl_query_response:tilld8 lin
    [MCU2_0]      9.837540 s:  DOWN !!!!
    [MCU2_0] INF:gptp:gptpman_run:max_domains=1, max_ports=4
    [MCU2_0] INF:cbase:cb_rawsock_open:combase-1.1.4-jacinto
    [MCU2_0] INF:cbase:cb_rawsock_open:dmaTxChId=-1 numRxChannels=0 dmaRxChId=-1 nTxPkts=0 nRxPkts=0 pktS
    ize=0
    [MCU2_0] INF:cbase:DmaOpen: TxChNum -1
    [MCU2_0] INF:cbase:DmaO
    [MCU2_0]      9.837672 s: en: Rx startIdx 172 flowId 6
    [MCU2_0] INF:cbase:LLDEnetFilter:destmac:01:80:C2:00:00:0E, vlanId:0, ethType:0x88f7
    [MCU2_0] INF:gptp:dev:tilld2 open success
    [MCU2_0] INF:gptp:dev:tilld3 open success
    [MCU2_0] INF:gptp:dev:tilld5 open success
    [MCU2_0] INF:gptp:dev:tilld8 open success
    [MCU2_0] ERR:cbase:En
    [MCU2_0]      9.837781 s: t_ioctl ENABLE_CPTS_EVENT failed -3 port 2
    [MCU2_0] ERR:gptp:gptpnet_init:failed to enable tsevent!
    [MCU2_0] INF:cbase:LLDEnetDeFilter:destmac:01:80:C2:00:00:0E, vlanId:0, ethType:0x88f7
    [MCU2_0] INF:cbase:DmaClose: Rx startIdx 172 flowId 6
    [MCU2_0] INF:cbase:DmaClose: TxChNum -1
    [MCU2_0] INF:
    [MCU2_0]      9.837871 s: base:task_fxn:task (gPTP Task) terminated.
    [MCU2_0]      9.883514 s: ETHFW: REGISTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=70:b7:0e:5b:f4
    :8b flowIdx=172,0
    [MCU2_0]      9.893414 s: Cpsw_ioctlInternal: Registered MAC address (ALE entry=18, policer entry=12)
    [MCU2_0]      9.893475 s: 
    [MCU2_0]      9.893515 s: ETHFW: REGISTER_MAC | S2C | status=0
    [MCU2_0]      9.903447 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=33:33:00:00:
    00:01 vlanId=65535 flowIdx=172,0
    [MCU2_0]      9.906631 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]      9.906804 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=01:80:c2:00:
    00:21 vlanId=65535 flowIdx=172,0
    [MCU2_0]      9.911652 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]      9.911830 s: ETHFW: REGISTER_IPv4 | C2S | core=0 endpt=1026 token=0 ipAddr=192.168.0.16 
    macAdd=70:b7:0e:5b:f4:8b
    [MCU2_0]      9.911910 s: ETHFW: 
    [MCU2_0]  SNo.      MAC Address        VLAN     IP Address
    [MCU2_0]      9.911954 s: ETHFW: ------  -------------------  ------  -----------------
    [MCU2_0]      9.912009 s: ETHFW:     1    70:b7:0e:5b:f4:8b       0    192.168.0.16
    [MCU2_0]      9.912053 s: ETHFW: REGISTER_IPv4 | S2C | status=0
    [MCU2_0]      9.912187 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=01:00:5e:00:
    00:01 vlanId=65535 flowIdx=172,0
    [MCU2_0]      9.915737 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]      9.915936 s: ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1026 token=0 macAdd=33:33:ff:5b:
    f4:8b vlanId=65535 flowIdx=172,0
    [MCU2_0]      9.920867 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]      9.938647 s: ETHFW: EthFwArp_addAddr: mcast IP address cannot be added: -3
    [C6x_1 ]      8.682241 s: CIO: Init ... Done !!!
    [C6x_1 ]      8.682267 s: ### CPU Frequency = 1350000000 Hz
    [C6x_1 ]      8.682277 s: CPU is running FreeRTOS
    [C6x_1 ]      8.682285 s: APP: Init ... !!!
    [C6x_1 ]      8.682293 s: SCICLIENT: Init ... !!!
    [C6x_1 ]      8.682475 s: SCICLIENT: DMSC FW version [21.9.2-v2021.09b (Terrific Llam]
    [C6x_1 ]      8.682487 s: SCICLIENT: DMSC FW revision 0x15  
    [C6x_1 ]      8.682497 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C6x_1 ]      8.682507 s: SCICLIENT: Init ... Done !!!
    [C6x_1 ]      8.682516 s: UDMA: Init ... !!!
    [C6x_1 ]      8.683803 s: UDMA: Init ... Done !!!
    [C6x_1 ]      8.683825 s: MEM: Init ... !!!
    [C6x_1 ]      8.683837 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ dc000000 of siz
    e 16777216 bytes !!!
    [C6x_1 ]      8.683855 s: MEM: Init ... Done !!!
    [C6x_1 ]      8.683864 s: IPC: Init ... !!!
    [C6x_1 ]      8.683885 s: IPC: 5 CPUs participating in IPC !!!
    [C6x_1 ]      8.683899 s: IPC: Waiting for HLOS to be ready ... !!!
    [C6x_1 ]      9.233596 s: IPC: HLOS is ready !!!
    [C6x_1 ]      9.236909 s: IPC: Init ... Done !!!
    [C6x_1 ]      9.236938 s: APP: Syncing with 4 CPUs ... !!!
    [C6x_1 ]      9.292583 s: APP: Syncing with 4 CPUs ... Done !!!
    [C6x_1 ]      9.292599 s: REMOTE_SERVICE: Init ... !!!
    [C6x_1 ]      9.292955 s: REMOTE_SERVICE: Init ... Done !!!
    [C6x_1 ]      9.292992 s:  VX_ZONE_INIT:Enabled
    [C6x_1 ]      9.293003 s:  VX_ZONE_ERROR:Enabled
    [C6x_1 ]      9.293013 s:  VX_ZONE_WARNING:Enabled
    [C6x_1 ]      9.293863 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
    [C6x_1 ]      9.293882 s: APP: OpenVX Target kernel init ... !!!
    [C6x_1 ]      9.294239 s: APP: OpenVX Target kernel init ... Done !!!
    [C6x_1 ]      9.294265 s: UDMA Copy: Init ... !!!
    [C6x_1 ]      9.296493 s: UDMA Copy: Init ... Done !!!
    [C6x_1 ]      9.296515 s: APP: Init ... Done !!!
    [C6x_1 ]      9.296524 s: APP: Run ... !!!
    [C6x_1 ]      9.296533 s: IPC: Starting echo test ...
    [C6x_1 ]      9.297024 s: APP: Run ... Done !!!
    [C6x_1 ]      9.297382 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] C66X_1[s] C66X_2[P] C7X_1[.] 
    [C6x_1 ]      9.297415 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] C66X_1[s] C66X_2[P] C7X_1[P] 
    [C6x_1 ]      9.811942 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] C66X_1[s] C66X_2[P] C7X_1[P] 
    [C6x_2 ]      8.820555 s: CIO: Init ... Done !!!
    [C6x_2 ]      8.820582 s: ### CPU Frequency = 1350000000 Hz
    [C6x_2 ]      8.820593 s: CPU is running FreeRTOS
    [C6x_2 ]      8.820601 s: APP: Init ... !!!
    [C6x_2 ]      8.820609 s: SCICLIENT: Init ... !!!
    [C6x_2 ]      8.820794 s: SCICLIENT: DMSC FW version [21.9.2-v2021.09b (Terrific Llam]
    [C6x_2 ]      8.820807 s: SCICLIENT: DMSC FW revision 0x15  
    [C6x_2 ]      8.820816 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C6x_2 ]      8.820827 s: SCICLIENT: Init ... Done !!!
    [C6x_2 ]      8.820836 s: UDMA: Init ... !!!
    [C6x_2 ]      8.822108 s: UDMA: Init ... Done !!!
    [C6x_2 ]      8.822131 s: MEM: Init ... !!!
    [C6x_2 ]      8.822143 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ e0000000 of siz
    e 16777216 bytes !!!
    [C6x_2 ]      8.822160 s: MEM: Init ... Done !!!
    [C6x_2 ]      8.822169 s: IPC: Init ... !!!
    [C6x_2 ]      8.822190 s: IPC: 5 CPUs participating in IPC !!!
    [C6x_2 ]      8.822205 s: IPC: Waiting for HLOS to be ready ... !!!
    [C6x_2 ]      9.256358 s: IPC: HLOS is ready !!!
    [C6x_2 ]      9.259532 s: IPC: Init ... Done !!!
    [C6x_2 ]      9.259559 s: APP: Syncing with 4 CPUs ... !!!
    [C6x_2 ]      9.292583 s: APP: Syncing with 4 CPUs ... Done !!!
    [C6x_2 ]      9.292599 s: REMOTE_SERVICE: Init ... !!!
    [C6x_2 ]      9.292958 s: REMOTE_SERVICE: Init ... Done !!!
    [C6x_2 ]      9.292995 s:  VX_ZONE_INIT:Enabled
    [C6x_2 ]      9.293007 s:  VX_ZONE_ERROR:Enabled
    [C6x_2 ]      9.293016 s:  VX_ZONE_WARNING:Enabled
    [C6x_2 ]      9.293867 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
    [C6x_2 ]      9.293885 s: APP: OpenVX Target kernel init ... !!!
    [C6x_2 ]      9.294236 s: APP: OpenVX Target kernel init ... Done !!!
    [C6x_2 ]      9.294262 s: UDMA Copy: Init ... !!!
    [C6x_2 ]      9.296371 s: UDMA Copy: Init ... Done !!!
    [C6x_2 ]      9.296393 s: APP: Init ... Done !!!
    [C6x_2 ]      9.296401 s: APP: Run ... !!!
    [C6x_2 ]      9.296410 s: IPC: Starting echo test ...
    [C6x_2 ]      9.296830 s: APP: Run ... Done !!!
    [C6x_2 ]      9.297133 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] C66X_1[x] C66X_2[s] C7X_1[P] 
    [C6x_2 ]      9.297366 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] C66X_1[P] C66X_2[s] C7X_1[P] 
    [C6x_2 ]      9.811970 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] C66X_1[P] C66X_2[s] C7X_1[P] 
    [C7x_1 ]      9.133955 s: CIO: Init ... Done !!!
    [C7x_1 ]      9.133968 s: ### CPU Frequency = 1000000000 Hz
    [C7x_1 ]      9.133979 s: CPU is running FreeRTOS
    [C7x_1 ]      9.133988 s: APP: Init ... !!!
    [C7x_1 ]      9.133995 s: SCICLIENT: Init ... !!!
    [C7x_1 ]      9.134177 s: SCICLIENT: DMSC FW version [21.9.2-v2021.09b (Terrific Llam]
    [C7x_1 ]      9.134191 s: SCICLIENT: DMSC FW revision 0x15  
    [C7x_1 ]      9.134201 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C7x_1 ]      9.134212 s: SCICLIENT: Init ... Done !!!
    [C7x_1 ]      9.134221 s: UDMA: Init ... !!!
    [C7x_1 ]      9.135195 s: UDMA: Init ... Done !!!
    [C7x_1 ]      9.135208 s: MEM: Init ... !!!
    [C7x_1 ]      9.135219 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 117000000 of si
    ze 268435456 bytes !!!
    [C7x_1 ]      9.135242 s: MEM: Init ... Done !!!
    [C7x_1 ]      9.135250 s: IPC: Init ... !!!
    [C7x_1 ]      9.135264 s: IPC: 5 CPUs participating in IPC !!!
    [C7x_1 ]      9.135278 s: IPC: Waiting for HLOS to be ready ... !!!
    [C7x_1 ]      root@j721e-evm:~# 
    

    We followed the below steps : 
    First - captured output of ifconfig -a on the target. Captured output of netstat -rn on the target. After that executed the ping. At the same time captured tcpdump output on the host.

    root@j721e-evm:~# ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.0.16  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:7 errors:0 dropped:0 overruns:0 frame:0
              TX packets:159 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:504 (504.0 B)  TX bytes:13006 (12.7 KiB)
    
    eth1      Link encap:Ethernet  HWaddr 70:B4:01:7A:E4:87  
              BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:2 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:224 (224.0 B)  TX bytes:224 (224.0 B)
    
    mcu_mcan0 Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
              NOARP  MTU:16  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:116 
    
    vlan1     Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.1.16  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1490  Metric:1
              RX packets:7 errors:0 dropped:0 overruns:0 frame:0
              TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:378 (378.0 B)  TX bytes:1076 (1.0 KiB)
    
    vlan100   Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.100.16  Bcast:192.168.100.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:976 (976.0 B)
    
    vlan11    Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.11.16  Bcast:192.168.11.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:976 (976.0 B)
    
    vlan44    Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.44.16  Bcast:192.168.44.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:976 (976.0 B)
    
    vlan50    Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.50.16  Bcast:192.168.50.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:976 (976.0 B)
    
    vlan69    Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.69.16  Bcast:192.168.69.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:976 (976.0 B)
    
    vlan76    Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.76.16  Bcast:192.168.76.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:976 (976.0 B)
    
    vlan77    Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.77.16  Bcast:192.168.77.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:976 (976.0 B)
    
    vlan78    Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.78.16  Bcast:192.168.78.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:976 (976.0 B)
    
    vlan79    Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.79.16  Bcast:192.168.79.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:976 (976.0 B)
    
    vlan80    Link encap:Ethernet  HWaddr 70:B9:E1:05:AC:95  
              inet addr:192.168.80.16  Bcast:192.168.80.255  Mask:255.255.255.0
              inet6 addr: fe80::72b9:e1ff:fe05:ac95/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:976 (976.0 B)
    
    INIT: Id "S0" respawning too fast: disabled for 5 minutes
    
    root@j721e-evm:~# 
    root@j721e-evm:~# netstat -rn
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
    192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 vlan1
    192.168.11.0    0.0.0.0         255.255.255.0   U         0 0          0 vlan11
    192.168.44.0    0.0.0.0         255.255.255.0   U         0 0          0 vlan44
    192.168.50.0    0.0.0.0         255.255.255.0   U         0 0          0 vlan50
    192.168.69.0    0.0.0.0         255.255.255.0   U         0 0          0 vlan69
    192.168.76.0    0.0.0.0         255.255.255.0   U         0 0          0 vlan76
    192.168.77.0    0.0.0.0         255.255.255.0   U         0 0          0 vlan77
    192.168.78.0    0.0.0.0         255.255.255.0   U         0 0          0 vlan78
    192.168.79.0    0.0.0.0         255.255.255.0   U         0 0          0 vlan79
    192.168.80.0    0.0.0.0         255.255.255.0   U         0 0          0 vlan80
    192.168.100.0   0.0.0.0         255.255.255.0   U         0 0          0 vlan100
    root@j721e-evm:~# ping 192.168.0.3
    PING 192.168.0.3 (192.168.0.3): 56 data bytes
    

    Regards,

    Kishore

  • Hi,

    From ETHFW log & tcpdump data it seems ARP request for Multicast Mac/Multicast IP

    f4:8b vlanId=65535 flowIdx=172,0
    [MCU2_0]      9.920867 s: ETHFW: ADD_FILTER_MAC | S2C | status=0
    [MCU2_0]      9.938647 s: ETHFW: EthFwArp_addAddr: mcast IP address cannot be added: -3

    ETHFW can't support Multicast MAC IPv4 assignment & even Multicast IPv4 registration.


    You can do one thing, Disable PROXY ARP and eable Inter-core Virtual Ethernet communication. It allows clients to receive the Broadcast MAC address.
    So, client it self response to ARP request.

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/ethfw/docs/user_guide/ethfw_c_ug_top.html#ethfw_intercore_eth

    By referring below, create TAP interface on Linux. via TAP Linux will receive Broadcast packets.
    https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/ethfw/docs/user_guide/demo_ethfw_combined_top.html#ethfw_intercore_communication


    Best Regards,
    Sudheer