<?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: SPI FLASH boot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SPI-FLASH-boot/m-p/669593#M103089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can debug it using procedures described on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/thread/307723"&gt;https://community.freescale.com/thread/307723&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;BR /&gt;igor&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2017 01:02:50 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-06-01T01:02:50Z</dc:date>
    <item>
      <title>SPI FLASH boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-FLASH-boot/m-p/669590#M103086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My board is almost same as imx6qp-sabreauto board. and i use SPI FLASH s25fl256 on ECSPI1 SS2. I made u-boot,kernel, rootfs. they all works well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;at u-boot stage, i can use sf probe to get right flash infomation.&lt;/P&gt;&lt;P&gt;after the board run into kernel, at the shell, i use ls /dev/mtd*, i get /dev/mtd0 ... to /dev/mtd8.&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i mount /dev/mtd0 /mnt/mtd0, i can read write it correctly. &amp;nbsp;when i reboot the system, the file is still present. &amp;nbsp;it means that the driver and the pin iomux is right for spi flash.&lt;/P&gt;&lt;P&gt;i burn the u-boot.imx(verified on board by mfgtool) to flash by command:&lt;/P&gt;&lt;P&gt;dd if=u-boot.imx of=/dev/mtdblock0&lt;/P&gt;&lt;P&gt;it return right.&lt;/P&gt;&lt;P&gt;then at u-boot shell, i use fuse comand to burn the efuse.&lt;/P&gt;&lt;P&gt;fuse prog 0 0 5 28000030&lt;/P&gt;&lt;P&gt;fuse prog 0 0 6 00000010&lt;/P&gt;&lt;P&gt;It means use ECSPI1 SS2 to boot and set&amp;nbsp;BT_FUSE_SEL to 1。&lt;/P&gt;&lt;P&gt;After i re power the board, it does not put any output on the console both uboot and linux. what's problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i use mfgtool to boot the board, in linux shell:&lt;/P&gt;&lt;P&gt;cat /sys/fsl_otp/HW_OCOTP_CFG4&lt;/P&gt;&lt;P&gt;got 0x28000030&lt;/P&gt;&lt;P&gt;cat /sys/fsl_otp/HW_OCOTP_CFG5&lt;/P&gt;&lt;P&gt;got 0x00000010&lt;/P&gt;&lt;P&gt;memtool is tool to show memory:&lt;/P&gt;&lt;P&gt;memtool 0x020d8000&lt;/P&gt;&lt;P&gt;got 0x020d8004: &lt;SPAN&gt;0x28000030&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;got&amp;nbsp;&lt;SPAN&gt;0x020d801c:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;0x10000011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it seems&amp;nbsp;BT_FUSE_SEL is 1 and efuse_cfg4 is right. i only write these registers. Is there any other registers should be prog?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I use the default mx6cqp.cfg from imx6qp-sabreauto board to describe the dcd, is it ok?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 10:38:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-FLASH-boot/m-p/669590#M103086</guid>
      <dc:creator>jameshe1</dc:creator>
      <dc:date>2017-05-31T10:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: SPI FLASH boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-FLASH-boot/m-p/669591#M103087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; mx6cqp.cfg from imx6qp-sabreauto board may not work well on custom board,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please run ddr test and change dcd with new settings found from test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A class="link-titled" href="https://community.freescale.com/docs/DOC-105652" title="https://community.freescale.com/docs/DOC-105652"&gt;https://community.freescale.com/docs/DOC-105652&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 11:22:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-FLASH-boot/m-p/669591#M103087</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-05-31T11:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: SPI FLASH boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-FLASH-boot/m-p/669592#M103088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&amp;nbsp;igor&lt;/P&gt;&lt;P&gt;&amp;nbsp; My board can run u-boot and linux well. I have tested&amp;nbsp;the DDR, the mmc, the flash.&lt;/P&gt;&lt;P&gt;the board&amp;nbsp;works well in DDR downloaded by mfgtool. &amp;nbsp;the same u-boot.imx, it don't boot from flash.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 00:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-FLASH-boot/m-p/669592#M103088</guid>
      <dc:creator>jameshe1</dc:creator>
      <dc:date>2017-06-01T00:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: SPI FLASH boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-FLASH-boot/m-p/669593#M103089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can debug it using procedures described on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/thread/307723"&gt;https://community.freescale.com/thread/307723&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;BR /&gt;igor&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 01:02:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-FLASH-boot/m-p/669593#M103089</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-06-01T01:02:50Z</dc:date>
    </item>
  </channel>
</rss>

