freescale imx6qdl-sabresd PTP connection to PC Windows

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

freescale imx6qdl-sabresd PTP connection to PC Windows

679 Views
seanhsu
Contributor II

Hi all:

First of all, nice to meet you guys. I am new here BTW. I have a question and hopefully I can get some answers or helpful

feedback here. My question is as below:

===================

I am using a imx6qdl-sabresd board with freescale FW version 3.14.28 and 4.1.15, and my goal is to

establish a connection between the board and the PC Windows OS through PTP protocol.

I know that the board already supports MTP/PTP functions. I however am not sure whether I have to

explicitly install the PTP package in local.conf or not(eg: IMAGE_INSTALL_append += "PTP packagename".

If I do, what is the package name. If PTP is supported or if not but packages is successfully installed to the image,

then how should I get started?

1. on freescale side(device), should I implement a driver code that uses the PTP functions?

2. on Windows side, should I install any driver that can establish the PTP connection to the board?

Does any one have similiar experience? I very appreciate if anyone reply me any helpful feedbacks.Thank

you and have a nice day.

BR

Sean Hsu

3 Replies

465 Views
joanxie
NXP TechSupport
NXP TechSupport

all of information I got  about ptp is below:

we are evaluating the Open-AVB and LinuxPTP stacks. http://linuxptp.sourceforge.net/

LinuxPTP is available as a package under the buildroot gen_avb branch, for both target and host. Only hardware requirement is timestamping in the Ethernet adapter. This is the case for the i.MX boards, the Intel I210 board and some other (but not all) Intel cards.

To verify HW timestamping support on a recent Linux distribution:

ethtool -T ethX

LinuxPTP command-line:

• on i.MX:

ptp4l -i eth0 -f /etc/linuxptp/avb.cfg -m

• on a PC:

• cd $BUILDROOT_TOP_DIR

• sudo ./output/host/usr/sbin/ptp4l -i eth4 -f package/linuxptp/avb.cfg -m

465 Views
seanhsu
Contributor II

Dear Quanqiong:

Thanks for replying. However, what I meant by PTP is Picture Transfer Protocol, not Precision Time Protocol. Do you have any experience on this? If you do, please let me know. Thank you.

BR

SeanH

0 Kudos

465 Views
seanhsu
Contributor II

Hi Quanqiong:

Thanks for replying, but the PTP I am talking about is (Picture Transfer Protocol). I know linux supports PTP and MTP as host side, and it can connect to digital camera as device side. Linux is on the initiator side, and device is on the responder side. However, what I need to for linux to act as the responder side and connect to PC as initiator side. I cannot find any references, and I don't know if anyone has done this. So far I know is only Android has this functionality ready that it can connect to PC. Now I need a user space daemon that implements the code on the PTP protocol layer and its connections with USB physical layer. If you have any idea on how to do this, please let me know. Thank your for replying.

BR

Sean Hsu

0 Kudos