<?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 Re: Unable to boot from spansion SPI Flash in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363068#M51287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is Spansion Engineering Solutions&amp;nbsp; (SES).&amp;nbsp; We have just been alerted of this issue, so please excuse me if the information detailed is redundant.&lt;/P&gt;&lt;P&gt;Just curious, did you attempt to use Linux MTD v3.0.15, u-boot patch for i.MX28 (08//09/2012, and u-boot patch for SPI FLASH (08/01/2013)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drive Software web page:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.spansion.com/Support/Pages/DriversSoftware.aspx" title="http://www.spansion.com/Support/Pages/DriversSoftware.aspx"&gt;Software for NOR Flash, Serial Flash, SPI Flash, NAND Flash&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;AB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 22:17:24 GMT</pubDate>
    <dc:creator>albert_b</dc:creator>
    <dc:date>2015-01-21T22:17:24Z</dc:date>
    <item>
      <title>Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363065#M51284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am using customized imx28 board. I am able to boot from SD card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But SPI boot is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When I tried to boot from SPI, it prints &lt;STRONG&gt;0x80501003&lt;/STRONG&gt; error code(&lt;EM&gt; The file signature or file version is incorrec&lt;/EM&gt;t ) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp; Linux BSP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2.6.35.3-1.1.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uboot version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :u-boot-2009.08 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Processor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :i.mx281&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPI NOR Flash&amp;nbsp;&amp;nbsp; :Spansion S25FL256S_64K&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have applied the uboot and kernel patches which are specified in this thread &lt;A href="https://community.nxp.com/docs/DOC-93632"&gt;How to enable SPI NOR boot for i.MX28 (Spansion s25fl256s)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have faced an issue while detecting the flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49042i7EFC580C99A01FBF/image-size/large?v=v2&amp;amp;px=999" title="Selection_030.png" alt="Selection_030.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have added ss1,ss2 pins to spi pin desc struct .( mx28_evk.c file ) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; After that sf probe detected the SPANSION flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; sf probe 2:0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sf set_config_reg 0x04&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sf erase 0x0 0x300000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sf write 0x42000000 0x0 0x300000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The linux boot stream image is written to flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then I set boot mode to 0010.But I am&amp;nbsp; getting &lt;STRONG&gt;0x80501003 ROM error code&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 05:22:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363065#M51284</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2015-01-21T05:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363066#M51285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PtAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is size of linux boot stream image,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0x300000 &lt;/STRONG&gt;is just 3MB, is it sufficient ?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 06:26:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363066#M51285</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-01-21T06:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363067#M51286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it is sufficient .&lt;/P&gt;&lt;P&gt;Linux boot stream image is 2.6MB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 11:33:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363067#M51286</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2015-01-21T11:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363068#M51287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is Spansion Engineering Solutions&amp;nbsp; (SES).&amp;nbsp; We have just been alerted of this issue, so please excuse me if the information detailed is redundant.&lt;/P&gt;&lt;P&gt;Just curious, did you attempt to use Linux MTD v3.0.15, u-boot patch for i.MX28 (08//09/2012, and u-boot patch for SPI FLASH (08/01/2013)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drive Software web page:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.spansion.com/Support/Pages/DriversSoftware.aspx" title="http://www.spansion.com/Support/Pages/DriversSoftware.aspx"&gt;Software for NOR Flash, Serial Flash, SPI Flash, NAND Flash&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;AB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 22:17:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363068#M51287</guid>
      <dc:creator>albert_b</dc:creator>
      <dc:date>2015-01-21T22:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363069#M51288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; Please refer to the following slide deck which describes in details how to fully boot from Spansion's SPI flash:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/299938-167438/2-i.MX28_Building_Blocks.pptx" title="https://community.freescale.com/servlet/JiveServlet/download/299938-167438/2-i.MX28_Building_Blocks.pptx"&gt;https://community.freescale.com/servlet/JiveServlet/download/299938-167438/2-i.MX28_Building_Blocks.pptx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;On this slide deck, you can also see that there is even some h/w modifications required on the i.MX28 EVK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; I see that you're relocating the parameter blocks (4kB) at the top of the array (high addresses) which is actually good for boot images.&lt;/P&gt;&lt;P&gt;Please double check that the configuration register was correctly set to 0x4 as you did using the command: "sf set_config_reg 0x04"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; I suspect your system is not able to boot because of wrong image format programmed to the SPI flash (SPI config block, u-boot...).&lt;/P&gt;&lt;P&gt;Here is an example of how your flash content should look like at offset 0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48179i656B20D3DBFAD010/image-size/large?v=v2&amp;amp;px=999" title="flash_content.png" alt="flash_content.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On our system (also i.MX28 EVK) which should be similar to yours:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;- At offset, we have the SPI config block,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;- At offset 0x1000, you should be able to find your u-boot,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- At offset 0x50000, you should find your Linux Kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please dump your flash content after you program the boot images and make sure that you have the right image formats in there.&lt;/P&gt;&lt;P&gt;I see that you're copying your images from offset: "0x42000000" to the SPI flash using the following command: "sf write 0x42000000 0x0 0x300000". How are the boot images first loaded to this offset "0x42000000".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt; Where is your rootfs located. If you're willing to boot everything from SPI flash, then 3MB is definitely not enough for uboot+kernel+rootfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Bacem Daassi&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Spansion Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 09:41:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363069#M51288</guid>
      <dc:creator>BacemDaassi</dc:creator>
      <dc:date>2015-01-22T09:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363070#M51289</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/albert_b"&gt;albert_b&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I will refer those patches which are specified by you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have applied the patches which are specified in the following thread &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://community.nxp.com/docs/DOC-93632"&gt;How to enable SPI NOR boot for i.MX28 (Spansion s25fl256s)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/BacemDaassi"&gt;BacemDaassi&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. I will refer that ppt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. I had used&lt;STRONG&gt; sf get_config_re&lt;/STRONG&gt;g command to check configuration register. The register is correctly set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.My spansion flash content doesn't looks like the example that you shared here. At offset zero , I am writing linux boot stream image(imx28_ivt_linux.sb).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; My aim is to store linux boot stream image and rootfs.jffs2 on SPI flash.( not using uboot boot stream image (imx28_ivt_uboot.sb)).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; I don't have spi config block. In my linux BSP code, I couldn't found it.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have used &lt;STRONG&gt;'loady'&lt;/STRONG&gt; to download image to&lt;STRONG&gt; 0x42000000&lt;/STRONG&gt;. I have tried another method too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Another method:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copied the boot stream image to sd card. (Created a fat partition in SD to store the file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; And&lt;STRONG&gt; fatload&lt;/STRONG&gt; command is used to load the image to&lt;STRONG&gt; "0x42000000".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&amp;nbsp; 4.&amp;nbsp; I want to store rootfs.jffs2 on SPI. &lt;STRONG&gt;The 3MB is for linux boot stream image&lt;/STRONG&gt;. 3MB partition is only for boot stream image,&amp;nbsp; not for boot-stream-image + rootfs.jffs2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The rootfs is almost 20MB. I have partitioned SPI as mtd0(3MB) and mtd1(21MB).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mtd0 : linux boot stream image&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mtd1: rootfs.jffs2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pt A R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 13:14:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363070#M51289</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2015-01-23T13:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363071#M51290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hello Pt A R,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Yes, please refer to the slide deck I sent you in my previous post. There, you will find useful information about how to configure your system to make it boot out of SPI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I think you must have the SPI config block at the very beginning of your flash since that's the first area that's being read by the ROM code in order to do the init first of your SPI (needed for code shadowing: SPI --&amp;gt; RAM). If this block is not there, then this might explain your issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I think you can reuse the SPI config block content I included in my previous post and give it a try.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Maybe you're missing the Boot setup in your BSP and you just need to tell it that you want to build it for a SPI boot. Once you configure it the right way, it should output the correct image format to be flashed to the SPI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Booting completely out of our FL-S SPI is definitely possible and the partitioning (for Kernel+rootfs) you mentioned earlier should be fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Bacem Daassi&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Spansion Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 16:23:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363071#M51290</guid>
      <dc:creator>BacemDaassi</dc:creator>
      <dc:date>2015-01-26T16:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363072#M51291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/BacemDaassi"&gt;BacemDaassi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have seen spi-config-block file in the following link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A class="moz-txt-link-freetext" href="https://github.com/embeddedarm/linux-2.6.35.3-imx28/blob/master/imx-bootlets-src-10.12.01/spi-build.c"&gt;https://github.com/embeddedarm/linux-2.6.35.3-imx28/blob/master/imx-bootlets-src-10.12.01/spi-build.c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is the spi-config-block is similar to this file? Can I take this as an example to build spi-config-block?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt A R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 04:34:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363072#M51291</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2015-01-29T04:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363073#M51292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Hello Pt A R,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;This looks like a good alternative to generate the config block and include it in your boot image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Please also refer to the following link which includes more details about how to integrate this extra module into your build:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;A href="https://github.com/embeddedarm/linux-2.6.35.3-imx28/commit/fbbc71030c5de8e054d1b5151703bbcb9076c419" title="https://github.com/embeddedarm/linux-2.6.35.3-imx28/commit/fbbc71030c5de8e054d1b5151703bbcb9076c419"&gt;https://github.com/embeddedarm/linux-2.6.35.3-imx28/commit/fbbc71030c5de8e054d1b5151703bbcb9076c419&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;There you can find: "Makefile", "spi-build.c" and even the binary "spi-build" were all included.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Please give it a try and let me know how things will work for you. &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Bacem Daassi&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Spansion Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 10:28:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363073#M51292</guid>
      <dc:creator>BacemDaassi</dc:creator>
      <dc:date>2015-01-29T10:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363074#M51293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/BacemDaassi"&gt;BacemDaassi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The necessary changes has been applied to my bootlet code to build imx28_ivt_linux.spi.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But the hex dump of this file differs from the example that you have shared here. The file signature mismatches.&amp;nbsp; The hex content looks like that it is swapped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49767iCA964C60334A4AFA/image-size/large?v=v2&amp;amp;px=999" title="Selection_036.png" alt="Selection_036.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I checked the spi-build.c code and corrected it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49768i1D6086CCA33FCE44/image-size/large?v=v2&amp;amp;px=999" title="Selection_041.png" alt="Selection_041.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49769i1ABD82C8226F7734/image-size/large?v=v2&amp;amp;px=999" title="Selection_040.png" alt="Selection_040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now the hex dump looks similar to your example. But still I am getting that ROM error code &lt;STRONG&gt;H0x80501003 - &lt;EM&gt;The file signature or file version is incorrec&lt;/EM&gt;t.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt A R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 05:05:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363074#M51293</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2015-01-30T05:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363075#M51294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Hello Pt A R,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;I'm pretty sure that you're having an endianess issue here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Please refer to the iMX28 reference manuel which you can get from here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;A href="http://cache.freescale.com/files/dsp/doc/ref_manual/MCIMX28RM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" title="http://cache.freescale.com/files/dsp/doc/ref_manual/MCIMX28RM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;http://cache.freescale.com/files/dsp/doc/ref_manual/MCIMX28RM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE…&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;On page 1028 of the RM, you can find the format of the config block.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;From the binary image you sent above, I can see that the BootStartAddr is 0x00000400. Did you write your u-boot to this address?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Could you please try to use the config block I included in my other post as it is and give it a try?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;By the way, to make the SPI work on i.MX28 EVK, some resistors need to be added to the board. Did you already add those?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Bacem Daassi&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Spansion Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 12:03:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363075#M51294</guid>
      <dc:creator>BacemDaassi</dc:creator>
      <dc:date>2015-01-30T12:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363076#M51295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/BacemDaassi"&gt;BacemDaassi&lt;/A&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;From the binary image you sent above, I can see that the BootStartAddr is 0x00000400. Did you write your u-boot to this address?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;In my project, we are using linux boot stream image and rootfs only. So that we have written imx28_ivt_linux.sb on 0x400.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50114i30618256B61D1C10/image-size/large?v=v2&amp;amp;px=999" title="Selection_042.png" alt="Selection_042.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;Could you please try to use the config block I included in my other post as it is and give it a try?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-weight: inherit;"&gt;I didn't see any config block.You had shared its hex dump only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;By the way, to make the SPI work on i.MX28 EVK, some resistors need to be added to the board. Did you already add those?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50115i8D6423263ACDD0FD/image-size/large?v=v2&amp;amp;px=999" title="Selection_030.png" alt="Selection_030.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt A R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 10:56:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363076#M51295</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2015-02-02T10:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363077#M51296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hello Pt A R,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Please provide me with your email address so that I can send you the full flash image we used in our lab here to fully boot from our S25FL129S SPI device using the i.MX28 EVK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I wasn't able to include the file in this thread.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This file will contain the config block, u-boot, Linux Kernel and rootfs.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Bacem Daassi&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Spansion Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 14:41:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363077#M51296</guid>
      <dc:creator>BacemDaassi</dc:creator>
      <dc:date>2015-02-02T14:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363078#M51297</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you. I have sent you my email id. Please check your message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt A R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 07:13:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363078#M51297</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2015-02-03T07:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363079#M51298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/BacemDaassi"&gt;BacemDaassi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tested using the image that you had shared. But we are getting the same ROM error code - H0X80501003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt A R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 06:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363079#M51298</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2015-02-09T06:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363080#M51299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Hello Pt A R,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Are you making sure to fully erase the flash every time you want to program something new to it?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Programming without a prior erase will definitely make you end up with a corrupted SPI flash content.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Therefore, you should use the erase command: &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&amp;gt; sf erase 0x0 0x&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;2000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then the program command:&lt;/P&gt;&lt;P&gt;&amp;gt; sf write 0x42000000 0 0x2000000&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please also double check that you have the right image loaded to address 0x42000000.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Bacem Daassi&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Spansion Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 13:48:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363080#M51299</guid>
      <dc:creator>BacemDaassi</dc:creator>
      <dc:date>2015-02-10T13:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363081#M51300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/BacemDaassi"&gt;BacemDaassi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always erase the flash before writing&amp;nbsp; image to it. I have checked the hex format of image. &lt;/P&gt;&lt;P&gt;Also I have read back the image after resetting. Then I checked the first two-three blocks of it, and it matches with the flash image.&lt;/P&gt;&lt;P&gt;From this,it is sure that the image didn't get corrupted.&lt;/P&gt;&lt;P&gt;But still I am getting the&lt;EM&gt; &lt;STRONG&gt;"H0x80501003 - The file signature or file version is incorrect&lt;/STRONG&gt;&lt;/EM&gt; ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Mar 2015 10:42:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363081#M51300</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2015-03-07T10:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363082#M51301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hello Pt A R,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Here is the official u-boot documentation about booting the i.MX28 EVK from SPI:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;A href="http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.mxs;h=ed2e5688562ac1af55a7c6213f5f3eb825e055b8;hb=HEAD" title="http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.mxs;h=ed2e5688562ac1af55a7c6213f5f3eb825e055b8;hb=HEAD"&gt;http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.mxs;h=ed2e5688562ac1af55a7c6213f5f3eb825e055b8;hb=HEAD&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;A href="http://git.denx.de/?p=u-boot.git;a=blob;f=board/freescale/mx28evk/README;h=f9d6324114191f629fbc8b823555ea20d6eccc1b;hb=HEAD" title="http://git.denx.de/?p=u-boot.git;a=blob;f=board/freescale/mx28evk/README;h=f9d6324114191f629fbc8b823555ea20d6eccc1b;hb=HEAD"&gt;http://git.denx.de/?p=u-boot.git;a=blob;f=board/freescale/mx28evk/README;h=f9d6324114191f629fbc8b823555ea20d6eccc1b;hb=HEAD&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;Well, I think you already followed these steps. But let me ask you to &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;double check the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;----------------------------------------&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;To boot MX28EVK from SPI NOR flash, set the boot mode DIP switches as:&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;* Boot Mode Select: 0 0 1 0 (Boot from SSP2)&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;* JTAG PSWITCH RESET: To the right (reset disabled)&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;* Battery Source: Down&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;* Wall 5V: Up&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;* VDD 5V: To the left (off)&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;* Hold Button: Down (off)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em; color: #000000; font-size: 12px; font-family: monospace;"&gt;"make mx28evk_spi_config"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - store enviroment variables into SPI NOR flash&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;Choose the target accordingly.&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt;Note: mx28evk does not come with SPI NOR flash populated from the factory.&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt; It is possible to solder a SOIC memory on U49 or use a DIP8 on J89.&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt; To get SPI communication to work R320, R321,R322 and C178 need to be populated.&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt; Look in the schematics for the proper component values.&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt; Follow the instructions from doc/README.mxs to generate a bootable SD card or&lt;/P&gt;&lt;P class="pre" style="font-family: monospace; font-size: small; color: #000000;"&gt; to generate a binary to be flashed into SPI NOR.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em; color: #000000; font-size: 12px; font-family: monospace;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em; color: #000000; font-size: 12px; font-family: monospace;"&gt;Last step is to power up the board and U-boot should start from SPI NOR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em; color: #000000; font-size: small; font-family: monospace;"&gt;----------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I hope this will help solving your issue. Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Bacem Daassi&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Cypress / &lt;/SPAN&gt;Spansion Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 12:08:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363082#M51301</guid>
      <dc:creator>BacemDaassi</dc:creator>
      <dc:date>2015-03-23T12:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363083#M51302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/BacemDaassi"&gt;BacemDaassi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Is it mandatory to populate R320, R321,R322 and C178?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;MCIMX28EVK&lt;/STRONG&gt;, I have successfully booted up from SPI (&lt;STRONG&gt;Numonyx N25Q128&lt;/STRONG&gt;).The development board doesn't populate with these resistors and capacitor.&lt;/P&gt;&lt;P&gt;But in the &lt;STRONG&gt;custom board&lt;/STRONG&gt; I am not able to boot from SPI( &lt;STRONG&gt;SPANSION&lt;/STRONG&gt; &lt;STRONG&gt;S25FL256S_64K&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.Do I have to use those resistors and capacitors for my custom board to boot up from SPI?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51350iC6C17AFD8D7101DE/image-size/large?v=v2&amp;amp;px=999" title="Selection_030.png" alt="Selection_030.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The figure shows the SPI connection in the custom board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to read and write on SPI flash.I have placed uImage and rootfs on SPI flash.Then successfully booted from SD card and read uImage from SPI and logged in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM&gt;&lt;STRONG&gt;iMX28 U-Boot &amp;gt; setenv bootargs_spi 'setenv bootargs root=/dev/mtdblock1 rootwait rw rootfstype=jffs2'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;iMX28 U-Boot &amp;gt; setenv bootcmd_spi 'run bootargs_spi;sf probe 0;sf read 0x42000000 0x0 0x300000;bootm'&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;iMX28 U-Boot &amp;gt; run bootcmd_spi&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So I think there is no problem in erase,write and read.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.Still it doesn't boot from SPI. Keep on getting that same error code H0x80501003. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt AR&lt;/P&gt;&lt;P&gt;Deep Thought Systems&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 07:07:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363083#M51302</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2015-04-23T07:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to boot from spansion SPI Flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363084#M51303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Hello Pt A R,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Did I understand correctly that you're able to boot from Nymonyx part but from Spansion's part?&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;On the i.MX28 EVK, the R320, R321 and R322 are pull-ups on WP#, CS# and HOLD#. These are not populated by default and need to be populated since these signals should not be left floating. C178 should be populated as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;To enable Quad I/O on our board here, we had even to solder two additional wires to DQ2 and DQ3 (Hold# and WP#) to enable Quad I/O. Without those wires, you will not be able to use Quad I/O at all.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Bacem Daassi&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Cypress / &lt;/SPAN&gt;Spansion Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 14:07:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-boot-from-spansion-SPI-Flash/m-p/363084#M51303</guid>
      <dc:creator>BacemDaassi</dc:creator>
      <dc:date>2015-04-30T14:07:40Z</dc:date>
    </item>
  </channel>
</rss>

