-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Ethernet Switch Firmware
-
ETHFW-3068
-
ETHFW_11_00_00
-
ETHFW_11_01_00
-
gPTP synchronization is failing after reset recovery. To reproduce the bug, there are 2 methods:
Method 1:
Enable reset recovery and make sure to call the 'EthFwMon_resetHandler' function in the 'ethfw/ethremotecfg/server/src/ethfw_monitor.c' file. This will trigger reset recovery for EthFw. gPTP synch before the reset recovery will work but fails after recovery.
Method 2:
Another method to trigger reset recovery is the following:
1. Initialize the gPTP stack.
2. Wait for linkup.
3. Wait for gPTP synchronization.
4. Stop gPTP stack by calling TSN Combase's cb_lld_task_destroy() function.
5. Start gPTP stack by calling EthApp_initPtp defined in ethfw/apps/app_remoteswitchcfg_server/main.c
6. Wait for gPTP synchronization.
Step 3 successfully achieves gPTP synchronization but step 6 fails.
IMPACT:
Normal gPTP stack operations have no impact. When gPTP stack is stopped and restarted again as part of CPSW reset recovery mechanism, only then the gPTP stack does not achieve synchronization post recovery. Hence this is only impacting CPSW reset recovery feature.