From: <sur...@wi...> - 2013-08-30 12:52:45
|
Hi, We are trying to bring up linuxptp on Ti81xx board (Davinci) board In the wiki it is mentioned that it is already been tested and working on Davinci/Sitara... But we are not able to bring it up. Please let us know the usage of the ptp binaries on this boards. On master side we have run ptp4l as below ------------------------------------------------------------------------------------------------------------------------------------------ root@dm814x-evm:/home# ./ptp4l -2 -i eth0 -p /dev/ptp0 -m -sh: ./ptp4l: not found root@dm814x-evm:/home# cd linuxptp_bin/ root@dm814x-evm:/home/linuxptp_bin# ./ptp4l -2 -i eth0 -p /dev/ptp0 -m ptp4l[273.895]: selected /dev/ptp0 as PTP clock ptp4l[273.896]: failed to read out the clock frequency adjustment: Operation not supported ptp4l[273.897]: port 1: get_ts_info not supported ptp4l[273.902]: driver changed our HWTSTAMP options ptp4l[273.902]: tx_type 1 not 1 ptp4l[273.902]: rx_filter 9 not 12 ptp4l[273.902]: driver rejected most general HWTSTAMP filter ptp4l[273.902]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[273.903]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[279.902]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES ptp4l[279.903]: selected best master clock 080028.fffe.31f6ca ptp4l[279.903]: assuming the grand master role --------------------------------------------------------------------------------------------------------------------------- On the slave side ---------------------------------------------------------------------------------------------------------------------------- ./ptp4l -s -2 -i eth0 -p /dev/ptp0 -m ptp4l[1452.755]: selected /dev/ptp0 as PTP clock ptp4l[1452.757]: failed to read out the clock frequency adjustment: Operation not supported ptp4l[1452.757]: port 1: get_ts_info not supported ptp4l[1452.763]: driver changed our HWTSTAMP options ptp4l[1452.763]: tx_type 1 not 1 ptp4l[1452.763]: rx_filter 9 not 12 ptp4l[1452.763]: driver rejected most general HWTSTAMP filter ptp4l[1452.764]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[1452.764]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[1458.773]: driver changed our HWTSTAMP options ptp4l[1458.773]: tx_type 1 not 1 ptp4l[1458.773]: rx_filter 9 not 12 ptp4l[1458.773]: driver rejected most general HWTSTAMP filter ptp4l[1458.774]: selected best master clock 847e40.fffe.2aabdc ptp4l[1464.773]: driver changed our HWTSTAMP options ptp4l[1464.773]: tx_type 1 not 1 ptp4l[1464.773]: rx_filter 9 not 12 ptp4l[1464.773]: driver rejected most general HWTSTAMP filter ptp4l[1464.774]: selected best master clock 847e40.fffe.2aabdc ptp4l[1470.773]: driver changed our HWTSTAMP options ptp4l[1470.773]: tx_type 1 not 1 ptp4l[1470.773]: rx_filter 9 not 12 ptp4l[1470.773]: driver rejected most general HWTSTAMP filter ptp4l[1470.774]: selected best master clock 847e40.fffe.2aabdc ptp4l[1473.606]: port 1: received SYNC without timestamp ptp4l[1473.607]: port 1: bad message ptp4l[1474.606]: port 1: received SYNC without timestamp ptp4l[1474.607]: port 1: new foreign master 080028.fffe.31f6ca-1 ptp4l[1474.607]: port 1: bad message ptp4l[1475.606]: port 1: received SYNC without timestamp ptp4l[1475.607]: port 1: bad message ptp4l[1476.606]: port 1: received SYNC without timestamp ptp4l[1476.607]: port 1: bad message ptp4l[1476.773]: driver changed our HWTSTAMP options ptp4l[1476.773]: tx_type 1 not 1 ptp4l[1476.773]: rx_filter 9 not 12 ptp4l[1476.774]: driver rejected most general HWTSTAMP filter ptp4l[1476.774]: selected best master clock 847e40.fffe.2aabdc ptp4l[1477.606]: port 1: received SYNC without timestamp ptp4l[1477.607]: port 1: bad message ptp4l[1478.607]: port 1: received SYNC without timestamp ptp4l[1478.609]: selected best master clock 080028.fffe.31f6ca ptp4l[1478.609]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE ptp4l[1478.609]: port 1: bad message ptp4l[1478.665]: port 1: received DELAY_REQ without timestamp ptp4l[1479.607]: port 1: received SYNC without timestamp ptp4l[1479.607]: port 1: bad message ptp4l[1479.882]: missing timestamp on transmitted delay request ptp4l[1479.883]: port 1: UNCALIBRATED to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED) ptp4l[1495.893]: driver changed our HWTSTAMP options ptp4l[1495.893]: tx_type 1 not 1 ptp4l[1495.893]: rx_filter 9 not 12 ptp4l[1495.893]: driver rejected most general HWTSTAMP filter ptp4l[1495.894]: port 1: FAULTY to LISTENING on FAULT_CLEARED ptp4l[1496.609]: port 1: new foreign master 080028.fffe.31f6ca-1 ptp4l[1496.610]: port 1: received SYNC without timestamp ptp4l[1496.610]: port 1: bad message --------------------------------------------------------------------------------------------------------------------------- On client side we are getting the error port 1: received SYNC without timestamp ptp4l[1473.607]: port 1: bad message Server is able to send the Anounce /SYNC / Follow UP message. But client is not responding..?/ Is the usage of ptp is correct? Thanks and regards Suresh |