<?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: LS1043A - Flashing SD Card</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1043A-Flashing-SD-Card/m-p/1028500#M5629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do understand that - I am asking for some guidance if our u-boot is larger than the allocated area.&lt;/P&gt;&lt;P&gt;As indicated from the original post, we were given by NXP a script that wrote these 3&amp;nbsp;sections:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;dd if=u.bin of=/dev/mmcblk0 bs=512 seek=8 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; dd if=fsl_fman_ucode_t2080_r1.1_108_4_5.bin of=/dev/mmcblk0 bs=512 seek=1500 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; dd if=iram_Type_A_LS1021a_r1.0.bin of=/dev/mmcblk0 bs=512 seek=1580 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;But, when writing u-boot (&lt;STRONG style="border: 0px; font-weight: bold;"&gt;dd if=u.bin of=/dev/mmcblk0 bs=512 seek=8 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;) indicates:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;"&lt;STRONG&gt;1621+1 records out&lt;/STRONG&gt;"&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Unfortunately, the fma code starts being written&amp;nbsp;at sector 1500... thus overwriting our code.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;Are you saying that the script we have&amp;nbsp;is wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom Morrison&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2020 12:42:08 GMT</pubDate>
    <dc:creator>tmorrison</dc:creator>
    <dc:date>2020-03-30T12:42:08Z</dc:date>
    <item>
      <title>LS1043A - Flashing SD Card</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Flashing-SD-Card/m-p/1028498#M5627</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;Currently I have a script that flashes the SD Card as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;dd if=u.bin of=/dev/mmcblk0 bs=512 seek=8 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; dd if=fsl_fman_ucode_t2080_r1.1_108_4_5.bin of=/dev/mmcblk0 bs=512 seek=1500 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; dd if=iram_Type_A_LS1021a_r1.0.bin of=/dev/mmcblk0 bs=512 seek=1580 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was having problems when the SPL was loading that part of the data was being corrupted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I had a thought. What if the U-Boot was extending beyond the 1500 sector where I write&lt;/P&gt;&lt;P&gt;the fsl_fman_ucodexxx.bin?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, if I changed these lines to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; dd if=fsl_fman_ucode_t2080_r1.1_108_4_5.bin of=/dev/mmcblk0 bs=512 seek=1800 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; dd if=iram_Type_A_LS1021a_r1.0.bin of=/dev/mmcblk0 bs=512 seek=1880 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U-Boot data wasn't being corrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QUESTION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What module does the loading of the fsl_fma_xxx.bin from sector &lt;STRONG&gt;1500&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;What module does the loading of the iram_Type_xxxx.bin from sector 1580&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, I need to modify these locations in software!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2020 19:54:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Flashing-SD-Card/m-p/1028498#M5627</guid>
      <dc:creator>tmorrison</dc:creator>
      <dc:date>2020-03-27T19:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A - Flashing SD Card</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Flashing-SD-Card/m-p/1028499#M5628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="356250" data-username="tmorrison@pulselink.net" href="https://community.nxp.com/people/tmorrison@pulselink.net" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Thomas Morrison&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to section "4.2 LSDK memory layout and Userland" in LSDK 19.09 user manual which could be downloaded from&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/design/software/embedded-software/linux-software-and-development-tools/layerscape-software-development-kit:LAYERSCAPE-SDK?tab=Documentation_Tab" title="https://www.nxp.com/design/software/embedded-software/linux-software-and-development-tools/layerscape-software-development-kit:LAYERSCAPE-SDK?tab=Documentation_Tab"&gt;Layerscape SDK | NXP&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;DPAA1 FMAN ucode should be deploy at block no. 0x04800(18432)&lt;BR /&gt;QE firmware should be deployed at block no. 0x04A00(18944)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yiping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 04:34:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Flashing-SD-Card/m-p/1028499#M5628</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-03-30T04:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A - Flashing SD Card</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Flashing-SD-Card/m-p/1028500#M5629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do understand that - I am asking for some guidance if our u-boot is larger than the allocated area.&lt;/P&gt;&lt;P&gt;As indicated from the original post, we were given by NXP a script that wrote these 3&amp;nbsp;sections:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;dd if=u.bin of=/dev/mmcblk0 bs=512 seek=8 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; dd if=fsl_fman_ucode_t2080_r1.1_108_4_5.bin of=/dev/mmcblk0 bs=512 seek=1500 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; dd if=iram_Type_A_LS1021a_r1.0.bin of=/dev/mmcblk0 bs=512 seek=1580 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;But, when writing u-boot (&lt;STRONG style="border: 0px; font-weight: bold;"&gt;dd if=u.bin of=/dev/mmcblk0 bs=512 seek=8 &amp;amp;&amp;amp; sync&lt;/STRONG&gt;) indicates:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;"&lt;STRONG&gt;1621+1 records out&lt;/STRONG&gt;"&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Unfortunately, the fma code starts being written&amp;nbsp;at sector 1500... thus overwriting our code.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;Are you saying that the script we have&amp;nbsp;is wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom Morrison&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 12:42:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Flashing-SD-Card/m-p/1028500#M5629</guid>
      <dc:creator>tmorrison</dc:creator>
      <dc:date>2020-03-30T12:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A - Flashing SD Card</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-Flashing-SD-Card/m-p/1028501#M5630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind - I figured it out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have many more questions though&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 22:35:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-Flashing-SD-Card/m-p/1028501#M5630</guid>
      <dc:creator>tmorrison</dc:creator>
      <dc:date>2020-03-30T22:35:36Z</dc:date>
    </item>
  </channel>
</rss>

