Hi experts,
I find that ti-processor-sdk-rtos-j721e-evm-07_01_00_11/vision_apps/utils/ethfw/src/app_ethfw.c doesn't "Start Configuration server".
So i add the code here:
302 void EthApp_ipAddrHookFxn(uint32_t IPAddr,
303 uint32_t IfIdx,
304 uint32_t fAdd)
305 {
306 volatile uint32_t ipAddrHex = 0U;
307
308 /* Use default/generic hook function */
309 EthFwCallbacks_ipAddrHookFxn(IPAddr, IfIdx, fAdd);
310
311 /* Save host port IP address */
312 ipAddrHex = ntohl(IPAddr);
313 memcpy(&gEthAppObj.hostIpAddr[0U],
314 (uint8_t *)&ipAddrHex,
315 ENET_IPv4_ADDR_LEN);
316
317 EthFw_initTimeSyncPtp(ipAddrHex,
318 &gEthAppObj.hostMacAddr[0U],
319 ENET_BIT(ENET_MACPORT_NORM(gEthAppPorts[1].portNum)));
320 int32_t status;
321 /* Start Configuration server */
322 status = EnetCfgServer_init(gEthAppObj.enetType);
323 EnetAppUtils_assert(ENET_SOK == status);
When i try to start ETH GUI tool by "sudo python3 ./switchconfig_client.py", i get the following error log:
"Error in creating socket"
Could you please help me to enable "Configuration server" under Vision Apps?
Thanks,
Hutian