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.

AM6442: gPTP support using PSDK Linux

Part Number: AM6442
Other Parts Discussed in Thread: TMDS64EVM

Does PSDK Linux 11.02.08.02 support gPTP?

https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/11_02_08_02/exports/docs/linux/Foundational_Components/PRU-ICSS/Linux_Drivers/PRU_ICSSG_Ethernet_Switch.html#ptp

In another thread, it was pointed out that the current SDK may not support PTP.

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1625041/sk-am64b-pru-icssg-ethernet-support-using-psdk-linux/6266010
"I cannot remember if PTP is currently supported, or still in development for a later SDK release."

Our customer wants to use gPTP with HSR and PRP on TMDS64EVM. gPTP works fine with standard Ethernet, but gPTP does not work after running the HSR/PRP offload.

https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/11_02_08_02/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_Offload.html

https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/11_02_08_02/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/PRP_Offload.html

Best regards,

Daisuke

 

  • Hi,

    Thank you for your support. Our customer is waiting for your reply.

    Please give me an answer as soon as possible. Your prompt reply would be appreciated.

    Best regards,

    Daisuke

  • 12.0 SDK will support HSR offload + PTP (IEC61588 as mentioned in IEC62439 spec). There won't be any OOB (out of the box) support for 802.1AS (gPTP) but we believe that if customer has got gPTP stack then they can use HSR/PRP firmware to do this porting.  

  • Hi Pratheesh-san,

    Thank you for your reply.

    I am confused. Could you clearly clarify which version of the SDK supports what, or does not support what? Is the following understanding correct?

    For the current SDK 11.02.08.02:
     HSR Offload is supported.
     PRP Offload is supported.
     PTP (IEC 61588) is supported.
     gPTP (802.1AS) is supported.
     HSR Offload + PTP (IEC 61588) is NOT supported.
     PRP Offload + PTP (IEC 61588) is NOT supported.
     HSR Offload + gPTP (802.1AS) is NOT supported.
     PRP Offload + gPTP (802.1AS) is NOT supported.

    For the future SDK 12.0:
     HSR Offload + PTP (IEC 61588) will be newly supported.

    For the current SDK 11.02.08.02, the procedures to enable each protocol are as follows:

    HSR Offload
    software-dl.ti.com/.../HSR_Offload.html

    PRP Offload
    software-dl.ti.com/.../PRP_Offload.html

    gPTP (802.1AS)
    software-dl.ti.com/.../PRU_ICSSG_Ethernet_Switch.html

    Where can I find the procedure to enable PTP (IEC 61588)?

    Best regards,

    Daisuke

  • For the current SDK 11.02.08.02:
     HSR Offload is supported.
     PRP Offload is supported.
     PTP (IEC 61588) is supported.
     gPTP (802.1AS) is supported.
     HSR Offload + PTP (IEC 61588) is NOT supported.
     PRP Offload + PTP (IEC 61588) is NOT supported.
     HSR Offload + gPTP (802.1AS) is NOT supported.
     PRP Offload + gPTP (802.1AS) is NOT supported.

    Correct. HSR/PRP offload + gPTP = IEC 62439 standard introduces DAC as an enhancement to the BMCA (Best Master Clock Algorithm), which is beyond the scope of standard IEEE 1588 and gPTP profile implementations

    I'm trying to get this details internally to share guidance on running IEEE 1588 profiles (OC, TC), but I don't see any limitations preventing you from running these profiles. I recommend trying the IEEE 1588 profiles available from the LinuxPTP stack. When using ICSSG, ensure you select the correct PTP device by specifying /dev/ptp2.

    BR,
    JC

  • For the current SDK 11.02.08.02:
     HSR Offload is supported.
     PRP Offload is supported.
     PTP (IEC 61588) is supported.
     gPTP (802.1AS) is supported.
     HSR Offload + PTP (IEC 61588) is NOT supported.
     PRP Offload + PTP (IEC 61588) is NOT supported.
     HSR Offload + gPTP (802.1AS) is NOT supported.
     PRP Offload + gPTP (802.1AS) is NOT supported.

    Correct. HSR/PRP offload + gPTP = IEC 62439 standard introduces DAC as an enhancement to the BMCA (Best Master Clock Algorithm), which is beyond the scope of standard IEEE 1588 and gPTP profile implementations

    I'm trying to get this details internally to share guidance on running IEEE 1588 profiles (OC, TC), but I don't see any limitations preventing you from running these profiles. I recommend trying the IEEE 1588 profiles available from the LinuxPTP stack. When using ICSSG, ensure you select the correct PTP device by specifying /dev/ptp2.

    BR,
    JC

  • Hi JC-san,

    Thank you for your reply.

    In standards, HSR/PRP (IEC 62439-3) + PTP (IEEE 1588/IEC 61588) is defined, but HSR/PRP (IEC 62439-3) + gPTP (IEEE 802.1AS) is NOT defined, is that correct?

    For the current SDK 11.02.08.02, is HSR/PRP (IEC 62439-3) + PTP (IEEE 1588/IEC 61588) supported?

    It appears that the procedure to enable the PTP OC for PRU_ICSSG is described below.

    software-dl.ti.com/.../PRU_ICSSG_Ethernet.html

    Best regards,

    Daisuke

  • In standards, HSR/PRP (IEC 62439-3) + PTP (IEEE 1588/IEC 61588) is defined, but HSR/PRP (IEC 62439-3) + gPTP (IEEE 802.1AS) is NOT defined, is that correct?

    That's correct. PRP and HSR will utilize the PIP and PUP clock synchronization profiles and not gPTP.

    For the current SDK 11.02.08.02, is HSR/PRP (IEC 62439-3) + PTP (IEEE 1588/IEC 61588) supported?

    No, this feature will be included in SDK version 12.0, which is scheduled for release in mid-April 2026.

    It appears that the procedure to enable the PTP OC for PRU_ICSSG is described below

    Yes, that's correct - you can proceed with this documentation.

    BR
    JC

  • Hi JC-san,

    Thank you for your reply.

    Our customer will wait for the release of the next SDK 12.0 and will use it to test HSR/PRP (IEC 62439-3) + PTP (IEEE 1588/IEC 61588).

    Best regards,

    Daisuke