EthFw: gPTP synch is not achieved post reset recovery

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Ethernet Switch Firmware
    • ETHFW-3068
    • ETHFW_11_00_00
    • ETHFW_11_01_00
    • Hide
      j721e-evm
      j7200-evm
      j784s4-evm
      Show
      j721e-evm j7200-evm j784s4-evm

      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.

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-5502 - EthFw: gPTP synch is not achieved p...
                SYNCHRONIZED
                • Last Sync Date: