<?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>i.MX ProcessorsのトピックRe: u-boot spi flash</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235436#M18591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I could understand from the BOOT section in the document. To boot from a SATA, I need to use the BOOT_CFG1[7:4] bits to set that I want to boot from the SATA?&lt;/P&gt;&lt;P&gt;Are these bits used when booting in eFuse mode or do I always have to start in "Internal mode" to use these bits?&lt;/P&gt;&lt;P&gt;So if I want to be able to boot from either SATA or SD card, I probably have to use some type of SPI flash where it starts the u-boot, which then starts the image on the desired device (SATA or SD card)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Sep 2013 19:18:29 GMT</pubDate>
    <dc:creator>niklasmolin</dc:creator>
    <dc:date>2013-09-17T19:18:29Z</dc:date>
    <item>
      <title>u-boot spi flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235434#M18589</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;This might be a stupid question.&lt;/P&gt;&lt;P&gt;I assume that the Sabre Lite board is using the SPI flash to start the u-boot?&lt;/P&gt;&lt;P&gt;If so, is it possible to put some boot code in the internal memory to start up a Linux image (running my image from a SSD drive or a SD card).&lt;/P&gt;&lt;P&gt;Or do I need to have a SPI flash to be able to load the u-boot?&lt;/P&gt;&lt;P&gt;Is it possible to boot direct from a SATA interface and include the u-boot in the SSD drive?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 00:27:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235434#M18589</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2013-09-17T00:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot spi flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235435#M18590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; I think it's possible to boot from SATA directly.See details in System Boot chapter Boot Devices.&lt;/P&gt;&lt;P&gt;&amp;nbsp; IVT offset for SATA is also 0x400. So program uboot.bin in 0x400 for SATA boot and change BOOT setting to SATA.&lt;/P&gt;&lt;P&gt;&amp;nbsp; In my opinion ,SPI flash can be as secondary boot device.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 03:51:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235435#M18590</guid>
      <dc:creator>raymondwang</dc:creator>
      <dc:date>2013-09-17T03:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot spi flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235436#M18591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I could understand from the BOOT section in the document. To boot from a SATA, I need to use the BOOT_CFG1[7:4] bits to set that I want to boot from the SATA?&lt;/P&gt;&lt;P&gt;Are these bits used when booting in eFuse mode or do I always have to start in "Internal mode" to use these bits?&lt;/P&gt;&lt;P&gt;So if I want to be able to boot from either SATA or SD card, I probably have to use some type of SPI flash where it starts the u-boot, which then starts the image on the desired device (SATA or SD card)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 19:18:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235436#M18591</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2013-09-17T19:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot spi flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235437#M18592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a brief :&lt;/P&gt;&lt;P&gt;1. boot from fuse mode always check CPU's Fuse setting to decide which device as a boot device;&lt;/P&gt;&lt;P&gt;2. serial downloader mode always enter MFG mode in despite of Fuse setting or GPIO override setting;&lt;/P&gt;&lt;P&gt;3. internal boot mode can use external GPIO setting to override fuse mode setting,so it's alternate setting to change boot device without&lt;/P&gt;&lt;P&gt;&amp;nbsp; change Fuse setting (Fuse setting is OTP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mode 1 and Mode 3 are behavior of eFuse Config &lt;STRONG&gt;BT_FUSE_SEL&lt;/STRONG&gt; not blowed. See below table for details. &lt;/P&gt;&lt;P&gt;It means a flag of Fuse setting is valid or not for CPU BOOT ROM ( I guess that)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="boot_efuse.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40731iC491A96B8377AB2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="boot_efuse.png" alt="boot_efuse.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; So for you application, I assume no Fuse settings was blowed, If you want to boot from SATA,&lt;/P&gt;&lt;P&gt;Step 1: change boot mode to internal boot mode;&lt;/P&gt;&lt;P&gt;Step 2: Change GPIO default setting mapping to BOOT_CFG1 BOOT_CFG2 BOOT_CFG3 BOOT_CFG4&lt;/P&gt;&lt;P&gt;These 4 BOOT_CFGs are 8bit setting ,totally 32bit and mapping to 32 GPIO setting.&lt;/P&gt;&lt;P&gt;BOOT_CFG1 should be 0x20&lt;/P&gt;&lt;P&gt;BOOT_CFG2~BOOT_CFG4 setting should be set per you application. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 02:39:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235437#M18592</guid>
      <dc:creator>raymondwang</dc:creator>
      <dc:date>2013-09-18T02:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot spi flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235438#M18593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Makes sens that BOOT_CFG are used in booth cases.&lt;/P&gt;&lt;P&gt;But I assume that if I use the BOOT_CFG to boot from SATA, I can only use SPI flash or USB as "fallback"?&lt;/P&gt;&lt;P&gt;If I want to be able to first try to boot from SD card and if it's not there, it should boot from SATA. Then I probably need to run a u-boot in a SPI flash and then from there try to boot the image on a SD card (if the SD card is not there, try to boot from SATA).&lt;/P&gt;&lt;P&gt;The idea is that the the image should be running from a SSD drive, but the user should be able to start up an image from a SD card in case some stuff needs to be updated.&lt;/P&gt;&lt;P&gt;In this case, the boot from the SD card needs to have higher priority than the SSD drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question,&lt;/P&gt;&lt;P&gt;Do you have experience with production of the MX6. What is the best way to initialize the processor in production?&lt;/P&gt;&lt;P&gt;Is it via USB or pre-program the SPI flash etc.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 19:16:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235438#M18593</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2013-09-18T19:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot spi flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235439#M18594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.Sorry no mass production experience on MX6. We are developing based on that only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. According your design idea, you wanna a secondary boot if booting from SD card failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp; In MX6 RM ,chapter system boot,there is detailed description on MX6 BOOT ROM behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp; From that, we know MX6 support recovery device but only I2C or SPI devices. So for your fallback &lt;/P&gt;&lt;P&gt;design, you can set default boot device to SD card,if it's failed ,recovery device i2c or SPI flash will&lt;/P&gt;&lt;P&gt;be secondary boot device. So SD card has higher priority boot sequence.&lt;/P&gt;&lt;P&gt; To covering your image loading from SD card or SATA, your bootloader (uboot) is the 2nd stage bootloader.&lt;/P&gt;&lt;P&gt;you can add more robust feature to loading image per your favorite sequence (SD card,SATA, or more others )&lt;/P&gt;&lt;P&gt; You may notice that I split the boot device and image host device to different scope. I may be the same one or&lt;/P&gt;&lt;P&gt;different one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. For MP, we advice SPI flash is pre-programmed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 12:16:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-spi-flash/m-p/235439#M18594</guid>
      <dc:creator>raymondwang</dc:creator>
      <dc:date>2013-09-19T12:16:30Z</dc:date>
    </item>
  </channel>
</rss>

