<?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: sd card layout for LS1046a?</title>
    <link>https://community.nxp.com/t5/Layerscape/sd-card-layout-for-LS1046a/m-p/608664#M1722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;The &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;u-boot-sdcard.bin file contains RCW, PBL and u-boot code. See part of hex dump in the attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;The LS1046a boot ROM provides loading from block 8 of the SD card.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&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>Mon, 19 Dec 2016 06:56:56 GMT</pubDate>
    <dc:creator>Pavel</dc:creator>
    <dc:date>2016-12-19T06:56:56Z</dc:date>
    <item>
      <title>sd card layout for LS1046a?</title>
      <link>https://community.nxp.com/t5/Layerscape/sd-card-layout-for-LS1046a/m-p/608663#M1721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any detailed documentation on how to put together RCW, u-boot image, linux kernel, and root filesystem on a single sd card? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with the LS1046ardb using NXP SDK 2.0. &amp;nbsp;So far I have built &lt;SPAN class=""&gt;fsl-image-minimal and then written the image&amp;nbsp;&lt;/SPAN&gt;tmp/deploy/images/ls1046ardb/u-boot-sdcard.bin to sd card with,&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;&lt;SPAN style="background-color: #fbfaf8; color: #4d2f2d; font-size: 12px; font-family: 'andale mono', monospace;"&gt;sudo dd if=u-boot-sdcard.bin of=/dev/disk2 bs=512 seek=8&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This works fine, but I'm wondering why it needs to be written 4K bytes into the sd card. &amp;nbsp;And what other offsets are appropriate for the other components &amp;nbsp;like RCW, linux kernel, and rootfs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This topic is&amp;nbsp;almost addressed in&amp;nbsp;&lt;EM&gt;3.3.1.8 Programming a New U-Boot, RCW and FMan Ucode&lt;/EM&gt; on page 38 of&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/supporting-information/QORIQ_LS1046A_BSP_V0-4_REV-A.pdf?&amp;amp;fasp=1&amp;amp;WT_TYPE=Supporting%20Information&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;QorIQ LS1046A BSP v0.4&lt;/A&gt;, but that section only addresses writing u-boot to sd card - nothing else. &amp;nbsp;It tells me I need to start&amp;nbsp;the u-boot&amp;nbsp;image 8*512 bytes into the card, but doesn't say anything about what can come before or after.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 16:39:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/sd-card-layout-for-LS1046a/m-p/608663#M1721</guid>
      <dc:creator>cswarth</dc:creator>
      <dc:date>2016-12-13T16:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: sd card layout for LS1046a?</title>
      <link>https://community.nxp.com/t5/Layerscape/sd-card-layout-for-LS1046a/m-p/608664#M1722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;The &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;u-boot-sdcard.bin file contains RCW, PBL and u-boot code. See part of hex dump in the attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;The LS1046a boot ROM provides loading from block 8 of the SD card.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&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>Mon, 19 Dec 2016 06:56:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/sd-card-layout-for-LS1046a/m-p/608664#M1722</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2016-12-19T06:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: sd card layout for LS1046a?</title>
      <link>https://community.nxp.com/t5/Layerscape/sd-card-layout-for-LS1046a/m-p/608665#M1723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to follow-up on my own question since it looks like some people occasionally stumble across this.&lt;/P&gt;&lt;P&gt;The layout the sdcard for the LS1046A is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;Micro SD Card memory Map on LS1046A&lt;/DIV&gt;&lt;DIV&gt;----------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Block&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#blocks* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Definition&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Size&lt;/DIV&gt;&lt;DIV&gt;0x008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2048&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;u-boot img&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1MB&lt;/DIV&gt;&lt;DIV&gt;0x800&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;u-boot env&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;8KB&lt;/DIV&gt;&lt;DIV&gt;0x820&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0128&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FMAN ucode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;64KB&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;*Each block is 512 bytes&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;As mentioned in the other reply, the u-boot img contains the reset config word (RCW),&amp;nbsp;some prebvoot loader (PBL) commands, the secondary program loader (SPL), and the u-boot image itself. &amp;nbsp;These are all conveniently packaged for you when targeting the ls1046ardb board.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2017 22:57:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/sd-card-layout-for-LS1046a/m-p/608665#M1723</guid>
      <dc:creator>cswarth</dc:creator>
      <dc:date>2017-04-14T22:57:04Z</dc:date>
    </item>
  </channel>
</rss>

