Hello,

I have few queries related to linuxptp, as mentioned below:


1) I tried to run ptp4l application using command:
/home/ptp4l -i eth0 -p eth0 -m -P (ptp master)


But it fails with the following error message:

ptp4l[3505.127]: selected /dev/ptp0 as PTP clock
ptp4l[3505.166]: Failed to open /dev/ptp0: No such file or directory
failed to create a clock

I am trying to run it for arm architecture, and for this I have cross compiled 
kernel and linuxptp source.
This ('/dev/ptp0') device node is not present inside '/dev' directory. Please 
help me to understand who creates this node, I have ptp supported driver for 
the ethernet device.

If this device is supposed to be created by user then what is the MAJOR/MINOR 
number for /dev/ptp0 ?
And which driver manages/handles access to this node ?


2) I am also not able to understand the basic higher level abstract flow of how 
this application works ?
I think linux kernel has its own ptp driver implementation, So From the 
application does it use the linux user space API/system calls which further 
calls linux ptp driver functions (<linux_x.x>/drivers/ptp/), from which 
hardware ptp supported driver's functions are invoked ?
    ptp4l(linuxptp app) ---> drivers/ptp ---> ethernet_driver_with_ptp_support


Regards,
Ronex
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to