<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LS1043A Software PTP test in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1182098#M6979</link>
    <description>&lt;P&gt;Please refer to the attached log.&lt;/P&gt;
&lt;P&gt;Server:&lt;/P&gt;
&lt;P&gt;root@ls1046ardb:~# &lt;STRONG&gt;ptpd2 -C -MV -i fm1-mac3&lt;/STRONG&gt;&lt;BR /&gt;1970-01-01 00:01:12.062608 ptpd2[3254].startup (info) (___) Configuration OK&lt;BR /&gt;1970-01-01 00:01:12.063044 ptpd2[3254].startup (info) (___) Successfully acquired lock on /var/run/ptpd2.lock&lt;BR /&gt;1970-01-01 00:01:12.063164 ptpd2[3254].startup (notice) (___) PTPDv2 started successfully on fm1-mac3 using "masteronly" preset (PID 3254)&lt;BR /&gt;1970-01-01 00:01:12.063181 ptpd2[3254].startup (info) (___) TimingService.PTP0: PTP service init&lt;BR /&gt;# Timestamp, State, Clock ID, One Way Delay, Offset From Master, Slave to Master, Master to Slave, Observed Drift, Last packet Received, One Way Delay Mean, One Way Delay Std Dev, Offset From Master Mean, Offset From Master Std Dev, Observed Drift Mean, Observed Drift Std Dev, raw delayMS, raw delaySM&lt;BR /&gt;1970-01-01 00:01:12.063212, init, &lt;BR /&gt;1970-01-01 00:01:12.163959 ptpd2[3254].fm1-mac3 (notice) (lstn_init) Now in state: PTP_LISTENING&lt;BR /&gt;1970-01-01 00:01:12.163981, lstn_init, 1 &lt;BR /&gt;1970-01-01 00:01:22.063221 ptpd2[3254].fm1-mac3 (notice) (lstn_init) TimingService.PTP0: elected best TimingService&lt;BR /&gt;1970-01-01 00:01:22.063248 ptpd2[3254].fm1-mac3 (info) (lstn_init) TimingService.PTP0: acquired clock control&lt;BR /&gt;1970-01-01 00:01:24.164176 ptpd2[3254].fm1-mac3 (notice) (mst) Now in state: PTP_MASTER, Best master: 00e00cfffe008e00(unknown)/1 (self)&lt;BR /&gt;1970-01-01 00:01:24.164199, mst, 00e00cfffe008e00(unknown)/1&lt;BR /&gt;[ 96.218413] random: nonblocking pool is initialized&lt;BR /&gt;^C1970-01-01 00:04:04.432944 ptpd2[3254].fm1-mac3 (info) (mst) TimingService: Timing domain shutting down&lt;BR /&gt;1970-01-01 00:04:04.432968 ptpd2[3254].fm1-mac3 (info) (mst) TimingService.PTP0: PTP service shutdown&lt;BR /&gt;1970-01-01 00:04:04.432984, dsbl, &lt;BR /&gt;1970-01-01 00:04:04.433128 ptpd2[3254].fm1-mac3 (notice) (___) Shutdown on close signal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Client:&lt;/P&gt;
&lt;P&gt;root@ls1046ardb:~# &lt;STRONG&gt;ptpd2 -C -sV --servo:kp=0.32 --servo:ki=0.05 -i fm1-mac3&lt;/STRONG&gt;&lt;BR /&gt;1970-01-01 00:04:33.412628 ptpd2[3324].startup (info) (___) Configuration OK&lt;BR /&gt;1970-01-01 00:04:33.413026 ptpd2[3324].startup (warning) (___) Interface fm1-mac3 seems to be down. PTPd will not operate correctly until it's up.&lt;BR /&gt;1970-01-01 00:04:33.413082 ptpd2[3324].startup (info) (___) Successfully acquired lock on /var/run/ptpd2.lock&lt;BR /&gt;1970-01-01 00:04:33.413202 ptpd2[3324].startup (notice) (___) PTPDv2 started successfully on fm1-mac3 using "slaveonly" preset (PID 3324)&lt;BR /&gt;1970-01-01 00:04:33.413218 ptpd2[3324].startup (info) (___) TimingService.PTP0: PTP service init&lt;BR /&gt;# Timestamp, State, Clock ID, One Way Delay, Offset From Master, Slave to Master, Master to Slave, Observed Drift, Last packet Received, One Way Delay Mean, One Way Delay Std Dev, Offset From Master Mean, Offset From Master Std Dev, Observed Drift Mean, Observed Drift Std Dev, raw delayMS, raw delaySM&lt;BR /&gt;1970-01-01 00:04:33.413250, init, &lt;BR /&gt;1970-01-01 00:04:33.413566 ptpd2[3324].fm1-mac3 (warning) (init) Interface fm1-mac3 seems to be down. PTPd will not operate correctly until it's up.&lt;BR /&gt;1970-01-01 00:04:33.413904 ptpd2[3324].fm1-mac3 (info) (init) Observed_drift loaded from kernel: 0 ppb&lt;BR /&gt;1970-01-01 00:04:33.514054 ptpd2[3324].fm1-mac3 (notice) (lstn_init) Now in state: PTP_LISTENING&lt;BR /&gt;1970-01-01 00:04:33.514072, lstn_init, 1 &lt;BR /&gt;1970-01-01 00:04:43.413258 ptpd2[3324].fm1-mac3 (notice) (lstn_init) TimingService.PTP0: elected best TimingService&lt;BR /&gt;1970-01-01 00:04:43.413287 ptpd2[3324].fm1-mac3 (info) (lstn_init) TimingService.PTP0: acquired clock control&lt;BR /&gt;1970-01-01 00:04:45.614180, lstn_init, 1 &lt;BR /&gt;1970-01-01 00:04:47.313228 ptpd2[3324].fm1-mac3 (info) (lstn_init) New best master selected: 00e00cfffe008e00(unknown)/1&lt;BR /&gt;1970-01-01 00:04:47.313269 ptpd2[3324].fm1-mac3 (notice) (slv) Now in state: PTP_SLAVE, Best master: 00e00cfffe008e00(unknown)/1 (IPv4:10.10.9.2)&lt;BR /&gt;1970-01-01 00:04:47.313284, slv, 00e00cfffe008e00(unknown)/1, 0.000000000, 0.000000000, 0.000000000, 0.000000000, 0.000000000, I, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000000000, 0.000000000&lt;BR /&gt;1970-01-01 00:04:47.313320 ptpd2[3324].fm1-mac3 (notice) (slv) Received first Sync from Master&lt;BR /&gt;1970-01-01 00:04:47.313339, slv, 00e00cfffe008e00(unknown)/1, 0.000000000, 201.148893784, 0.000000000, 201.148893784, 0.000000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 201.148893784, 0.000000000&lt;BR /&gt;1970-01-01 00:04:47.313360 ptpd2[3324].fm1-mac3 (critical) (slv) Offset above 1 second. Clock will step.&lt;BR /&gt;1970-01-01 00:01:26.164482 ptpd2[3324].fm1-mac3 (warning) (slv) Stepped the system clock to: 01/01/70 00:01:26.164479472&lt;BR /&gt;1970-01-01 00:01:26.164500, flt, &lt;BR /&gt;1970-01-01 00:01:26.164507, init, &lt;BR /&gt;1970-01-01 00:01:26.264375 ptpd2[3324].fm1-mac3 (notice) (lstn_reset) Now in state: PTP_LISTENING&lt;BR /&gt;1970-01-01 00:01:26.264396, lstn_reset, 2 &lt;BR /&gt;1970-01-01 00:01:28.164143 ptpd2[3324].fm1-mac3 (info) (lstn_reset) New best master selected: 00e00cfffe008e00(unknown)/1&lt;BR /&gt;1970-01-01 00:01:28.164179 ptpd2[3324].fm1-mac3 (notice) (slv) Now in state: PTP_SLAVE, Best master: 00e00cfffe008e00(unknown)/1 (IPv4:10.10.9.2)&lt;BR /&gt;1970-01-01 00:01:28.164194, slv, 00e00cfffe008e00(unknown)/1, 0.000000000, 0.000000000, 0.000000000, 0.000000000, 0.000000000, I, 0.000000000, 0, 0.000000000, 0, 0, 0, 201.148893784, 0.000000000&lt;BR /&gt;1970-01-01 00:01:28.164229 ptpd2[3324].fm1-mac3 (notice) (slv) Received first Sync from Master&lt;BR /&gt;1970-01-01 00:01:28.164315, slv, 00e00cfffe008e00(unknown)/1, 0.000000000, -0.000000348, 0.000000000, -0.000000696, 0.000000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, -0.000000696, 0.000000000&lt;BR /&gt;1970-01-01 00:01:29.164458, slv, 00e00cfffe008e00(unknown)/1, 0.000000000, 0.000000598, 0.000000000, 0.000001892, -17.400000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000001892, 0.000000000&lt;BR /&gt;1970-01-01 00:01:29.164540, slv, 00e00cfffe008e00(unknown)/1, 0.000000904, 0.000000598, 0.000001724, 0.000001892, 12.500000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000001892, 0.000001724&lt;BR /&gt;1970-01-01 00:01:29.164567 ptpd2[3324].fm1-mac3 (notice) (slv) Received first Delay Response from Master&lt;BR /&gt;1970-01-01 00:01:29.187268, slv, 00e00cfffe008e00(unknown)/1, 0.000001351, 0.000000598, 0.000001680, 0.000001892, 12.500000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000001892, 0.000001680&lt;BR /&gt;1970-01-01 00:01:30.164319, slv, 00e00cfffe008e00(unknown)/1, 0.000001351, 0.000002308, 0.000001680, 0.000004076, 12.500000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004076, 0.000001680&lt;BR /&gt;1970-01-01 00:01:30.632916, slv, 00e00cfffe008e00(unknown)/1, 0.000001440, 0.000002308, -0.000001180, 0.000004076, 127.900000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004076, -0.000001180&lt;BR /&gt;1970-01-01 00:01:30.934250, slv, 00e00cfffe008e00(unknown)/1, 0.000001414, 0.000002308, -0.000001624, 0.000004076, 127.900000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004076, -0.000001624&lt;BR /&gt;1970-01-01 00:01:31.164309, slv, 00e00cfffe008e00(unknown)/1, 0.000001414, 0.000003449, -0.000001624, 0.000005588, 127.900000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000005588, -0.000001624&lt;BR /&gt;1970-01-01 00:01:32.156493, slv, 00e00cfffe008e00(unknown)/1, 0.000001385, 0.000003449, -0.000002960, 0.000005588, 300.350000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000005588, -0.000002960&lt;BR /&gt;1970-01-01 00:01:32.164320, slv, 00e00cfffe008e00(unknown)/1, 0.000001385, 0.000004690, -0.000002960, 0.000006592, 300.350000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006592, -0.000002960&lt;BR /&gt;1970-01-01 00:01:32.502808, slv, 00e00cfffe008e00(unknown)/1, 0.000001409, 0.000004690, -0.000003108, 0.000006592, 534.850000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006592, -0.000003108&lt;BR /&gt;1970-01-01 00:01:32.721323, slv, 00e00cfffe008e00(unknown)/1, 0.000001453, 0.000004690, -0.000003212, 0.000006592, 534.850000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006592, -0.000003212&lt;BR /&gt;1970-01-01 00:01:33.164309, slv, 00e00cfffe008e00(unknown)/1, 0.000001453, 0.000005380, -0.000003212, 0.000007008, 534.850000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000007008, -0.000003212&lt;BR /&gt;1970-01-01 00:01:34.164321, slv, 00e00cfffe008e00(unknown)/1, 0.000001453, 0.000005514, -0.000003212, 0.000006928, 803.850000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006928, -0.000003212&lt;BR /&gt;1970-01-01 00:01:34.471528, slv, 00e00cfffe008e00(unknown)/1, 0.000001493, 0.000005514, -0.000003204, 0.000006928, 1079.550000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006928, -0.000003204&lt;BR /&gt;1970-01-01 00:01:34.608915, slv, 00e00cfffe008e00(unknown)/1, 0.000001535, 0.000005514, -0.000003164, 0.000006928, 1079.550000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006928, -0.000003164&lt;BR /&gt;1970-01-01 00:01:34.694528, slv, 00e00cfffe008e00(unknown)/1, 0.000001571, 0.000005514, -0.000003124, 0.000006928, 1079.550000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006928, -0.000003124&lt;BR /&gt;1970-01-01 00:01:35.164307, slv, 00e00cfffe008e00(unknown)/1, 0.000001571, 0.000005249, -0.000003124, 0.000006596, 1079.550000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006596, -0.000003124&lt;BR /&gt;1970-01-01 00:01:36.169253, slv, 00e00cfffe008e00(unknown)/1, 0.000001571, 0.000004740, -0.000003124, 0.000006028, 1342.000000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006028, -0.000003124&lt;BR /&gt;1970-01-01 00:01:36.503757, slv, 00e00cfffe008e00(unknown)/1, 0.000001602, 0.000004740, -0.000002200, 0.000006028, 1579.000000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006028, -0.000002200&lt;BR /&gt;1970-01-01 00:01:37.164308, slv, 00e00cfffe008e00(unknown)/1, 0.000001602, 0.000004143, -0.000002200, 0.000005432, 1579.000000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000005432, -0.000002200&lt;BR /&gt;1970-01-01 00:01:38.103079, slv, 00e00cfffe008e00(unknown)/1, 0.000001636, 0.000004143, -0.000001224, 0.000005432, 1786.150000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000005432, -0.000001224&lt;BR /&gt;1970-01-01 00:01:38.164319, slv, 00e00cfffe008e00(unknown)/1, 0.000001636, 0.000003495, -0.000001224, 0.000004796, 1786.150000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004796, -0.000001224&lt;BR /&gt;1970-01-01 00:01:38.684634, slv, 00e00cfffe008e00(unknown)/1, 0.000001667, 0.000003495, -0.000000868, 0.000004796, 1960.900000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004796, -0.000000868&lt;BR /&gt;1970-01-01 00:01:39.164305, slv, 00e00cfffe008e00(unknown)/1, 0.000001667, 0.000002836, -0.000000868, 0.000004180, 1960.900000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004180, -0.000000868&lt;BR /&gt;1970-01-01 00:01:39.773673, slv, 00e00cfffe008e00(unknown)/1, 0.000001688, 0.000002836, -0.000000244, 0.000004180, 2102.700000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004180, -0.000000244&lt;BR /&gt;1970-01-01 00:01:40.164317, slv, 00e00cfffe008e00(unknown)/1, 0.000001688, 0.000002246, -0.000000244, 0.000003668, 2102.700000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000003668, -0.000000244&lt;BR /&gt;1970-01-01 00:01:41.164305, slv, 00e00cfffe008e00(unknown)/1, 0.000001688, 0.000001704, -0.000000244, 0.000003116, 2215.000000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000003116, -0.000000244&lt;BR /&gt;1970-01-01 00:01:41.291098, slv, 00e00cfffe008e00(unknown)/1, 0.000001702, 0.000001704, 0.000000536, 0.000003116, 2300.200000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000003116, 0.000000536&lt;BR /&gt;1970-01-01 00:01:42.164316, slv, 00e00cfffe008e00(unknown)/1, 0.000001702, 0.000001221, 0.000000536, 0.000002716, 2300.200000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000002716, 0.000000536&lt;BR /&gt;1970-01-01 00:01:42.837622, slv, 00e00cfffe008e00(unknown)/1, 0.000001714, 0.000001221, 0.000001188, 0.000002716, 2361.250000000, D, 0.000000000, 0, 0.0&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 07:50:12 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2020-11-12T07:50:12Z</dc:date>
    <item>
      <title>LS1043A Software PTP test</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1181159#M6960</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using an LS1043A custom board.&lt;/P&gt;&lt;P&gt;When you set CONFIG_PTP_1588_CLOCK_DPAA as below, /dev/ptp0 was created.&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# zcat /proc/config.gz &amp;gt; config&lt;BR /&gt;root@ls1043ardb:~# cat config | grep PTP&lt;BR /&gt;CONFIG_NET_PTP_CLASSIFY=y&lt;BR /&gt;# PTP clock support&lt;BR /&gt;CONFIG_PTP_1588_CLOCK=y&lt;BR /&gt;CONFIG_PTP_1588_CLOCK_DPAA=y&lt;BR /&gt;# CONFIG_PTP_1588_CLOCK_DPAA2 is not set&lt;/P&gt;&lt;P&gt;ethtool을 이용하여 상태를 확인하였더니 아래와 같이 나옵니다.&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# ethtool -T fm1-mac3&lt;BR /&gt;Time stamping parameters for fm1-mac3:&lt;BR /&gt;Capabilities:&lt;BR /&gt;software-receive (SOF_TIMESTAMPING_RX_SOFTWARE)&lt;BR /&gt;software-system-clock (SOF_TIMESTAMPING_SOFTWARE)&lt;BR /&gt;PTP Hardware Clock: none&lt;BR /&gt;Hardware Transmit Timestamp Modes: none&lt;BR /&gt;Hardware Receive Filter Modes: none&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the ptpd2 daemon, it doesn't seem to work properly.&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# ptpd2 -s -i fm1-mac3 -d 0 -o /dev/ptp0 -f ptpd2.status -D -V&lt;BR /&gt;Runtime debug not enabled. Please compile with RUNTIME_DEBUG&lt;BR /&gt;1970-01-01 02:08:39.615259 ptpd2[1715].startup (info) (___) Configuration OK&lt;BR /&gt;1970-01-01 02:08:39.615960 ptpd2[1715].startup (info) (___) Successfully acquired lock on /var/run/ptpd2.lock&lt;BR /&gt;1970-01-01 02:08:39.616308 ptpd2[1715].startup (notice) (___) PTPDv2 started successfully on fm1-mac3 using "slaveonly" preset (PID 1715)&lt;BR /&gt;1970-01-01 02:08:39.616524 ptpd2[1715].startup (info) (___) TimingService.PTP0: PTP service init&lt;BR /&gt;# Timestamp, State, Clock ID, One Way Delay, Offset From Master, Slave to Master, Master to Slave, Observed Drift, Last packet Received, One Way Delay Mean, One Way Delay Std Dev, Offset From Master Mean, Offset From Master Std Dev, Observed Drift Mean, Observed Drift Std Dev, raw delayMS, raw delaySM&lt;BR /&gt;1970-01-01 02:08:39.616811, init,&lt;BR /&gt;1970-01-01 02:08:39.617563 ptpd2[1715].fm1-mac3 (info) (init) Observed_drift loaded from kernel: 0 ppb&lt;BR /&gt;1970-01-01 02:08:39.717900 ptpd2[1715].fm1-mac3 (notice) (lstn_init) Now in state: PTP_LISTENING&lt;BR /&gt;1970-01-01 02:08:39.718105, lstn_init, 1&lt;BR /&gt;1970-01-01 02:08:49.616773 ptpd2[1715].fm1-mac3 (notice) (lstn_init) TimingService.PTP0: elected best TimingService&lt;BR /&gt;1970-01-01 02:08:49.616847 ptpd2[1715].fm1-mac3 (info) (lstn_init) TimingService.PTP0: acquired clock control&lt;BR /&gt;1970-01-01 02:08:51.823118, lstn_init, 1&lt;BR /&gt;^C1970-01-01 02:08:59.947932 ptpd2[1715].fm1-mac3 (info) (lstn_init) TimingService: Timing domain shutting down&lt;BR /&gt;1970-01-01 02:08:59.947999 ptpd2[1715].fm1-mac3 (info) (lstn_init) TimingService.PTP0: PTP service shutdown&lt;BR /&gt;1970-01-01 02:08:59.948028, dsbl,&lt;BR /&gt;1970-01-01 02:08:59.948249 ptpd2[1715].fm1-mac3 (notice) (___) Shutdown on close signal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have PTP-related hardware configuration, so I want to process it in a software way.&lt;/P&gt;&lt;P&gt;I would like to ask for advice on how to do it.&lt;/P&gt;&lt;P&gt;I also tried ptp4l, but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# ptp4l -i fm1-mac3 -S&lt;BR /&gt;interface 'fm1-mac3' does not support requested timestamping mode.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gyousn.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 02:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1181159#M6960</guid>
      <dc:creator>Gyosun</dc:creator>
      <dc:date>2020-11-11T02:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A Software PTP test</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1181277#M6962</link>
      <description>&lt;P&gt;On the Master side :&lt;/P&gt;
&lt;P&gt;./ptpd2 -MV -i &lt;SPAN&gt;fm1-mac3&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;On the slave side&lt;/P&gt;
&lt;P&gt;./ptpd2 -sV -i &lt;SPAN&gt;fm1-mac3&lt;/SPAN&gt; --servo:kp=0.32 --servo:ki=0.05&lt;/P&gt;
&lt;TABLE class="simple"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;On the slave side, the time offset from master will decrease to +/-150ns.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check whether the following option is on.&lt;/P&gt;
&lt;PRE&gt;root@localhost:~# ethtool -T fm1-mac3 | grep -i HWTSTAMP_TX_ON
	on                    (HWTSTAMP_TX_ON)&lt;/PRE&gt;
&lt;P&gt;In addition, which version SDK/LSDK are you using now?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 07:39:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1181277#M6962</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-11-11T07:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A Software PTP test</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1181444#M6970</link>
      <description>&lt;P&gt;Hi yipingwang,&lt;/P&gt;&lt;P&gt;I tested it and it doesn't work.&lt;/P&gt;&lt;P&gt;SDK is QorIQ-SDK-1703.&lt;/P&gt;&lt;P&gt;Should H/W be configured?&lt;/P&gt;&lt;P&gt;Is there any way to process it with S/W?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# cat config | grep 1588&lt;BR /&gt;CONFIG_FSL_DPAA_1588=y&lt;BR /&gt;CONFIG_PTP_1588_CLOCK=y&lt;BR /&gt;CONFIG_PTP_1588_CLOCK_DPAA=y&lt;BR /&gt;# CONFIG_PTP_1588_CLOCK_DPAA2 is not set&lt;BR /&gt;root@ls1043ardb:~# ethtool -T fm1-mac3 | grep -i HWTSTAMP_TX_ON&lt;BR /&gt;root@ls1043ardb:~# ethtool -T fm1-mac3&lt;BR /&gt;Time stamping parameters for fm1-mac3:&lt;BR /&gt;Capabilities:&lt;BR /&gt;software-receive (SOF_TIMESTAMPING_RX_SOFTWARE)&lt;BR /&gt;software-system-clock (SOF_TIMESTAMPING_SOFTWARE)&lt;BR /&gt;PTP Hardware Clock: none&lt;BR /&gt;Hardware Transmit Timestamp Modes: none&lt;BR /&gt;Hardware Receive Filter Modes: none&lt;BR /&gt;root@ls1043ardb:~# uname -a&lt;BR /&gt;Linux ls1043ardb 4.1.35-rt41 #11 SMP Wed Nov 11 14:33:00 KST 2020 aarch64 GNU/Linux&lt;BR /&gt;root@ls1043ardb:~#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# ptpd2 -sV -i fm1-mac3 --servo:kp=0.32 --servo:ki=0.05&lt;BR /&gt;1970-01-01 01:44:12.963143 ptpd2[6192].startup (info)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (___) Configuration OK&lt;BR /&gt;1970-01-01 01:44:12.963650 ptpd2[6192].startup (info)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (___) Successfully acquired lock on /var/run/ptpd2.lock&lt;BR /&gt;1970-01-01 01:44:12.963810 ptpd2[6192].startup (notice)&amp;nbsp;&amp;nbsp;&amp;nbsp; (___) PTPDv2 started successfully on fm1-mac3 using "slaveonly" preset (PID 6192)&lt;BR /&gt;1970-01-01 01:44:12.963840 ptpd2[6192].startup (info)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (___) TimingService.PTP0: PTP service init&lt;BR /&gt;# Timestamp, State, Clock ID, One Way Delay, Offset From Master, Slave to Master, Master to Slave, Observed Drift, Last packet Received, One Way Delay Mean, One Way Delay Std Dev, Offset From Master Mean, Offset From Master Std Dev, Observed Drift Mean, Observed Drift Std Dev, raw delayMS, raw delaySM&lt;BR /&gt;1970-01-01 01:44:12.963892, init,&lt;BR /&gt;1970-01-01 01:44:12.964559 ptpd2[6192].fm1-mac3 (info)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (init) Observed_drift loaded from kernel: 0 ppb&lt;BR /&gt;1970-01-01 01:44:13.064701 ptpd2[6192].fm1-mac3 (notice)&amp;nbsp;&amp;nbsp;&amp;nbsp; (lstn_init) Now in state: PTP_LISTENING&lt;BR /&gt;1970-01-01 01:44:13.064733, lstn_init,&amp;nbsp; 1&lt;BR /&gt;1970-01-01 01:44:22.963887 ptpd2[6192].fm1-mac3 (notice)&amp;nbsp;&amp;nbsp;&amp;nbsp; (lstn_init) TimingService.PTP0: elected best TimingService&lt;BR /&gt;1970-01-01 01:44:22.963966 ptpd2[6192].fm1-mac3 (info)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (lstn_init) TimingService.PTP0: acquired clock control&lt;BR /&gt;1970-01-01 01:44:25.164825, lstn_init,&amp;nbsp; 1&lt;BR /&gt;1970-01-01 01:44:37.264953, lstn_init,&amp;nbsp; 1&lt;BR /&gt;1970-01-01 01:44:49.365074, lstn_init,&amp;nbsp; 1&lt;BR /&gt;1970-01-01 01:45:01.465195, lstn_init,&amp;nbsp; 1&lt;BR /&gt;1970-01-01 01:45:13.465215 ptpd2[6192].fm1-mac3 (warning)&amp;nbsp;&amp;nbsp; (lstn_init) Still in LISTENING after 5 restarts - restarting transports&lt;BR /&gt;1970-01-01 01:45:13.465296, flt,&lt;BR /&gt;1970-01-01 01:45:13.465316, flt,&lt;BR /&gt;1970-01-01 01:45:13.465333, init,&lt;BR /&gt;1970-01-01 01:45:13.566171 ptpd2[6192].fm1-mac3 (notice)&amp;nbsp;&amp;nbsp;&amp;nbsp; (lstn_reset) Now in state: PTP_LISTENING&lt;BR /&gt;1970-01-01 01:45:13.566204, lstn_reset,&amp;nbsp; 2&lt;BR /&gt;1970-01-01 01:45:25.666292, lstn_reset,&amp;nbsp; 2&lt;BR /&gt;1970-01-01 01:45:37.766422, lstn_reset,&amp;nbsp; 2&lt;BR /&gt;1970-01-01 01:45:49.866560, lstn_reset,&amp;nbsp; 2&lt;BR /&gt;1970-01-01 01:46:01.963904, lstn_reset,&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gyosun.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 10:54:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1181444#M6970</guid>
      <dc:creator>Gyosun</dc:creator>
      <dc:date>2020-11-11T10:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A Software PTP test</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1181929#M6973</link>
      <description>&lt;P&gt;Please disable&amp;nbsp;CONFIG_FSL_DPAA_1588, and only enable following Kernel config options.&lt;/P&gt;
&lt;P&gt;CONFIG_PTP_1588_CLOCK_DPAA=y&lt;/P&gt;
&lt;P&gt;CONFIG_FSL_SDK_DPAA_ETH=y&lt;/P&gt;
&lt;P&gt;Please check whether you could get the following&amp;nbsp; message during Linux system boot:&lt;/P&gt;
&lt;P&gt;...&lt;BR /&gt;&lt;STRONG&gt;pps pps0: new PPS source ptp0&lt;/STRONG&gt;&lt;BR /&gt;...&lt;/P&gt;
&lt;P&gt;On master side:&lt;/P&gt;
&lt;P&gt;# ifconfig &lt;SPAN&gt;fm1-mac3&lt;/SPAN&gt; up&lt;BR /&gt;# ifconfig &lt;SPAN&gt;fm1-mac3&lt;/SPAN&gt; 192.168.1.100&lt;BR /&gt;# ptpd -i &lt;SPAN&gt;fm1-mac3&amp;nbsp;&lt;/SPAN&gt;-MV&lt;/P&gt;
&lt;P&gt;On the slave side :&lt;BR /&gt;# ifconfig &lt;SPAN&gt;fm1-mac3&lt;/SPAN&gt; up&lt;BR /&gt;# ifconfig &lt;SPAN&gt;fm1-mac3&amp;nbsp;&lt;/SPAN&gt;192.168.1.200&lt;BR /&gt;# ptpd -i &lt;SPAN&gt;fm1-mac3&lt;/SPAN&gt; -sV --servo:kp=0.32 --servo:ki=0.05&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: please make sure the slave target can ping the master successfully.&lt;/P&gt;
&lt;P&gt;In addition, please use ptpd provided in QorIQ SDK 2.0 1703, there is Freescale patch to add DPAA and eTSEC support in ptpd source code.&lt;/P&gt;
&lt;P&gt;You could add ptpd in sources/meta-freescale/recipes-fsl/images/fsl-image-core.bb as the following, then rebuild rootfs filesystem.&lt;/P&gt;
&lt;P&gt;IMAGE_INSTALL_append = " \&lt;BR /&gt;packagegroup-fsl-tools-core \&lt;BR /&gt;packagegroup-fsl-benchmark-core \&lt;BR /&gt;packagegroup-fsl-networking-core \&lt;BR /&gt;glibc-locale \&lt;BR /&gt;glibc-utils \&lt;BR /&gt;util-linux-agetty \&lt;BR /&gt;mesa \&lt;BR /&gt;&lt;STRONG&gt;ptpd \&lt;/STRONG&gt;&lt;BR /&gt;"&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 03:23:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1181929#M6973</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-11-12T03:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A Software PTP test</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1182046#M6976</link>
      <description>&lt;P&gt;Hi yipingwang,&lt;/P&gt;&lt;P&gt;The kernel config option has been reset.&lt;/P&gt;&lt;P&gt;Add ptpd to the fsl-image-core.b file and run bitbake fsl-image-core to create fsl-image-core-ls1043ardb.tar.gz, but no ptpd was created in the contents.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;root@ls1043ardb:~# zcat /proc/config.gz &amp;gt; config&lt;BR /&gt;root@ls1043ardb:~# cat config | grep CONFIG_FSL_DPAA_1588&lt;BR /&gt;# CONFIG_FSL_DPAA_1588 is not set&lt;BR /&gt;root@ls1043ardb:~# cat config | grep CONFIG_PTP_1588_CLOCK_DPAA&lt;BR /&gt;CONFIG_PTP_1588_CLOCK_DPAA=y&lt;BR /&gt;# CONFIG_PTP_1588_CLOCK_DPAA2 is not set&lt;BR /&gt;root@ls1043ardb:~# cat config | grep CONFIG_FSL_SDK_DPAA_ETH&lt;BR /&gt;CONFIG_FSL_SDK_DPAA_ETH=y&lt;BR /&gt;root@ls1043ardb:~# dmesg | grep ptp&lt;BR /&gt;[ 1.234924] pps pps0: new PPS source ptp0&lt;BR /&gt;root@ls1043ardb:~#&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;I ran it using ptpd included in the existing rootfs, but an option error occurred, so I ran as follows.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;root@ls1043ardb:~# which ptpd&lt;BR /&gt;/usr/sbin/ptpd&lt;BR /&gt;root@ls1043ardb:~# ls -al /usr/sbin/ptpd&lt;BR /&gt;-rwxr-xr-x 1 root root 39112 Oct 30 02:27 /usr/sbin/ptpd&lt;BR /&gt;root@ls1043ardb:~#&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# ptpd -i fm1-mac3 -sV --servo:kp=0.32 --servo:ki=0.05&lt;BR /&gt;ptpd: invalid option -- '-'&lt;/P&gt;&lt;P&gt;Usage: ptpd [OPTION]&lt;/P&gt;&lt;P&gt;-? show this page&lt;/P&gt;&lt;P&gt;-c run in command line (non-daemon) mode&lt;BR /&gt;-f FILE send stats to FILE&lt;BR /&gt;-S send output to syslog&lt;BR /&gt;-T set multicast time to live&lt;BR /&gt;-d display stats&lt;BR /&gt;-D display stats in .csv format&lt;BR /&gt;-R record data about sync packets in a file&lt;/P&gt;&lt;P&gt;-x do not reset the clock if off by more than one second&lt;BR /&gt;-O do not reset the clock if offset is more than NUMBER nanoseconds&lt;BR /&gt;-M do not accept delay values of more than NUMBER nanoseconds&lt;BR /&gt;-t do not adjust the system clock&lt;BR /&gt;-a NUMBER,NUMBER specify clock servo P and I attenuations&lt;BR /&gt;-w NUMBER specify one way delay filter stiffness&lt;/P&gt;&lt;P&gt;-b NAME bind PTP to network interface NAME&lt;BR /&gt;-u ADDRESS also send uni-cast to ADDRESS&lt;BR /&gt;-l NUMBER,NUMBER specify inbound, outbound latency in nsec&lt;/P&gt;&lt;P&gt;-o NUMBER specify current UTC offset&lt;BR /&gt;-e NUMBER specify epoch NUMBER&lt;BR /&gt;-h specify half epoch&lt;/P&gt;&lt;P&gt;-y NUMBER specify sync interval in 2^NUMBER sec&lt;BR /&gt;-m NUMBER specify max number of foreign master records&lt;/P&gt;&lt;P&gt;-g run as slave only&lt;BR /&gt;-p make this a preferred clock&lt;BR /&gt;-s NUMBER specify system clock stratum&lt;BR /&gt;-i NAME specify system clock identifier&lt;BR /&gt;-v NUMBER specify system clock allen variance&lt;/P&gt;&lt;P&gt;-n NAME specify PTP subdomain name (not related to IP or DNS)&lt;/P&gt;&lt;P&gt;-k NUMBER,NUMBER send a management message of key, record, then exit&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~#&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# ptpd -i fm1-mac3 -sV -servo:kp=0.32 -servo:ki=0.05&lt;BR /&gt;root@ls1043ardb:~# ps -ef | grep ptpd&lt;/P&gt;&lt;P&gt;root 2214 1 0 08:18 ? 00:00:00 ptpd -i fm1-mac3 -sV -servo:kp=0.32 -servo:ki=0.05&lt;BR /&gt;root 10419 2151 0 08:50 pts/0 00:00:00 grep ptpd&lt;BR /&gt;root@ls1043ardb:~#&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the time is not updated.&lt;/P&gt;&lt;P&gt;An external PC was used for the ptp server, and the ptp packet was checked with wireshark.&lt;/P&gt;&lt;P&gt;Can you share your ptpd files?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gyosun.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 06:46:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1182046#M6976</guid>
      <dc:creator>Gyosun</dc:creator>
      <dc:date>2020-11-12T06:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A Software PTP test</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1182098#M6979</link>
      <description>&lt;P&gt;Please refer to the attached log.&lt;/P&gt;
&lt;P&gt;Server:&lt;/P&gt;
&lt;P&gt;root@ls1046ardb:~# &lt;STRONG&gt;ptpd2 -C -MV -i fm1-mac3&lt;/STRONG&gt;&lt;BR /&gt;1970-01-01 00:01:12.062608 ptpd2[3254].startup (info) (___) Configuration OK&lt;BR /&gt;1970-01-01 00:01:12.063044 ptpd2[3254].startup (info) (___) Successfully acquired lock on /var/run/ptpd2.lock&lt;BR /&gt;1970-01-01 00:01:12.063164 ptpd2[3254].startup (notice) (___) PTPDv2 started successfully on fm1-mac3 using "masteronly" preset (PID 3254)&lt;BR /&gt;1970-01-01 00:01:12.063181 ptpd2[3254].startup (info) (___) TimingService.PTP0: PTP service init&lt;BR /&gt;# Timestamp, State, Clock ID, One Way Delay, Offset From Master, Slave to Master, Master to Slave, Observed Drift, Last packet Received, One Way Delay Mean, One Way Delay Std Dev, Offset From Master Mean, Offset From Master Std Dev, Observed Drift Mean, Observed Drift Std Dev, raw delayMS, raw delaySM&lt;BR /&gt;1970-01-01 00:01:12.063212, init, &lt;BR /&gt;1970-01-01 00:01:12.163959 ptpd2[3254].fm1-mac3 (notice) (lstn_init) Now in state: PTP_LISTENING&lt;BR /&gt;1970-01-01 00:01:12.163981, lstn_init, 1 &lt;BR /&gt;1970-01-01 00:01:22.063221 ptpd2[3254].fm1-mac3 (notice) (lstn_init) TimingService.PTP0: elected best TimingService&lt;BR /&gt;1970-01-01 00:01:22.063248 ptpd2[3254].fm1-mac3 (info) (lstn_init) TimingService.PTP0: acquired clock control&lt;BR /&gt;1970-01-01 00:01:24.164176 ptpd2[3254].fm1-mac3 (notice) (mst) Now in state: PTP_MASTER, Best master: 00e00cfffe008e00(unknown)/1 (self)&lt;BR /&gt;1970-01-01 00:01:24.164199, mst, 00e00cfffe008e00(unknown)/1&lt;BR /&gt;[ 96.218413] random: nonblocking pool is initialized&lt;BR /&gt;^C1970-01-01 00:04:04.432944 ptpd2[3254].fm1-mac3 (info) (mst) TimingService: Timing domain shutting down&lt;BR /&gt;1970-01-01 00:04:04.432968 ptpd2[3254].fm1-mac3 (info) (mst) TimingService.PTP0: PTP service shutdown&lt;BR /&gt;1970-01-01 00:04:04.432984, dsbl, &lt;BR /&gt;1970-01-01 00:04:04.433128 ptpd2[3254].fm1-mac3 (notice) (___) Shutdown on close signal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Client:&lt;/P&gt;
&lt;P&gt;root@ls1046ardb:~# &lt;STRONG&gt;ptpd2 -C -sV --servo:kp=0.32 --servo:ki=0.05 -i fm1-mac3&lt;/STRONG&gt;&lt;BR /&gt;1970-01-01 00:04:33.412628 ptpd2[3324].startup (info) (___) Configuration OK&lt;BR /&gt;1970-01-01 00:04:33.413026 ptpd2[3324].startup (warning) (___) Interface fm1-mac3 seems to be down. PTPd will not operate correctly until it's up.&lt;BR /&gt;1970-01-01 00:04:33.413082 ptpd2[3324].startup (info) (___) Successfully acquired lock on /var/run/ptpd2.lock&lt;BR /&gt;1970-01-01 00:04:33.413202 ptpd2[3324].startup (notice) (___) PTPDv2 started successfully on fm1-mac3 using "slaveonly" preset (PID 3324)&lt;BR /&gt;1970-01-01 00:04:33.413218 ptpd2[3324].startup (info) (___) TimingService.PTP0: PTP service init&lt;BR /&gt;# Timestamp, State, Clock ID, One Way Delay, Offset From Master, Slave to Master, Master to Slave, Observed Drift, Last packet Received, One Way Delay Mean, One Way Delay Std Dev, Offset From Master Mean, Offset From Master Std Dev, Observed Drift Mean, Observed Drift Std Dev, raw delayMS, raw delaySM&lt;BR /&gt;1970-01-01 00:04:33.413250, init, &lt;BR /&gt;1970-01-01 00:04:33.413566 ptpd2[3324].fm1-mac3 (warning) (init) Interface fm1-mac3 seems to be down. PTPd will not operate correctly until it's up.&lt;BR /&gt;1970-01-01 00:04:33.413904 ptpd2[3324].fm1-mac3 (info) (init) Observed_drift loaded from kernel: 0 ppb&lt;BR /&gt;1970-01-01 00:04:33.514054 ptpd2[3324].fm1-mac3 (notice) (lstn_init) Now in state: PTP_LISTENING&lt;BR /&gt;1970-01-01 00:04:33.514072, lstn_init, 1 &lt;BR /&gt;1970-01-01 00:04:43.413258 ptpd2[3324].fm1-mac3 (notice) (lstn_init) TimingService.PTP0: elected best TimingService&lt;BR /&gt;1970-01-01 00:04:43.413287 ptpd2[3324].fm1-mac3 (info) (lstn_init) TimingService.PTP0: acquired clock control&lt;BR /&gt;1970-01-01 00:04:45.614180, lstn_init, 1 &lt;BR /&gt;1970-01-01 00:04:47.313228 ptpd2[3324].fm1-mac3 (info) (lstn_init) New best master selected: 00e00cfffe008e00(unknown)/1&lt;BR /&gt;1970-01-01 00:04:47.313269 ptpd2[3324].fm1-mac3 (notice) (slv) Now in state: PTP_SLAVE, Best master: 00e00cfffe008e00(unknown)/1 (IPv4:10.10.9.2)&lt;BR /&gt;1970-01-01 00:04:47.313284, slv, 00e00cfffe008e00(unknown)/1, 0.000000000, 0.000000000, 0.000000000, 0.000000000, 0.000000000, I, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000000000, 0.000000000&lt;BR /&gt;1970-01-01 00:04:47.313320 ptpd2[3324].fm1-mac3 (notice) (slv) Received first Sync from Master&lt;BR /&gt;1970-01-01 00:04:47.313339, slv, 00e00cfffe008e00(unknown)/1, 0.000000000, 201.148893784, 0.000000000, 201.148893784, 0.000000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 201.148893784, 0.000000000&lt;BR /&gt;1970-01-01 00:04:47.313360 ptpd2[3324].fm1-mac3 (critical) (slv) Offset above 1 second. Clock will step.&lt;BR /&gt;1970-01-01 00:01:26.164482 ptpd2[3324].fm1-mac3 (warning) (slv) Stepped the system clock to: 01/01/70 00:01:26.164479472&lt;BR /&gt;1970-01-01 00:01:26.164500, flt, &lt;BR /&gt;1970-01-01 00:01:26.164507, init, &lt;BR /&gt;1970-01-01 00:01:26.264375 ptpd2[3324].fm1-mac3 (notice) (lstn_reset) Now in state: PTP_LISTENING&lt;BR /&gt;1970-01-01 00:01:26.264396, lstn_reset, 2 &lt;BR /&gt;1970-01-01 00:01:28.164143 ptpd2[3324].fm1-mac3 (info) (lstn_reset) New best master selected: 00e00cfffe008e00(unknown)/1&lt;BR /&gt;1970-01-01 00:01:28.164179 ptpd2[3324].fm1-mac3 (notice) (slv) Now in state: PTP_SLAVE, Best master: 00e00cfffe008e00(unknown)/1 (IPv4:10.10.9.2)&lt;BR /&gt;1970-01-01 00:01:28.164194, slv, 00e00cfffe008e00(unknown)/1, 0.000000000, 0.000000000, 0.000000000, 0.000000000, 0.000000000, I, 0.000000000, 0, 0.000000000, 0, 0, 0, 201.148893784, 0.000000000&lt;BR /&gt;1970-01-01 00:01:28.164229 ptpd2[3324].fm1-mac3 (notice) (slv) Received first Sync from Master&lt;BR /&gt;1970-01-01 00:01:28.164315, slv, 00e00cfffe008e00(unknown)/1, 0.000000000, -0.000000348, 0.000000000, -0.000000696, 0.000000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, -0.000000696, 0.000000000&lt;BR /&gt;1970-01-01 00:01:29.164458, slv, 00e00cfffe008e00(unknown)/1, 0.000000000, 0.000000598, 0.000000000, 0.000001892, -17.400000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000001892, 0.000000000&lt;BR /&gt;1970-01-01 00:01:29.164540, slv, 00e00cfffe008e00(unknown)/1, 0.000000904, 0.000000598, 0.000001724, 0.000001892, 12.500000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000001892, 0.000001724&lt;BR /&gt;1970-01-01 00:01:29.164567 ptpd2[3324].fm1-mac3 (notice) (slv) Received first Delay Response from Master&lt;BR /&gt;1970-01-01 00:01:29.187268, slv, 00e00cfffe008e00(unknown)/1, 0.000001351, 0.000000598, 0.000001680, 0.000001892, 12.500000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000001892, 0.000001680&lt;BR /&gt;1970-01-01 00:01:30.164319, slv, 00e00cfffe008e00(unknown)/1, 0.000001351, 0.000002308, 0.000001680, 0.000004076, 12.500000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004076, 0.000001680&lt;BR /&gt;1970-01-01 00:01:30.632916, slv, 00e00cfffe008e00(unknown)/1, 0.000001440, 0.000002308, -0.000001180, 0.000004076, 127.900000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004076, -0.000001180&lt;BR /&gt;1970-01-01 00:01:30.934250, slv, 00e00cfffe008e00(unknown)/1, 0.000001414, 0.000002308, -0.000001624, 0.000004076, 127.900000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004076, -0.000001624&lt;BR /&gt;1970-01-01 00:01:31.164309, slv, 00e00cfffe008e00(unknown)/1, 0.000001414, 0.000003449, -0.000001624, 0.000005588, 127.900000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000005588, -0.000001624&lt;BR /&gt;1970-01-01 00:01:32.156493, slv, 00e00cfffe008e00(unknown)/1, 0.000001385, 0.000003449, -0.000002960, 0.000005588, 300.350000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000005588, -0.000002960&lt;BR /&gt;1970-01-01 00:01:32.164320, slv, 00e00cfffe008e00(unknown)/1, 0.000001385, 0.000004690, -0.000002960, 0.000006592, 300.350000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006592, -0.000002960&lt;BR /&gt;1970-01-01 00:01:32.502808, slv, 00e00cfffe008e00(unknown)/1, 0.000001409, 0.000004690, -0.000003108, 0.000006592, 534.850000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006592, -0.000003108&lt;BR /&gt;1970-01-01 00:01:32.721323, slv, 00e00cfffe008e00(unknown)/1, 0.000001453, 0.000004690, -0.000003212, 0.000006592, 534.850000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006592, -0.000003212&lt;BR /&gt;1970-01-01 00:01:33.164309, slv, 00e00cfffe008e00(unknown)/1, 0.000001453, 0.000005380, -0.000003212, 0.000007008, 534.850000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000007008, -0.000003212&lt;BR /&gt;1970-01-01 00:01:34.164321, slv, 00e00cfffe008e00(unknown)/1, 0.000001453, 0.000005514, -0.000003212, 0.000006928, 803.850000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006928, -0.000003212&lt;BR /&gt;1970-01-01 00:01:34.471528, slv, 00e00cfffe008e00(unknown)/1, 0.000001493, 0.000005514, -0.000003204, 0.000006928, 1079.550000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006928, -0.000003204&lt;BR /&gt;1970-01-01 00:01:34.608915, slv, 00e00cfffe008e00(unknown)/1, 0.000001535, 0.000005514, -0.000003164, 0.000006928, 1079.550000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006928, -0.000003164&lt;BR /&gt;1970-01-01 00:01:34.694528, slv, 00e00cfffe008e00(unknown)/1, 0.000001571, 0.000005514, -0.000003124, 0.000006928, 1079.550000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006928, -0.000003124&lt;BR /&gt;1970-01-01 00:01:35.164307, slv, 00e00cfffe008e00(unknown)/1, 0.000001571, 0.000005249, -0.000003124, 0.000006596, 1079.550000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006596, -0.000003124&lt;BR /&gt;1970-01-01 00:01:36.169253, slv, 00e00cfffe008e00(unknown)/1, 0.000001571, 0.000004740, -0.000003124, 0.000006028, 1342.000000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006028, -0.000003124&lt;BR /&gt;1970-01-01 00:01:36.503757, slv, 00e00cfffe008e00(unknown)/1, 0.000001602, 0.000004740, -0.000002200, 0.000006028, 1579.000000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000006028, -0.000002200&lt;BR /&gt;1970-01-01 00:01:37.164308, slv, 00e00cfffe008e00(unknown)/1, 0.000001602, 0.000004143, -0.000002200, 0.000005432, 1579.000000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000005432, -0.000002200&lt;BR /&gt;1970-01-01 00:01:38.103079, slv, 00e00cfffe008e00(unknown)/1, 0.000001636, 0.000004143, -0.000001224, 0.000005432, 1786.150000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000005432, -0.000001224&lt;BR /&gt;1970-01-01 00:01:38.164319, slv, 00e00cfffe008e00(unknown)/1, 0.000001636, 0.000003495, -0.000001224, 0.000004796, 1786.150000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004796, -0.000001224&lt;BR /&gt;1970-01-01 00:01:38.684634, slv, 00e00cfffe008e00(unknown)/1, 0.000001667, 0.000003495, -0.000000868, 0.000004796, 1960.900000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004796, -0.000000868&lt;BR /&gt;1970-01-01 00:01:39.164305, slv, 00e00cfffe008e00(unknown)/1, 0.000001667, 0.000002836, -0.000000868, 0.000004180, 1960.900000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004180, -0.000000868&lt;BR /&gt;1970-01-01 00:01:39.773673, slv, 00e00cfffe008e00(unknown)/1, 0.000001688, 0.000002836, -0.000000244, 0.000004180, 2102.700000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000004180, -0.000000244&lt;BR /&gt;1970-01-01 00:01:40.164317, slv, 00e00cfffe008e00(unknown)/1, 0.000001688, 0.000002246, -0.000000244, 0.000003668, 2102.700000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000003668, -0.000000244&lt;BR /&gt;1970-01-01 00:01:41.164305, slv, 00e00cfffe008e00(unknown)/1, 0.000001688, 0.000001704, -0.000000244, 0.000003116, 2215.000000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000003116, -0.000000244&lt;BR /&gt;1970-01-01 00:01:41.291098, slv, 00e00cfffe008e00(unknown)/1, 0.000001702, 0.000001704, 0.000000536, 0.000003116, 2300.200000000, D, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000003116, 0.000000536&lt;BR /&gt;1970-01-01 00:01:42.164316, slv, 00e00cfffe008e00(unknown)/1, 0.000001702, 0.000001221, 0.000000536, 0.000002716, 2300.200000000, S, 0.000000000, 0, 0.000000000, 0, 0, 0, 0.000002716, 0.000000536&lt;BR /&gt;1970-01-01 00:01:42.837622, slv, 00e00cfffe008e00(unknown)/1, 0.000001714, 0.000001221, 0.000001188, 0.000002716, 2361.250000000, D, 0.000000000, 0, 0.0&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 07:50:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1182098#M6979</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-11-12T07:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A Software PTP test</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1187102#M7055</link>
      <description>&lt;P&gt;Hi yipingwang,&lt;/P&gt;&lt;P&gt;As a result, the normal operation of the PTP was confirmed.&lt;/P&gt;&lt;P&gt;The cause was a problem when passing the IGMP hub in the middle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ptp server -- igmp hub -- ls1043a board (fail)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\-- other cpu board (pass)&lt;/P&gt;&lt;P&gt;ptp server -- ls1043a board (pass)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a result of checking with tcpdump, ptp packet could not be received when the igmp hub was connected.&lt;/P&gt;&lt;P&gt;How do I connect an igmp hub and enable PTP reception?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thansk you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gyosun.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 02:55:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1187102#M7055</guid>
      <dc:creator>Gyosun</dc:creator>
      <dc:date>2020-11-23T02:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A Software PTP test</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1190465#M7105</link>
      <description>&lt;P&gt;The intermediate "igmp hub" for sure is filtering the ptp multicast message, one thing you could do is to disable igmp snooping on your switch so all the multicast will go on all ports, with igmp if the membership is not established, the switch will not forward multicast packet with that specific multicast mac.&amp;nbsp; The drawback is multicast will go to every port even if the remote end don't care about that specific mcast.&lt;/P&gt;&lt;P&gt;Or you have to make sure to run igmp on linux and make sure the wanted multicast is being add to the membership so the switch will know it can forward your ptp mcast to that particular port.&lt;/P&gt;&lt;P&gt;If you cannot turn of igmp snooping, you can use ptp unicast instead of ptp multicast so the switch will not filter your ptp frame, both ptpd and ptp4l support such mode i.e. ptp unicast.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2020 02:18:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1190465#M7105</guid>
      <dc:creator>chithanhhoang</dc:creator>
      <dc:date>2020-11-28T02:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A Software PTP test</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1190632#M7107</link>
      <description>&lt;P&gt;Hi chithanhhoang,&lt;/P&gt;&lt;P&gt;Thanks for the advice.&lt;/P&gt;&lt;P&gt;After requesting IGMP snooping, it was confirmed that PTP packets were normally received.&lt;/P&gt;&lt;P&gt;In QorIQ-SDK-1703, the date time was not updated, so I tried it with LSDK1803 and checked the operation normally.&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gyosun.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 05:30:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Software-PTP-test/m-p/1190632#M7107</guid>
      <dc:creator>Gyosun</dc:creator>
      <dc:date>2020-11-30T05:30:12Z</dc:date>
    </item>
  </channel>
</rss>

