<?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: LS1021A and PCIe</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1021A-and-PCIe/m-p/440655#M421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Memory translation is not possible with SMMU (errata)&lt;/P&gt;&lt;P&gt;What i can do: to configure ATU in PCIe and set correct SMMU S2CR configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you describe more about SMMU configuration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current algorithm is:&lt;/P&gt;&lt;P&gt;1. Setup SMMU2 NSCR register, where clears "Client Port Disable" bit and clears "Memory Type Configuration"&amp;nbsp; bit to set default memory attributes.&lt;/P&gt;&lt;P&gt;2. Setup SMMU2 SMR Stream ID number for PCIe&lt;/P&gt;&lt;P&gt;3. Setup SMMU2 S2CR register with Write&amp;amp;Read allocate, Bypass type, Cacheable memory attribute.&lt;/P&gt;&lt;P&gt;4. Setup PCIe1: setup link and configure iATU. (If MMU translation is enable, so I able to read PCIe WIFI card CFG0 data from mapped address).&lt;/P&gt;&lt;P&gt;5. Setup qDMA legacy channel in qDMA manager to copy 256 bytes from PCIe1 memory (0x4000000000) to DDR3 (0x80300000).&lt;/P&gt;&lt;P&gt;6. Check DLSR register in qDMA manager: DLSR_CB is set constantly. So copy cannot be completed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 17:18:46 GMT</pubDate>
    <dc:creator>artsiomstaliaro</dc:creator>
    <dc:date>2015-06-09T17:18:46Z</dc:date>
    <item>
      <title>LS1021A and PCIe</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-and-PCIe/m-p/440653#M419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;im working with PCIe from baremetal application where no MMU.&lt;/P&gt;&lt;P&gt;Is it possible access to PCIe memory (0x40_0000_0000) with qDMA? Is possible to read PCIe CFG with qDMA?&lt;/P&gt;&lt;P&gt;Maybe exist another way for reading data from this memory without MMU?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 06:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-and-PCIe/m-p/440653#M419</guid>
      <dc:creator>artsiomstaliaro</dc:creator>
      <dc:date>2015-06-09T06:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A and PCIe</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-and-PCIe/m-p/440654#M420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;/P&gt;&lt;P&gt;It is possible access to PCIe memory with qDMA but SMMU and translation windows should be configured properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 16:46:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-and-PCIe/m-p/440654#M420</guid>
      <dc:creator>r8070z</dc:creator>
      <dc:date>2015-06-09T16:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021A and PCIe</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-and-PCIe/m-p/440655#M421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Memory translation is not possible with SMMU (errata)&lt;/P&gt;&lt;P&gt;What i can do: to configure ATU in PCIe and set correct SMMU S2CR configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you describe more about SMMU configuration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current algorithm is:&lt;/P&gt;&lt;P&gt;1. Setup SMMU2 NSCR register, where clears "Client Port Disable" bit and clears "Memory Type Configuration"&amp;nbsp; bit to set default memory attributes.&lt;/P&gt;&lt;P&gt;2. Setup SMMU2 SMR Stream ID number for PCIe&lt;/P&gt;&lt;P&gt;3. Setup SMMU2 S2CR register with Write&amp;amp;Read allocate, Bypass type, Cacheable memory attribute.&lt;/P&gt;&lt;P&gt;4. Setup PCIe1: setup link and configure iATU. (If MMU translation is enable, so I able to read PCIe WIFI card CFG0 data from mapped address).&lt;/P&gt;&lt;P&gt;5. Setup qDMA legacy channel in qDMA manager to copy 256 bytes from PCIe1 memory (0x4000000000) to DDR3 (0x80300000).&lt;/P&gt;&lt;P&gt;6. Check DLSR register in qDMA manager: DLSR_CB is set constantly. So copy cannot be completed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 17:18:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-and-PCIe/m-p/440655#M421</guid>
      <dc:creator>artsiomstaliaro</dc:creator>
      <dc:date>2015-06-09T17:18:46Z</dc:date>
    </item>
  </channel>
</rss>

