<?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>LayerscapeのトピックRe: DPAA2 objects and MC question</title>
    <link>https://community.nxp.com/t5/Layerscape/DPAA2-objects-and-MC-question/m-p/750591#M3251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="316540" data-username="aabitria" href="https://community.nxp.com/people/aabitria"&gt;Alain Abitria&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In LSDK flexbuild environment, please execute the following command to get mc-utils in the folder ~/flexbuild/packages/firmware/mc-utils.&lt;/P&gt;&lt;P&gt;$ flex-builder -c mc-utils -m arm64&lt;/P&gt;&lt;P&gt;You will get the example dpl and dpc source code in the folder config/ls1088a/RDB, more examples in custom folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still in mc-utils source code folder api/mc_release_&amp;lt;version&amp;gt;, you will get the source code for MC APIs, please refer to dpdmai.c file.&lt;/P&gt;&lt;P&gt;Please refer to dpdmai_open function, use DPDMAI_OPEN to open a control session for DPDMAI.&lt;/P&gt;&lt;P&gt;You could use dpdmai_is_enabled to check whether DPDMAI is enabled pointer to the specific MC portal's I/O object.&lt;/P&gt;&lt;P&gt;For QBMAN please refer to dpio_get_attributes in dpio.c, qbman software portal IDs are parts of DPIO attributes.&lt;/P&gt;&lt;P&gt;DPIO objects include QBMAN software portals, and they allow GPP core software to read and write packages from the DPNIs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2018 09:49:44 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2018-07-03T09:49:44Z</dc:date>
    <item>
      <title>DPAA2 objects and MC question</title>
      <link>https://community.nxp.com/t5/Layerscape/DPAA2-objects-and-MC-question/m-p/750589#M3249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create baremetal code for using DPAA2 qDMA in LS1088ARDB via Mgmt Complex (MCS). I understand that this MC abstraction (booted by u-boot) is to simplify programming by not bothering with HW registers for us developers. I've read the code in Linux kernel as well as other manuals but there are things I want to clarify:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Is there an example DPL that I can tinker with? I can't find one in the LSDK folder.&lt;BR /&gt;- What is the general flow in opening a portal, assuming it's dynamic and not via DPL?&amp;nbsp; In using the DPDMA, do I have to go through DPMCP_OPEN for portals and not yet through DPDMAI_OPEN? Both says they both open the portal for a session.&lt;/P&gt;&lt;P&gt;- How do I know if an MC portal (starting at 0x80c000000) is available?&lt;BR /&gt;- Does QBMan have an equivalent DPAA2 object that MC can handle? Is it the same as DPIO (saw this in a slide "LOGICAL ABSTRACTION AND RESOURCE MANAGEMENT USING THE MANAGEMENT COMPLEX")? There are still lot of register tinkering with QBMan and I thought MC will take care of it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 13:28:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/DPAA2-objects-and-MC-question/m-p/750589#M3249</guid>
      <dc:creator>aabitria</dc:creator>
      <dc:date>2018-05-14T13:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: DPAA2 objects and MC question</title>
      <link>https://community.nxp.com/t5/Layerscape/DPAA2-objects-and-MC-question/m-p/750590#M3250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help or replies?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 10:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/DPAA2-objects-and-MC-question/m-p/750590#M3250</guid>
      <dc:creator>aabitria</dc:creator>
      <dc:date>2018-05-16T10:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: DPAA2 objects and MC question</title>
      <link>https://community.nxp.com/t5/Layerscape/DPAA2-objects-and-MC-question/m-p/750591#M3251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="316540" data-username="aabitria" href="https://community.nxp.com/people/aabitria"&gt;Alain Abitria&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In LSDK flexbuild environment, please execute the following command to get mc-utils in the folder ~/flexbuild/packages/firmware/mc-utils.&lt;/P&gt;&lt;P&gt;$ flex-builder -c mc-utils -m arm64&lt;/P&gt;&lt;P&gt;You will get the example dpl and dpc source code in the folder config/ls1088a/RDB, more examples in custom folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still in mc-utils source code folder api/mc_release_&amp;lt;version&amp;gt;, you will get the source code for MC APIs, please refer to dpdmai.c file.&lt;/P&gt;&lt;P&gt;Please refer to dpdmai_open function, use DPDMAI_OPEN to open a control session for DPDMAI.&lt;/P&gt;&lt;P&gt;You could use dpdmai_is_enabled to check whether DPDMAI is enabled pointer to the specific MC portal's I/O object.&lt;/P&gt;&lt;P&gt;For QBMAN please refer to dpio_get_attributes in dpio.c, qbman software portal IDs are parts of DPIO attributes.&lt;/P&gt;&lt;P&gt;DPIO objects include QBMAN software portals, and they allow GPP core software to read and write packages from the DPNIs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 09:49:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/DPAA2-objects-and-MC-question/m-p/750591#M3251</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2018-07-03T09:49:44Z</dc:date>
    </item>
  </channel>
</rss>

