Tool/software:
Dear TI Support team,
We are trying to analyze the behavior of Ethernet Switch Firmware in J721E Demo board. For that, we are trying to configure the switch firmware using switchconfig_client.py tool.
But we could not able to connect with MCU2_0 (Ethernet switch firmware) using the IP / UART. Can you please guide us how to configure Ethernet Switch firmware?
I got the following logs in terminal while doing this activity. It will be good if you can help us by mentioning which IP needs to be used to connect from switchconfig_client.py tool.
We are using Quad Port Ethernet board for connecting SGMII interface & available ports are MAC port 2,5,6,7.
=======================================================
CPSW Ethernet Firmware
=======================================================
ETHFW: Warning: Using 6 random MAC address(es)
EnetMcm: CPSW_9G on MAIN NAVSS
Mdio_open: MDIO manual mode enabled
PHY 16 is alive
PHY 17 is alive
PHY 18 is alive
PHY 19 is alive
EnetPhy_bindDriver: PHY 16: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
EnetPhy_bindDriver: PHY 17: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
EnetPhy_bindDriver: PHY 18: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
EnetPhy_bindDriver: PHY 19: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
ETHFW: Shared multicasts:
ETHFW: 01:00:5e:00:00:01
ETHFW: 01:00:5e:00:00:fb
ETHFW: 01:00:5e:00:00:fc
ETHFW: 33:33:00:00:00:01
ETHFW: 33:33:ff:1d:92:c2
ETHFW: 01:80:c2:00:00:00
ETHFW: 01:80:c2:00:00:03
ETHFW: Reserved multicasts:
ETHFW: 01:80:c2:00:00:0e
ETHFW: 01:1b:19:00:00:00
ETHFW: VLAN 1024 member=0x1ed virtMember=0x7 regMcastFlood=0x1ed unregMcastFlood=0x1ed untag=0x0
ETHFW: 1 VLAN entries added in ALE table
ETHFW Version : 0.05.00
unibase-1.1.5-jacinto
ETHFW Build Date: Dec 12, 2024
ETHFW Build Time: 10:41:48
ETHFW Commit SHA:
Starting lwIP, local interface IP is dhcp-enabled
ETHFW: Virtual port configuration:
ETHFW: Host MAC address: 70:1f:87:25:95:57
[LWIPIF_LWIP] Enet LLD netif initialized successfully
[LWIPIF_LWIP_IC] Interface started successfully
[LWIPIF_LWIP_IC] NETIF INIT SUCCESS
[LWIPIF_LWIP_IC] Interface started successfully
[LWIPIF_LWIP_IC] NETIF INIT SUCCESS
Added interface 'br3', IP is 0.0.0.0
ETHFW: Enable gPTP on MAC port 2 (tilld2)
ETHFW: Enable gPTP on MAC port 3 (tilld3)
ETHFW: Enable gPTP on MAC port 5 (tilld5)
ETHFW: Enable gPTP on MAC port 8 (tilld8)
ETHFW: EthFwTsn_gptpYangConfig:domain=0
ETHFW: TimeSync PTP enabled
ETHFW: CpswProxyServer: initialization completed (core: mcu2_0)
INF:ubase:GPTP_MEDIUM_ALLOC: fragsize=16 fragused/fragnum=1294/1426 (90
INF:ubase:GPTP_SMALL_ALLOC: fragsize=4 fragused/fragnum=31/97 (31
INF:ubase:SM_DATA_INST: fragsize=8 fragused/fragnum=3806/3806 (100
CpswMacPort_checkSgmiiStatus: MAC 5: SGMII link parter config port: link up: 1-Gbps Full-Duplex
Cpsw_handleLinkUp: Port 5: Link up: 1-Gbps Full-Duplex
CpswMacPort_checkSgmiiStatus: MAC 2: SGMII link parter config port: link up: 1-Gbps Full-Duplex
Cpsw_handleLinkUp: Port 2: Link up: 1-Gbps Full-Duplex
Added interface 'br3', IP is 192.168.10.98
ETHFW: Announce Endpoint Service to HLOS
ETHFW: VIRT_PORT_INFO | C2S | core=0 endpt=1024
REMOTE_SERVICE: Init ... !!!
ETHFW: VIRT_PORT_INFO | S2C | switchPortMask=1 macPortMask=10
ETHFW: ATTACH | C2S | core=0 endpt=1024 virtPort=0
REMOTE_SERVICE: Init ... Done !!!
ETHFW: ATTACH | S2C | token=0 rxMtu=1522 features=3
ETHFW: ATTACH | C2S | core=0 endpt=1024 virtPort=4
ETHFW: ATTACH | S2C | token=400 rxMtu=1522 features=1
ETHFW: ALLOC_RX | C2S | core=0 endpt=1024 token=0
ETHFW: ALLOC_RX | S2C | flow=172,0 rxPsil=0x4a00 status=0
ETHFW: ALLOC_TX | C2S | core=0 endpt=1024 token=0
ETHFW: ALLOC_TX | S2C | txPsil=0xca04 status=0
ETHFW: ALLOC_TX | C2S | core=0 endpt=1024 token=0
Cpsw_handleLinkDown: Port 5: Link down
ETHFW: ALLOC_TX | S2C | txPsil=0xca07 status=0
ETHFW: ALLOC_MAC | C2S | core=0 endpt=1024 token=0
ETHFW: ALLOC_MAC | S2C | macAddr=70:3e:38:2f:0a:0b status=0
ETHFW: ALLOC_RX | C2S | core=0 endpt=1024 token=400
ETHFW: ALLOC_RX | S2C | flow=172,1 rxPsil=0x4a00 status=0
ETHFW: ALLOC_TX | C2S | core=0 endpt=1024 token=400
ETHFW: ALLOC_TX | S2C | txPsil=0xca03 status=0
ETHFW: ALLOC_MAC | C2S | core=0 endpt=1024 token=400
ETHFW: ALLOC_MAC | S2C | macAddr=70:c6:a7:fe:16:e8 status=0
ETHFW: REGISTER_MAC | C2S | core=0 endpt=1024 token=0 macAdd=70:3e:38:2f:0a:0b flowIdx=172,0
Cpsw_ioctlInternal: Registered MAC address (ALE entry=9, policer entry=2)
ETHFW: REGISTER_MAC | S2C | status=0
ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1024 token=0 macAdd=33:33:00:00:00:01 vlanId=65535 flowIdx=172,0
ETHFW: ADD_FILTER_MAC | S2C | status=0
ETHFW: REGISTER_MAC | C2S | core=0 endpt=1024 token=400 macAdd=70:c6:a7:fe:16:e8 flowIdx=172,1
ETHFW: REGISTER_MAC | S2C | status=0
ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1024 token=0 macAdd=01:00:5e:00:00:01 vlanId=65535 flowIdx=172,0
ETHFW: ADD_FILTER_MAC | S2C | status=0
ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1024 token=0 macAdd=33:33:ff:2f:0a:0b vlanId=65535 flowIdx=172,0
ETHFW: ADD_FILTER_MAC | S2C | status=0
ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1024 token=0 macAdd=01:80:c2:00:00:00 vlanId=65535 flowIdx=172,0
ETHFW: ADD_FILTER_MAC | S2C | status=0
ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1024 token=0 macAdd=01:80:c2:00:00:03 vlanId=65535 flowIdx=172,0
ETHFW: ADD_FILTER_MAC | S2C | status=0
ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1024 token=0 macAdd=01:80:c2:00:00:0e vlanId=65535 flowIdx=172,0
ETHFW: EthFwMcast_filterAddMac: Failed to add reserved mcast addr on vlan 0 and hwVlanId 3 01:80:c2:00:00:0e: -2
ETHFW: CpswProxyServer_filterAddMacHandlerCb: Failed to add multicast: -2
ETHFW: CpswProxyServer_clientRequestHandler: Failed to add mcast to filter: -2
ETHFW: ADD_FILTER_MAC | S2C | status=-2
ETHFW: REGISTER_IPv4 | C2S | core=0 endpt=1024 token=0 ipAddr=192.168.10.99 macAdd=70:3e:38:2f:0a:0b
ETHFW:
SNo. MAC Address VLAN IP Address
ETHFW: ------ ------------------- ------ -----------------
ETHFW: 1 70:3e:38:2f:0a:0b 0 192.168.10.99
ETHFW: REGISTER_IPv4 | S2C | status=0
ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1024 token=0 macAdd=01:00:5e:00:00:fb vlanId=65535 flowIdx=172,0
ETHFW: ADD_FILTER_MAC | S2C | status=0
ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1024 token=0 macAdd=33:33:00:00:00:fb vlanId=65535 flowIdx=172,0
ETHFW: ADD_FILTER_MAC | S2C | status=0
Regards,
Dinesh