<?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: Errors in using Job Ring Interface for SEC on LS1046ARDB in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Errors-in-using-Job-Ring-Interface-for-SEC-on-LS1046ARDB/m-p/1042579#M5838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yiping,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for pointing us in the right direction. Enabling the TZ bit in JR ICID Register&amp;nbsp;worked for us.&lt;/P&gt;&lt;P&gt;Also, in the U-Boot source, after a job is completed by the SEC, is it necessary to call jr_sw_cleanup? Seems like the code for dequeuing jobs from the ring does not clear the older jobs in the jobring structure automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2020 06:37:11 GMT</pubDate>
    <dc:creator>shivesh_sood</dc:creator>
    <dc:date>2020-04-30T06:37:11Z</dc:date>
    <item>
      <title>Errors in using Job Ring Interface for SEC on LS1046ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/Errors-in-using-Job-Ring-Interface-for-SEC-on-LS1046ARDB/m-p/1042577#M5836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;We are trying to customize code from U-Boot for our application. In particular, we are currently looking to add baremetal support for the SEC Accelerator, and for this we are using the Job Ring interface.&lt;/P&gt;&lt;P&gt;However, we are finding the following values in JRSTAR, JRINTR registers, after writing to the Input Ring Jobs Added Register :&amp;nbsp;&lt;/P&gt;&lt;P&gt;JRSTA :&amp;nbsp;0x1E010060 , indicating error reading input ring address (according to error table in SEC Ref Manual)&lt;/P&gt;&lt;P&gt;JRINTR :&amp;nbsp;0x02010000, indicating&amp;nbsp;error writing status to output ring (according to register definition in SEC Ref Manual)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our Input &amp;amp; Output Job Ring (JR0) Base Addresses are located in OCRAM. Cache support is not enabled. We have tried both BE &amp;amp; LE writes to the JR with the address of the Job Descriptor, however we obtain the same errors, and cannot generate any other error codes.&lt;/P&gt;&lt;P&gt;Would appreciate it if anyone can help us on&amp;nbsp;what we may be missing here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/shivesh.sood@collins.com"&gt;shivesh.sood@collins.com&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/chitra.amzarewale@utas.utc.com"&gt;chitra.amzarewale@utas.utc.com&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/rashmitharamesh.nair@collins.com"&gt;rashmitharamesh.nair@collins.com&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 14:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Errors-in-using-Job-Ring-Interface-for-SEC-on-LS1046ARDB/m-p/1042577#M5836</guid>
      <dc:creator>shivesh_sood</dc:creator>
      <dc:date>2020-04-16T14:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in using Job Ring Interface for SEC on LS1046ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/Errors-in-using-Job-Ring-Interface-for-SEC-on-LS1046ARDB/m-p/1042578#M5837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Does the JR work if it is in DDR memory space?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The OCRAM is accessible only in Trust Zone/secure world. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Did you review your&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;TrustZone setting?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 01:57:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Errors-in-using-Job-Ring-Interface-for-SEC-on-LS1046ARDB/m-p/1042578#M5837</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-04-20T01:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in using Job Ring Interface for SEC on LS1046ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/Errors-in-using-Job-Ring-Interface-for-SEC-on-LS1046ARDB/m-p/1042579#M5838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yiping,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for pointing us in the right direction. Enabling the TZ bit in JR ICID Register&amp;nbsp;worked for us.&lt;/P&gt;&lt;P&gt;Also, in the U-Boot source, after a job is completed by the SEC, is it necessary to call jr_sw_cleanup? Seems like the code for dequeuing jobs from the ring does not clear the older jobs in the jobring structure automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2020 06:37:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Errors-in-using-Job-Ring-Interface-for-SEC-on-LS1046ARDB/m-p/1042579#M5838</guid>
      <dc:creator>shivesh_sood</dc:creator>
      <dc:date>2020-04-30T06:37:11Z</dc:date>
    </item>
  </channel>
</rss>

