<?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: imx6ul NAND flash MXS NAND: BCH read timeout problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-NAND-flash-MXS-NAND-BCH-read-timeout-problem/m-p/1046397#M154113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi west&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for "MXS NAND: BCH read timeout" error one can consider below patch&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://patchwork.ozlabs.org/project/uboot/patch/20190103023652.8489-1-aford173@gmail.com/" title="http://patchwork.ozlabs.org/project/uboot/patch/20190103023652.8489-1-aford173@gmail.com/"&gt;[U-Boot] MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC - Patchwork&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2020 06:36:16 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-08-19T06:36:16Z</dc:date>
    <item>
      <title>imx6ul NAND flash MXS NAND: BCH read timeout problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-NAND-flash-MXS-NAND-BCH-read-timeout-problem/m-p/1046396#M154112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I want my imx6ul custom board boot from NAND flash,so I flash NAND with UUU.&lt;/P&gt;&lt;P&gt;The NAND flash &amp;nbsp;on my custom board is IS34ML02G084-BLI_63BGA,and bsp&amp;nbsp;version is sumo L4.14.98-2.3.1&lt;/P&gt;&lt;P&gt;I modified&amp;nbsp;u-boot-imx\2018.03-r0\git\include\linux\mtd\rawnand.h :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define NAND_MFR_SANDISK 0x45&lt;BR /&gt;#define NAND_MFR_INTEL &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x89&lt;BR /&gt;#define NAND_MFR_ATO &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x9b&lt;BR /&gt;#define NAND_MFR_ISSI &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0xc8&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;//add this line&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and&amp;nbsp;u-boot-imx\2018.03-r0\git\drivers\mtd\nand\nand_ids.c:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;{"IS34ML02G084 2G 3.3V 8-bit",&lt;BR /&gt; { .id = {0xc8, 0xda, 0x90, 0x95, 0x44, 0x7f, 0x7f, 0x7f} },&lt;BR /&gt; SZ_64K, SZ_256, SZ_128K, 0, 8, 64,NAND_ECC_INFO(4, SZ_512),4 },&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;struct nand_manufacturers nand_manuf_ids[] = {&lt;/P&gt;&lt;P&gt;{NAND_MFR_ISSI, "ISSI"},&lt;SPAN style="color: #ff0000; background-color: #f6f6f6;"&gt;//add this line&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When UUU load u-boot to ram: SDP: boot -f u-boot-nand-2018.03-r0.imx&lt;/P&gt;&lt;P&gt;The log from terminal showed:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;U-Boot 2018.03-4.14.98-2.3.1+gb1840a0 (Aug 19 2020 - 03:43:18 +0000)&lt;/P&gt;&lt;P&gt;CPU: Freescale i.MX6UL rev1.2 528 MHz (running at 396 MHz)&lt;BR /&gt;CPU: Industrial temperature grade (-40C to 105C) at 38C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: Freescale i.MX6 UltraLite 14x14 EVK Board&lt;BR /&gt;Board: MX6UL 14x14 EVK&lt;BR /&gt;DRAM: 256 MiB&lt;BR /&gt;NAND: 256 MiB&lt;BR /&gt;MMC: FSL_SDHC: 0&lt;BR /&gt;Loading Environment from NAND... MXS NAND: BCH read timeout&lt;BR /&gt;MXS NAND: BCH read timeout&lt;BR /&gt;MXS NAND: BCH read timeout&lt;BR /&gt;MXS NAND: BCH read timeout&lt;BR /&gt;MXS NAND: BCH read timeout&lt;BR /&gt;MXS NAND: BCH read timeout&lt;BR /&gt;MXS NAND: BCH read timeout&lt;BR /&gt;MXS NAND: BCH read timeout&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to fix it and make the flash progress continue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 04:15:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-NAND-flash-MXS-NAND-BCH-read-timeout-problem/m-p/1046396#M154112</guid>
      <dc:creator>kr90911</dc:creator>
      <dc:date>2020-08-19T04:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul NAND flash MXS NAND: BCH read timeout problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-NAND-flash-MXS-NAND-BCH-read-timeout-problem/m-p/1046397#M154113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi west&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for "MXS NAND: BCH read timeout" error one can consider below patch&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://patchwork.ozlabs.org/project/uboot/patch/20190103023652.8489-1-aford173@gmail.com/" title="http://patchwork.ozlabs.org/project/uboot/patch/20190103023652.8489-1-aford173@gmail.com/"&gt;[U-Boot] MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC - Patchwork&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 06:36:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-NAND-flash-MXS-NAND-BCH-read-timeout-problem/m-p/1046397#M154113</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-08-19T06:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul NAND flash MXS NAND: BCH read timeout problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-NAND-flash-MXS-NAND-BCH-read-timeout-problem/m-p/1046398#M154114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;I checked the file in patch and add:&lt;/P&gt;&lt;PRE class="" style="color: #333333; background-color: white; border: 1px solid #cccccc; margin: 0px 0px 10px; padding: 1em;"&gt;&lt;SPAN class="" style="color: #2e8b57; font-weight: bold;"&gt;diff --git a/drivers/mtd/nand/raw/mxs_nand_spl.c b/drivers/mtd/nand/raw/mxs_nand_spl.c&lt;/SPAN&gt;&lt;SPAN class="" style="color: #2e8b57; font-weight: bold;"&gt;index c628f3adec..ba85baac60 100644
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #2e8b57; font-weight: bold;"&gt;--- a/drivers/mtd/nand/raw/mxs_nand_spl.c
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #2e8b57; font-weight: bold;"&gt;+++ b/drivers/mtd/nand/raw/mxs_nand_spl.c
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #a52a2a; font-weight: bold;"&gt;@@ -201,6 +201,7 @@&lt;/SPAN&gt; &lt;SPAN class="" style="color: #a020f0;"&gt; static int mxs_nand_init(void)
&lt;/SPAN&gt;  /* setup flash layout (does not scan as we override that) */
   mtd-&amp;gt;size = nand_chip.chipsize;
   nand_chip.scan_bbt(mtd);
&lt;SPAN class="" style="color: #008b8b;"&gt;+ mxs_nand_setup_ecc(mtd);
&lt;/SPAN&gt;    return 0;  }&lt;/PRE&gt;&lt;P&gt;After rebuild u-boot-nand,the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BCH read timeout problem still there.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 06:57:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-NAND-flash-MXS-NAND-BCH-read-timeout-problem/m-p/1046398#M154114</guid>
      <dc:creator>kr90911</dc:creator>
      <dc:date>2020-08-19T06:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul NAND flash MXS NAND: BCH read timeout problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-NAND-flash-MXS-NAND-BCH-read-timeout-problem/m-p/1046399#M154115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Igor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Could you give me some more further information to deal with this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 06:15:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-NAND-flash-MXS-NAND-BCH-read-timeout-problem/m-p/1046399#M154115</guid>
      <dc:creator>kr90911</dc:creator>
      <dc:date>2020-08-20T06:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul NAND flash MXS NAND: BCH read timeout problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-NAND-flash-MXS-NAND-BCH-read-timeout-problem/m-p/1046400#M154116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one can try to follow&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-236994"&gt;How-To use NAND boot on i.MX6UL EVK board&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 07:24:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-NAND-flash-MXS-NAND-BCH-read-timeout-problem/m-p/1046400#M154116</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-08-20T07:24:06Z</dc:date>
    </item>
  </channel>
</rss>

