<?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: i.MX257 boot from NAND flash in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX257-boot-from-NAND-flash/m-p/236881#M18973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table 7-29 (NAND Device Accesses) of the i.MX25 Reference Manual shows NAND parameters for boot.&lt;/P&gt;&lt;P&gt;Perhaps it makes sense to try the following boot NAND configuration 2KB SLC, 5 address cycles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2013 05:23:25 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2013-09-18T05:23:25Z</dc:date>
    <item>
      <title>i.MX257 boot from NAND flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX257-boot-from-NAND-flash/m-p/236880#M18972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;We programed barebox on our Nand Flash (Micron 29F4G08ABADA) with ATK software.&lt;/SPAN&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;But we cannot boot automatically from Nand Flash (internal boot mode).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;Only the first half of the main flash buffer is loaded by the ROM bootloader.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;It seems to be related to the fact that our NAND flash has 64 pages per block while the original NAND flash provided on FreeScale PDK was 128. Actually, 128 is the default value of the NFC (NAND Flash Controller).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;We can change that manually with our JTAG debugger but it has to be done quite early in the ROM boot process in order to make barebox boot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;Is there a way to &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;change &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; color: #000000; font-size: 10pt;"&gt;the default value used by the NFC in order to tell the ROM bootloader the correct number of pages per block?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="line-height: 1.5em; color: #000000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="line-height: 1.5em; color: #000000; font-size: 10pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="line-height: 1.5em; color: #000000; font-size: 10pt;"&gt;Loic&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 15:03:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX257-boot-from-NAND-flash/m-p/236880#M18972</guid>
      <dc:creator>loicboissy</dc:creator>
      <dc:date>2013-09-17T15:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX257 boot from NAND flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX257-boot-from-NAND-flash/m-p/236881#M18973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table 7-29 (NAND Device Accesses) of the i.MX25 Reference Manual shows NAND parameters for boot.&lt;/P&gt;&lt;P&gt;Perhaps it makes sense to try the following boot NAND configuration 2KB SLC, 5 address cycles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 05:23:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX257-boot-from-NAND-flash/m-p/236881#M18973</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-09-18T05:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX257 boot from NAND flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX257-boot-from-NAND-flash/m-p/236882#M18974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thanks, but we use this configuration : &lt;/P&gt;&lt;P&gt;Hardware PIN configuration : &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - BT_DPARE_SIZE = 218&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - BT_MLC-SEL = SLC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - BT_PAGE_SIZE = 2k&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - BT_MEM_CTRL = Nand Flash&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - BT_MEM_TYPE = 5 address cycles&lt;/P&gt;&lt;P&gt;After a power on, we can read 0x640001E0 value in the RCSR regsiter.&lt;/P&gt;&lt;P&gt;For us, it seems correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are checking the NFC controler configuration...&lt;/P&gt;&lt;P&gt;In NAND_FLASH_CONFIG1 register (0xBB001E1A), we can read 0x0C0A. It seems not correct,&lt;/P&gt;&lt;P&gt;If we set 0x0A09 in this register using our hardware debug probe (by using a breakpoint just after the reading of RCSR register) =&amp;gt; barebox starts well.&lt;/P&gt;&lt;P&gt;If is set the same configuration in the DCD table (inside our barebox binary file) : it doesn't work.&lt;/P&gt;&lt;P&gt;Maybe DCD configuration is applied too late...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to configure or (re-configure) the NFC controler with the DCD table?&lt;/P&gt;&lt;P&gt;Loic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 06:55:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX257-boot-from-NAND-flash/m-p/236882#M18974</guid>
      <dc:creator>loicboissy</dc:creator>
      <dc:date>2013-09-18T06:55:07Z</dc:date>
    </item>
  </channel>
</rss>

