<?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 T1040 FMAN Microcode in T-Series</title>
    <link>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994252#M3441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4a4a4d; background-color: #f2f2f5;"&gt;Hi &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4a4a4d; background-color: #f2f2f5;"&gt;If i need to load the FMAN microcode to T1040RDB then i will copy the microcode from NOR flash to FMan controller Configuration Data Download Registers using the fm_upload_ucode function. The first step in the fm_upload_ucode function is 1. /* enable address auto increase */ out_be32(&amp;amp;imem-&amp;gt;iadd, IRAM_IADD_AIE); 2. /* write microcode to IRAM */ for (i = 0; i &amp;lt; size / 4; i++) out_be32(&amp;amp;imem-&amp;gt;idata, (be32_to_cpu(ucode[i]))); As per the DPAA manual, imem-&amp;gt;iadd is FMCDADDR i.e address register. So '0' bit corresponds to Auto increment enable and 1-31 bits is the address. 1. Which address does 1-31 bits point to ? 2. Do i need to specify some address in 1-31 bits so that the microcode gets copied to that location? 3. Or does it point to 0th location?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Dec 2019 16:01:52 GMT</pubDate>
    <dc:creator>kmanjushree</dc:creator>
    <dc:date>2019-12-01T16:01:52Z</dc:date>
    <item>
      <title>T1040 FMAN Microcode</title>
      <link>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994252#M3441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4a4a4d; background-color: #f2f2f5;"&gt;Hi &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4a4a4d; background-color: #f2f2f5;"&gt;If i need to load the FMAN microcode to T1040RDB then i will copy the microcode from NOR flash to FMan controller Configuration Data Download Registers using the fm_upload_ucode function. The first step in the fm_upload_ucode function is 1. /* enable address auto increase */ out_be32(&amp;amp;imem-&amp;gt;iadd, IRAM_IADD_AIE); 2. /* write microcode to IRAM */ for (i = 0; i &amp;lt; size / 4; i++) out_be32(&amp;amp;imem-&amp;gt;idata, (be32_to_cpu(ucode[i]))); As per the DPAA manual, imem-&amp;gt;iadd is FMCDADDR i.e address register. So '0' bit corresponds to Auto increment enable and 1-31 bits is the address. 1. Which address does 1-31 bits point to ? 2. Do i need to specify some address in 1-31 bits so that the microcode gets copied to that location? 3. Or does it point to 0th location?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Dec 2019 16:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994252#M3441</guid>
      <dc:creator>kmanjushree</dc:creator>
      <dc:date>2019-12-01T16:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: T1040 FMAN Microcode</title>
      <link>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994253#M3442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the U-Boot source code:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/qoriq-open-source/u-boot/blob/b3f98d438eefd1b355efdec0b50af5813ff8d0e1/drivers/net/fm/fm.c" title="https://github.com/qoriq-open-source/u-boot/blob/b3f98d438eefd1b355efdec0b50af5813ff8d0e1/drivers/net/fm/fm.c"&gt;u-boot/fm.c at b3f98d438eefd1b355efdec0b50af5813ff8d0e1 · qoriq-open-source/u-boot · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/qoriq-open-source/u-boot/blob/b3f98d438eefd1b355efdec0b50af5813ff8d0e1/include/configs/T104xRDB.h" title="https://github.com/qoriq-open-source/u-boot/blob/b3f98d438eefd1b355efdec0b50af5813ff8d0e1/include/configs/T104xRDB.h"&gt;u-boot/T104xRDB.h at b3f98d438eefd1b355efdec0b50af5813ff8d0e1 · qoriq-open-source/u-boot · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 16:24:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994253#M3442</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2019-12-02T16:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: T1040 FMAN Microcode</title>
      <link>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994254#M3443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       I am not using uboot. But I followed the same open source uboot code. In fm_eth_send function,&lt;/P&gt;&lt;P&gt;I am stuck at this point,&lt;/P&gt;&lt;P&gt;for (i = 0; muram_readw(&amp;amp;txbd-&amp;gt;status) &amp;amp; TxBD_READY; i++) {&lt;/P&gt;&lt;P&gt;                             udelay(100);&lt;/P&gt;&lt;P&gt;                             if (i &amp;gt; 0x10000) {&lt;/P&gt;&lt;P&gt;                                           printf("%s: Tx error, txbd-&amp;gt;status = 0x%x\n",&lt;/P&gt;&lt;P&gt;                                                  dev-&amp;gt;name, muram_readw(&amp;amp;txbd-&amp;gt;status));&lt;/P&gt;&lt;P&gt;                                           return 0;&lt;/P&gt;&lt;P&gt;                             }&lt;/P&gt;&lt;P&gt;              }&lt;/P&gt;&lt;P&gt;Packets are not transmitted out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I debug this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manjushree K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 13:24:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994254#M3443</guid>
      <dc:creator>kmanjushree</dc:creator>
      <dc:date>2019-12-03T13:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: T1040 FMAN Microcode</title>
      <link>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994255#M3444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to refer to the U-Boot source code to understand how FMan microcode has to be correctly loaded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 14:32:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994255#M3444</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2019-12-03T14:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: T1040 FMAN Microcode</title>
      <link>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994256#M3445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             I am able to load the microcode. So the Ethernet driver which I developed is working on T1040RDB. The same driver I am trying to use on T1022 custom board. Its not working.&lt;/P&gt;&lt;P&gt;Is it a hardware issue?&lt;/P&gt;&lt;P&gt;If yes then how I can do the basic test to check if the hardware is fine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manjushree K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 03:25:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994256#M3445</guid>
      <dc:creator>kmanjushree</dc:creator>
      <dc:date>2019-12-06T03:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: T1040 FMAN Microcode</title>
      <link>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994257#M3446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #000000; font-size: 16px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1) This is not a hardware issue because&amp;nbsp;SGMII MAC3 should behave identically for&amp;nbsp; T1022&amp;nbsp;with&amp;nbsp;SerDes protocol 0x85 and&amp;nbsp;T1040 with SerDes protocol 0x66.&lt;/SPAN&gt;&lt;BR clear="none" /&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;2) Please use a debugger to check the driver code execution.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 06:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1040-FMAN-Microcode/m-p/994257#M3446</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2019-12-06T06:56:45Z</dc:date>
    </item>
  </channel>
</rss>

