<?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 Creating LS1021A u-boot image to use with SD card in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Creating-LS1021A-u-boot-image-to-use-with-SD-card/m-p/664974#M2422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to prepare an SD card to boot LS1021A-TWR development board. The QorIQ-SDK (rev. 2) asks to program &lt;EM&gt;u-boot-with-spl-pbl-sd.bin&lt;/EM&gt;&amp;nbsp;to the SD card. When I run &lt;EM&gt;bitbake fsl-image-minimal&lt;/EM&gt;, I get the following u-boot images.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;u-boot.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-lpuart.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-ls1021atwr.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-nor.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-qspi.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-sdcard-ifc.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-sdcard-qspi.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-secure-boot.bin&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I build&amp;nbsp;&lt;EM&gt;u-boot-with-spl-pbl-sd.bin&lt;/EM&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are my u-boot settings&amp;nbsp;in &lt;EM&gt;ls1021atwr.conf&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;UBOOT_CONFIG ??= "sdcard-ifc sdcard-qspi lpuart qspi secure-boot nor"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[nor] = "ls1021atwr_nor_config,,u-boot-dtb.bin"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[sdcard-ifc] = "ls1021atwr_sdcard_ifc_config,,u-boot-with-spl-pbl.bin"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[sdcard-qspi] = "ls1021atwr_sdcard_qspi_config,,u-boot-with-spl-pbl.bin"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[lpuart] = "ls1021atwr_nor_lpuart_config,,u-boot-dtb.bin"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[qspi] = "ls1021atwr_qspi_config,,u-boot-dtb.bin"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[secure-boot] = "ls1021atwr_nor_SECURE_BOOT_config"&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jan 2017 05:07:39 GMT</pubDate>
    <dc:creator>rahulr</dc:creator>
    <dc:date>2017-01-06T05:07:39Z</dc:date>
    <item>
      <title>Creating LS1021A u-boot image to use with SD card</title>
      <link>https://community.nxp.com/t5/Layerscape/Creating-LS1021A-u-boot-image-to-use-with-SD-card/m-p/664974#M2422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to prepare an SD card to boot LS1021A-TWR development board. The QorIQ-SDK (rev. 2) asks to program &lt;EM&gt;u-boot-with-spl-pbl-sd.bin&lt;/EM&gt;&amp;nbsp;to the SD card. When I run &lt;EM&gt;bitbake fsl-image-minimal&lt;/EM&gt;, I get the following u-boot images.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;u-boot.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-lpuart.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-ls1021atwr.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-nor.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-qspi.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-sdcard-ifc.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-sdcard-qspi.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;u-boot-secure-boot.bin&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I build&amp;nbsp;&lt;EM&gt;u-boot-with-spl-pbl-sd.bin&lt;/EM&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are my u-boot settings&amp;nbsp;in &lt;EM&gt;ls1021atwr.conf&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;UBOOT_CONFIG ??= "sdcard-ifc sdcard-qspi lpuart qspi secure-boot nor"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[nor] = "ls1021atwr_nor_config,,u-boot-dtb.bin"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[sdcard-ifc] = "ls1021atwr_sdcard_ifc_config,,u-boot-with-spl-pbl.bin"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[sdcard-qspi] = "ls1021atwr_sdcard_qspi_config,,u-boot-with-spl-pbl.bin"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[lpuart] = "ls1021atwr_nor_lpuart_config,,u-boot-dtb.bin"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[qspi] = "ls1021atwr_qspi_config,,u-boot-dtb.bin"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;UBOOT_CONFIG[secure-boot] = "ls1021atwr_nor_SECURE_BOOT_config"&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 05:07:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Creating-LS1021A-u-boot-image-to-use-with-SD-card/m-p/664974#M2422</guid>
      <dc:creator>rahulr</dc:creator>
      <dc:date>2017-01-06T05:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating LS1021A u-boot image to use with SD card</title>
      <link>https://community.nxp.com/t5/Layerscape/Creating-LS1021A-u-boot-image-to-use-with-SD-card/m-p/664975#M2423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The&amp;nbsp;&lt;EM&gt;u-boot-sdcard-ifc.bin &lt;/EM&gt;and&lt;EM&gt; &lt;/EM&gt;&lt;EM&gt;u-boot-sdcard-qspi.bin&lt;/EM&gt; are complete images each of which has the RCW combined with the preboot load instructions (PBI), the U-Boot secondary program loader (SPL), and the main U-Boot executable. &amp;nbsp;The only operation required is to put either image to SD card starting at block 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 17:37:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Creating-LS1021A-u-boot-image-to-use-with-SD-card/m-p/664975#M2423</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2017-01-06T17:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating LS1021A u-boot image to use with SD card</title>
      <link>https://community.nxp.com/t5/Layerscape/Creating-LS1021A-u-boot-image-to-use-with-SD-card/m-p/664976#M2424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Out of curiosity, what is the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;u-boot-with-spl-pbl-sd.bin&lt;/EM&gt;&lt;/SPAN&gt;&amp;nbsp;file? The QorIQ SDK documention mentions about, I could also see it in the &lt;EM&gt;ls1021atwr.conf&lt;/EM&gt; file.&lt;/P&gt;&lt;P&gt;Where does bitbake/yocto recipe gets the RCW and PBI? What is the procedure if I need to change the RCW or PBI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, this is how I got the SD boot working.&lt;/P&gt;&lt;P&gt;1. Program the SD card from PC:&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;sudo dd &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;u&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;boot&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;sdcard&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;ifc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;bin of&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;dev&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;mmcblk0 bs&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;512&lt;/SPAN&gt; seek&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="padding-left: 30px;"&gt;or&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;sudo dd &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;u&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;boot&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;sdcard&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;qspi&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;bin of&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;dev&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;mmcblk0 bs&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;512&lt;/SPAN&gt; seek&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;2. Change the LS1021A-TWR switch settings:&lt;/P&gt;&lt;P&gt;SW2 - 00100111&lt;/P&gt;&lt;P&gt;SW3 - 01100101&lt;/P&gt;&lt;P&gt;3. Plug the SD card to LS1021A-TWR and reset it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 20:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Creating-LS1021A-u-boot-image-to-use-with-SD-card/m-p/664976#M2424</guid>
      <dc:creator>rahulr</dc:creator>
      <dc:date>2017-01-06T20:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating LS1021A u-boot image to use with SD card</title>
      <link>https://community.nxp.com/t5/Layerscape/Creating-LS1021A-u-boot-image-to-use-with-SD-card/m-p/664978#M2426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool, this makes lot of sense. I guess the proper way to modify the RCW is to create a yocto recipe to patch the RCW and run bitbake to build the image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 19:27:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Creating-LS1021A-u-boot-image-to-use-with-SD-card/m-p/664978#M2426</guid>
      <dc:creator>rahulr</dc:creator>
      <dc:date>2017-01-09T19:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating LS1021A u-boot image to use with SD card</title>
      <link>https://community.nxp.com/t5/Layerscape/Creating-LS1021A-u-boot-image-to-use-with-SD-card/m-p/664979#M2427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's probably the right way to go if you're in the NXP SDK. &amp;nbsp; Since I'm spending so much time diddling with uboot, I cloned the &lt;A href="http://git.denx.de/?p=u-boot/u-boot-fsl-qoriq.git;a=summary"&gt;fsl-qoriq U-Boot Custodian Tree&lt;/A&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;repo and build uboot directly, without the overhead of yocto and the NXP SDK. &amp;nbsp; &amp;nbsp;I'll get back to using the NXP SDK again when I am ready to bring up linux.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 20:32:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Creating-LS1021A-u-boot-image-to-use-with-SD-card/m-p/664979#M2427</guid>
      <dc:creator>cswarth</dc:creator>
      <dc:date>2017-01-09T20:32:33Z</dc:date>
    </item>
  </channel>
</rss>

