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.

Linux/TMDSICE3359: PRU PTP implementation

Part Number: TMDSICE3359


Tool/software: Linux

Hello

I'm working now for project where necessary HW PTP synchronization. For developing board we use TMDSICE3359 (ICEv2). Board configured in PRU-ICSS mode.

We use our custom embedded Linux based on Yoctoproject. Our Linux include 4.14.67 TI kernel from git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git. And I've tried to use kernel from ti-processor-sdk-linux-rt-am335x-evm-05.00.00.15-Linux-x86-Install.bin

For start point we use http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Industrial_Protocols_PTP.html

I've built all necessary firmware exclude PRUPTP driver – Kernel driver abstracts PRU-ICSS based PTP support.
This driver is absent  in Linux kernel. In kernel from am335x-evm-05.00.00.15-Linux-x86-Install.bin I can't find this driver too. As result /dev/ptpX and /dev/ppsX is absent on my filesystem.

Which option should I enable for turn on PRUPTP driver?

In CPSW mode /dev/ptp0 presented. But in this mode PTP has only software timestamp.