<?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: TSN PTP timestamp on on LS1028ARDB switch in QorIQ</title>
    <link>https://community.nxp.com/t5/QorIQ/TSN-PTP-timestamp-on-on-LS1028ARDB-switch/m-p/1021322#M8925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After booting up LS1028ARDB, the following commands could be executed successfully.&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;root@localhost:/test_dir_new# devmem 0x1fc0900a0 w 0x00000004&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;root@localhost:/test_dir_new# devmem 0x1fc0900c4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;0x0000000C&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;You could use LSDK 19.09 release, init PTP is enabled in Linux Kernel by default.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2019 09:45:14 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2019-12-09T09:45:14Z</dc:date>
    <item>
      <title>TSN PTP timestamp on on LS1028ARDB switch</title>
      <link>https://community.nxp.com/t5/QorIQ/TSN-PTP-timestamp-on-on-LS1028ARDB-switch/m-p/1021321#M8924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying to enable TSN on the Layerscape LS1028ARDB development board. We are running the following commands from &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;LS1028A BSP User Guide, Rev. 0.3, 04/2019.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;4.2.13.4.2 Enable timestamp on switch&lt;/STRONG&gt;&lt;BR /&gt;Follow the following commands to enable timestamp on switch:&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#Init PTP:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;devmem 0x1fc0900a0 w 0x00000004&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#Get PTP real time(second):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;devmem 0x1fc0900c4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When I run the first command to enable timestamping:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;root@NXP-1:~#&amp;nbsp;devmem 0x1fc0900a0 w 0x00000004&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It&amp;nbsp;results in the following error:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;-bash: devmem: command not found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After finding&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/message/1157128?commentID=1157128#comment-1157128"&gt;this&lt;/A&gt;&amp;nbsp;forum post, I installed devmem2 from us.ports.ubuntu.com and ran the following variation of the command, which uses devmem2 instead of devmem:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;root@NXP-1:~#&amp;nbsp;devmem2 0x1fc0900a0 w 0x00000004&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is successful:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;/dev/mem opened.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Memory mapped at address 0xffffbd909000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Value at address 0xFC0900A0 (0xffffbd909a0): 0x4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Written 0x4; readback 0x4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I run the next command from the User Guide, to see the PTP time:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;root@NXP-1:~#&amp;nbsp;devmem 0x1fc0900c4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This results in the following errror:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;/dev/mem opened.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Memory mapped at address 0xffff8ea5d000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Bus error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What does this error mean?&lt;/P&gt;&lt;P&gt;How do I see the PTP time?&lt;/P&gt;&lt;P&gt;Is PTP timestamping going to work in the switch?&lt;/P&gt;&lt;P&gt;Where do I find documentation on these addresses?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When will there be corrected, tested, and verified version of the User Guide for the LS1028ARDB made available so I stop wasting so much time debugging the errors in the current&amp;nbsp; User Guide?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy Impson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 22:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/TSN-PTP-timestamp-on-on-LS1028ARDB-switch/m-p/1021321#M8924</guid>
      <dc:creator>jeremy_impson</dc:creator>
      <dc:date>2019-12-06T22:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: TSN PTP timestamp on on LS1028ARDB switch</title>
      <link>https://community.nxp.com/t5/QorIQ/TSN-PTP-timestamp-on-on-LS1028ARDB-switch/m-p/1021322#M8925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After booting up LS1028ARDB, the following commands could be executed successfully.&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;root@localhost:/test_dir_new# devmem 0x1fc0900a0 w 0x00000004&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;root@localhost:/test_dir_new# devmem 0x1fc0900c4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;0x0000000C&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;You could use LSDK 19.09 release, init PTP is enabled in Linux Kernel by default.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 09:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/TSN-PTP-timestamp-on-on-LS1028ARDB-switch/m-p/1021322#M8925</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2019-12-09T09:45:14Z</dc:date>
    </item>
  </channel>
</rss>

