Hi,
I have implemented PTP (1588).
I have verified my solution between 2 PC's and I can see there is a delay of few milli seconds.
I want to test my solution on iMX6Q sabre sd boards.
Can anyone help me, how to measure the PT time between 2 iMX boards.
I have been using,
1) iMX 6Q sabre SD boards.
2) Ubunut 11.10 (includes patch to get ehternet time stamp fec controller modifications).
3) Kernel with version: 3.0.35-266-gbdde 708.
Please help me how to measure time between 2 iMX boards.
Thanks & Regards,
Vinod.
Hi Chip,
From the 'imx-test/misc/doc/FSL-UT-IEEE1588-001.txt' file, I can see test steps.
I need clarification on below mentioned step.
Run the IXXX stack: ./ptp_main -d -o -m -l -w -z
In this IXXX stack is my code and where as ptp_main , Is it part of the i.mx-test package ?
what are these parameters -d -o -m -l -w -z ? ( I can understand as daemon-d and master-m , what about other options).
Can you please clarify me, regarding this . It will be helpful for me to test my code.
In a way, I am looking for a tool to measure the time and figure out the accuracy between 2 i.MX boards.
Thanks & Regards,
Vinod.
Hi Vinod
IEEE-1588 software stack must be used to make this function work. This stack
is not included as part of the Freescale BSP.
So first you need to obtain IXXAT stack
(parameters -d -o -m -l -w -z are explained there)
http://www.ixxat.com/introduction_ieee_1588_en.html
then
2.Build Linux BSP image
> Enable FEC 1588 timestamping.
3 Build IXXAT 1588 stack image
>cd 1588stack
>./compile_arm.sh
The application program ptp_main will be generated in the directory
“1588stack/Target/IMX6/Proj”.
Best regards
chip