<?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: Nand boot with evk board in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943838#M141153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, there is one item matched.&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXTENDED_ID_NAND("NAND 128MiB 3,3V 8-bit",&amp;nbsp; 0xF1, 128, LP_OPTIONS),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2019 05:40:04 GMT</pubDate>
    <dc:creator>guochgz</dc:creator>
    <dc:date>2019-08-05T05:40:04Z</dc:date>
    <item>
      <title>Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943834#M141149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have removed the qspi flash from evk board and solder&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;U302 W29n01hv NAND FLASH on the EVK board, that the flash pins is the same with MT29G08CBADBWP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86131i0E5B2B1562B4739B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86190i2D9FCFF2855CE2E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;and now I recompile the uboot follow the steps:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1: make distclean;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2: make mx6ull_14x14_evk_nand_defconfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;3: make&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;and replaced the firmware/u-boot-imx6ull14x14evk_nand with u-boot-dtb.imx, and the same with files u-boot-imx6ull14x14evk_nand.imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;then I&amp;nbsp;got the log like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;U-Boot 2018.03-imx_v2018.03_4.14.98_2.0.0_ga+g87a19df (Aug 02 2019 - 15:52:23 +0800)&lt;/P&gt;&lt;P&gt;CPU: Freescale i.MX6ULL rev1.0 900 MHz (running at 396 MHz)&lt;BR /&gt;CPU: Commercial temperature grade (0C to 95C) at 48C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: Freescale i.MX6 ULL 14x14 EVK Board&lt;BR /&gt;Board: MX6ULL 14x14 EVK&lt;BR /&gt;DRAM: 512 MiB&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;NAND: 128 MiB&lt;/SPAN&gt;&lt;BR /&gt;MMC: FSL_SDHC: 0&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;Loading Environment from NAND... cannot support the NAND, missing necessary info&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;Bad block table not found for chip 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;Bad block table not found for chip 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;nand_bbt: error while writing bad block table -5&lt;/SPAN&gt;&lt;BR /&gt;*** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P&gt;Failed (-5)&lt;BR /&gt;Display: TFT43AB (480x272)&lt;BR /&gt;Video: 480x272x24&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;Net:&lt;BR /&gt;Warning: ethernet@020b4000 using MAC address from ROM&lt;BR /&gt;eth1: ethernet@020b4000 [PRIME]&lt;BR /&gt;Warning: ethernet@02188000 using MAC address from ROM&lt;BR /&gt;, eth0: ethernet@02188000&lt;BR /&gt;Boot from USB for mfgtools&lt;BR /&gt;Use default environment for mfgtools&lt;BR /&gt;Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;/P&gt;&lt;P&gt;## Checking Image at 86800000 ...&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;Unknown image format!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;Run fastboot ...&lt;/SPAN&gt;&lt;BR /&gt;Unknown command 'fastboot' - try 'help'&lt;BR /&gt;=&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so It seems Nand has been recognized, but not configured correctly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXTENDED_ID_NAND("NAND 128MiB 3,3V 8-bit",&amp;nbsp; 0xF1, 128, 0x0),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should I&amp;nbsp;added those item like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{"&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;W&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;29N01HVSINA&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;1G 3.3V 8-bit",&lt;BR /&gt; { .id = {0xEF, 0xF1, &lt;SPAN style="color: #ff0000;"&gt;0x00, 0x95, 0x00, 0x00, 0x00, 0x00&lt;/SPAN&gt;} },&lt;BR /&gt; SZ_2K, SZ_128, SZ_128K, 0, 5, 64, NAND_ECC_INFO(1, SZ_512),&lt;BR /&gt; 2 },&lt;/P&gt;&lt;P&gt;pagesize: 2048&lt;/P&gt;&lt;P&gt;chipsize: 1Gbit, 128&lt;/P&gt;&lt;P&gt;erasesize: 128&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;option: 0x0&lt;/P&gt;&lt;P&gt;id_len: &lt;SPAN style="color: #ff0000;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;oobsize: 64&lt;/P&gt;&lt;P&gt;Nand_ECC_INFO: ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;onfi_timing_defualt: ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_12.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86306iE7CECF7C78DC1159/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_12.png" alt="pastedImage_12.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the dts file is :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_16.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86132iB5A78905A96D5D4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_16.png" alt="pastedImage_16.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 08:43:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943834#M141149</guid>
      <dc:creator>guochgz</dc:creator>
      <dc:date>2019-08-02T08:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943835#M141150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi 国承 张&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to follow steps described on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-236994"&gt;https://community.nxp.com/docs/DOC-236994&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>Fri, 02 Aug 2019 11:44:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943835#M141150</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-08-02T11:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943836#M141151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, igor.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have just follow that steps, now the issue is uboot can not work with nand boot while in nand bbt funtion. Maybe this issue is related to the nand configs or uboot bad block table function .&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have added comments in search_bbt function:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86255i1D8FCA44C88168F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; got log like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86201iB2891736206D2575/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 01:42:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943836#M141151</guid>
      <dc:creator>guochgz</dc:creator>
      <dc:date>2019-08-05T01:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943837#M141152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi 国承 张&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;one can check if there is entry for this nand in nand_ids.c file&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/drivers/mtd/nand/nand_ids.c?h=imx_v2018.03_4.14.98_2.1.0" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/drivers/mtd/nand/nand_ids.c?h=imx_v2018.03_4.14.98_2.1.0"&gt;nand_ids.c\nand\mtd\drivers - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 05:15:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943837#M141152</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-08-05T05:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943838#M141153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, there is one item matched.&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXTENDED_ID_NAND("NAND 128MiB 3,3V 8-bit",&amp;nbsp; 0xF1, 128, LP_OPTIONS),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 05:40:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943838#M141153</guid>
      <dc:creator>guochgz</dc:creator>
      <dc:date>2019-08-05T05:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943839#M141154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one can recheck if correctly used kobs-ng init, it updates FCB/DBBT.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 06:43:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943839#M141154</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-08-05T06:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943840#M141155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea about&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;kobs-ng init, do you show me more details?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have added item in nand_ids.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86745i4722765FEEEF3B5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;and got log like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U-Boot 2018.03-imx_v2018.03_4.14.98_2.0.0_ga+g87a19df (Aug 05 2019 - 15:26:03 +0800)&lt;/P&gt;&lt;P&gt;CPU: Freescale i.MX6ULL rev1.0 900 MHz (running at 396 MHz)&lt;BR /&gt;CPU: Commercial temperature grade (0C to 95C) at 51C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: Freescale i.MX6 ULL 14x14 EVK Board&lt;BR /&gt;Board: MX6ULL 14x14 EVK&lt;BR /&gt;DRAM: 512 MiB&lt;BR /&gt;NAND: id_data[0] = ef&lt;BR /&gt;id_data[1] = f1&lt;BR /&gt;id_data[2] = 01&lt;BR /&gt;id_data[3] = 95&lt;BR /&gt;id_data[4] = 01&lt;BR /&gt;id_data[5] = 01&lt;BR /&gt;id_data[6] = 01&lt;BR /&gt;id_data[7] = 01&lt;BR /&gt;128 MiB&lt;BR /&gt;MMC: FSL_SDHC: 0&lt;BR /&gt;Loading Environment from NAND... !!! Neil.zhang added here :chip-&amp;gt;ecc_strength_ds = 1, chip-&amp;gt;ecc_step_ds = 512, mtd-&amp;gt;oobsize is 64&lt;BR /&gt;!!! Neil.zhang added here : maxblocks is 4&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;Bad block table not found for chip 0&lt;/SPAN&gt;&lt;BR /&gt;!!! Neil.zhang added here : maxblocks is 4&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;Bad block table not found for chip 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;nand_bbt: error while writing bad block table -5&lt;/SPAN&gt;&lt;BR /&gt;*** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P&gt;Failed (-5)&lt;BR /&gt;Display: TFT43AB (480x272)&lt;BR /&gt;Video: 480x272x24&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;Net:&lt;BR /&gt;Warning: ethernet@020b4000 using MAC address from ROM&lt;BR /&gt;eth1: ethernet@020b4000 [PRIME]&lt;BR /&gt;Warning: ethernet@02188000 using MAC address from ROM&lt;BR /&gt;, eth0: ethernet@02188000&lt;BR /&gt;Boot from USB for mfgtools&lt;BR /&gt;Use default environment for mfgtools&lt;BR /&gt;Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;/P&gt;&lt;P&gt;## Checking Image at 86800000 ...&lt;BR /&gt;Unknown image format!&lt;BR /&gt;Run fastboot ...&lt;BR /&gt;Unknown command 'fastboot' - try 'help'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;Bad block table not found for chip 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;Does this means I need to disable this option?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;nand-&amp;gt;bbt_options = NAND_BBT_USE_FLASH | NAND_BBT_NO_OOB;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;and &lt;SPAN style="color: #ff0000;"&gt;NAND_ECC_INFO(1, SZ512)&lt;/SPAN&gt;, I am not sure that this configuation is correct. can you help me check this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87685i5E266F17088876BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;or&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;NAND_ECC_INFO(1, 528) is correct?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;thanks very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 06:57:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943840#M141155</guid>
      <dc:creator>guochgz</dc:creator>
      <dc:date>2019-08-05T06:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943841#M141156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;I have no idea about&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;kobs-ng init, do you show me more details?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check first answer, it is used by Mfg Tool&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-content-finding="Community" data-objectid="236994" data-objecttype="102" 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 style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 11:16:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943841#M141156</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-08-05T11:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943842#M141157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks igor,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dts file is:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#include "imx6ul-14x14-evk.dts"&lt;/P&gt;&lt;P&gt;&amp;amp;qspi{&lt;BR /&gt; status = "disabled";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp;usdhc2 {&lt;BR /&gt; status = "disabled";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp;gpmi {&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_gpmi_nand_1&amp;gt;;&lt;BR /&gt; status = "okay";&lt;BR /&gt; nand-on-flash-bbt;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp;iomuxc {&lt;BR /&gt; imx6ul-evk {&lt;BR /&gt; pinctrl_gpmi_nand_1: gpmi-nand-1 {&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; MX6UL_PAD_NAND_CLE__RAWNAND_CLE 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_ALE__RAWNAND_ALE 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_WP_B__RAWNAND_WP_B 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_READY_B__RAWNAND_READY_B 0xb000&lt;BR /&gt; MX6UL_PAD_NAND_CE0_B__RAWNAND_CE0_B 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_CE1_B__RAWNAND_CE1_B 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_RE_B__RAWNAND_RE_B 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_WE_B__RAWNAND_WE_B 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_DATA01__RAWNAND_DATA01 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_DATA02__RAWNAND_DATA02 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_DATA03__RAWNAND_DATA03 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_DATA04__RAWNAND_DATA04 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_DATA05__RAWNAND_DATA05 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_DATA06__RAWNAND_DATA06 0xb0b1&lt;BR /&gt; MX6UL_PAD_NAND_DATA07__RAWNAND_DATA07 0xb0b1&lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86577iC22D4A9DFBD9E122/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86578i405A0F64AFCFA7B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.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" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86661i91387D00C80252DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86326i5DFDB96803CBDECC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and the MFG-TOOLS version is:&amp;nbsp;MFG_TOOLS\L4.1.15_2.0.0-ga_mfg-tools&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the mfg-tools&amp;nbsp; log is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ModuleID[2] LevelID[10]: ExecuteCommand--Boot[WndIndex:0], File is D:\Projects\IMX6ULL\MFG_TOOLS\L4.1.15_2.0.0-ga_mfg-tools\mfgtools-with-rootfs\mfgtools-with-rootfs\mfgtools-nand\Profiles\linux\OS Firmware\firmware\&lt;SPAN style="color: #ff0000;"&gt;u-boot-imx6ull14x14evk_nand.imx&lt;/SPAN&gt;&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)&lt;BR /&gt;ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is D:\Projects\IMX6ULL\MFG_TOOLS\L4.1.15_2.0.0-ga_mfg-tools\mfgtools-with-rootfs\mfgtools-with-rootfs\mfgtools-nand\Profiles\linux\OS Firmware\firmware\zImage, address is 0x80800000&lt;BR /&gt;ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)&lt;BR /&gt;ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is D:\Projects\IMX6ULL\MFG_TOOLS\L4.1.15_2.0.0-ga_mfg-tools\mfgtools-with-rootfs\mfgtools-with-rootfs\mfgtools-nand\Profiles\linux\OS Firmware\firmware\&lt;SPAN style="color: #ff0000;"&gt;fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot&lt;/SPAN&gt;, address is 0x83800000&lt;BR /&gt;ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)&lt;BR /&gt;ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is D:\Projects\IMX6ULL\MFG_TOOLS\L4.1.15_2.0.0-ga_mfg-tools\mfgtools-with-rootfs\mfgtools-with-rootfs\mfgtools-nand\Profiles\linux\OS Firmware\firmware\&lt;SPAN style="color: #ff0000;"&gt;zImage-imx6ull-14x14-evk-gpmi-weim.dtb&lt;/SPAN&gt;, address is 0x83000000&lt;BR /&gt;ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0&lt;BR /&gt;ModuleID[2] LevelID[10]: ExecuteCommand--Jump[WndIndex:0]&lt;BR /&gt;ModuleID[2] LevelID[10]: *********MxHidDevice[06A90A90] &lt;SPAN style="color: #ff0000;"&gt;Jump to Ramkernel successfully&lt;/SPAN&gt;!**********&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOperation[0], current state command has been finished and the last command is successful, so SetEvent(hDevCanDeleteEvent)&lt;BR /&gt;ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&amp;amp;PID_0080#5&amp;amp;20c67efd&amp;amp;0&amp;amp;1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})&lt;BR /&gt;ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - end&lt;BR /&gt;ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&amp;amp;PID_0080#5&amp;amp;20c67efd&amp;amp;0&amp;amp;1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})&lt;BR /&gt;ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 1&lt;BR /&gt;ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, devInstPathToFind: USB\VID_15A2&amp;amp;PID_0080\5&amp;amp;20C67EFD&amp;amp;0&amp;amp;1, _deviceInstanceID: USB\VID_15A2&amp;amp;PID_0080\5&amp;amp;20C67EFD&amp;amp;0&amp;amp;1&lt;BR /&gt;ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, Find the device&lt;BR /&gt;ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT,[MxHidDeviceClass] vid_15a2&amp;amp;pid_0080, Hub:1-Port:1&lt;BR /&gt;ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, Notify&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOpreation[0]--OnDeviceChangeNotify, Volume/Device Remove&lt;BR /&gt;ModuleID[2] LevelID[1]: CmdOpreation[0]--set m_hDeviceRemoveEvent.&lt;BR /&gt;ModuleID[2] LevelID[10]: CmdOpreation[0]--WaitforEvents device remove1&lt;BR /&gt;ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent()-DEVICE_REMOVAL_EVT, hDevCanDeleteEvent has been set&lt;BR /&gt;ModuleID[2] LevelID[10]: delete MxHidDevice[06A90A90]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 06:46:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943842#M141157</guid>
      <dc:creator>guochgz</dc:creator>
      <dc:date>2019-08-06T06:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943843#M141158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;I tested it with a lower version(L4.1.15) of uboot and found the results were different&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;the nand driver needs two changes, nand_ids.c and READID function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;so what need to do next? replace firmare/zImage ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 09:28:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943843#M141158</guid>
      <dc:creator>guochgz</dc:creator>
      <dc:date>2019-08-06T09:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943844#M141159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is necessary to apply kobs-ng init on some step as in example on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://wiki.phytec.com/display/public/PRODUCTINFO/i.MX7%3A+Flashing+Images+to+NAND" title="https://wiki.phytec.com/display/public/PRODUCTINFO/i.MX7%3A+Flashing+Images+to+NAND"&gt;i.MX7: Flashing Images to NAND - Develop.phytec - PHYTEC Wiki&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 11:27:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943844#M141159</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-08-06T11:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nand boot with evk board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943845#M141160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;Currently, the problem points to the erase problem of Nand flash. When the 60h, d0h command is executed, the 70h command is used to read the status, and the value returned is 0xFF, not 0x40.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86597i8915F8CE6C9D4094/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;log is：&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1&lt;BR /&gt;nand: Unknown W29N01HVSINA 1G 3.3V 8-bit&lt;BR /&gt;nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64&lt;BR /&gt;gpmi-nand 1806000.gpmi-nand: use legacy bch geometry&lt;BR /&gt;Bad block table not found for chip 0&lt;BR /&gt;Bad block table not found for chip 0&lt;BR /&gt;Scanning device for bad blocks&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;nand: status = 0xff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;nand: nand_erase_nand: failed erase, page 0x0000ffc0&lt;/SPAN&gt;&lt;BR /&gt;nand_bbt: error while writing bad block table -5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: normal;"&gt;The original datasheet is attached in the&amp;nbsp;top post. the block erase seq as follow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: normal;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86681i5B9CDDB8EF430AEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 08:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nand-boot-with-evk-board/m-p/943845#M141160</guid>
      <dc:creator>guochgz</dc:creator>
      <dc:date>2019-08-09T08:28:28Z</dc:date>
    </item>
  </channel>
</rss>

