<?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>i.MX Processorsのトピックi.MX 8M Mini + Toshiba NAND flash kernel boot error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-Toshiba-NAND-flash-kernel-boot-error/m-p/1230982#M169509</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm bringing-up an i.MX 8M Mini custom board. We added 2x Toshiba/Kioxia SLC NAND TH58NYG3S0HBAI6 flash chips.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="imx8mm-flash.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137179i182963A8C370EB8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="imx8mm-flash.png" alt="imx8mm-flash.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During kernel boot, the following problem happens:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;[ 1.832824] gpmi-nand 33002000.nand-controller: DMA timeout, last DMA&lt;BR /&gt;[ 1.839280] gpmi-nand 33002000.nand-controller: Show GPMI registers :&lt;BR /&gt;[ 1.845730] gpmi-nand 33002000.nand-controller: offset 0x000 : 0x03800000&lt;BR /&gt;[ 1.852525] gpmi-nand 33002000.nand-controller: offset 0x010 : 0x00000000&lt;BR /&gt;[ 1.859318] gpmi-nand 33002000.nand-controller: offset 0x020 : 0x00000000&lt;BR /&gt;[ 1.866113] gpmi-nand 33002000.nand-controller: offset 0x030 : 0x00000000&lt;BR /&gt;[ 1.872906] gpmi-nand 33002000.nand-controller: offset 0x040 : 0x00000000&lt;BR /&gt;[ 1.879700] gpmi-nand 33002000.nand-controller: offset 0x050 : 0x00000000&lt;BR /&gt;[ 1.886494] gpmi-nand 33002000.nand-controller: offset 0x060 : 0x010c000c&lt;BR /&gt;[ 1.893288] gpmi-nand 33002000.nand-controller: offset 0x070 : 0x00020101&lt;BR /&gt;[ 1.900082] gpmi-nand 33002000.nand-controller: offset 0x080 : 0x60000000&lt;BR /&gt;[ 1.906876] gpmi-nand 33002000.nand-controller: offset 0x090 : 0x23023336&lt;BR /&gt;[ 1.913669] gpmi-nand 33002000.nand-controller: offset 0x0a0 : 0x000000ff&lt;BR /&gt;[ 1.920463] gpmi-nand 33002000.nand-controller: offset 0x0b0 : 0xfe000005&lt;BR /&gt;[ 1.927257] gpmi-nand 33002000.nand-controller: offset 0x0c0 : 0x00000001&lt;BR /&gt;[ 1.934051] gpmi-nand 33002000.nand-controller: offset 0x0d0 : 0x05020000&lt;BR /&gt;[ 1.940844] gpmi-nand 33002000.nand-controller: Show BCH registers :&lt;BR /&gt;[ 1.947203] gpmi-nand 33002000.nand-controller: offset 0x000 : 0x00000000&lt;BR /&gt;[ 1.953996] gpmi-nand 33002000.nand-controller: offset 0x010 : 0x00000010&lt;BR /&gt;[ 1.960793] gpmi-nand 33002000.nand-controller: offset 0x020 : 0x00000000&lt;BR /&gt;[ 1.967587] gpmi-nand 33002000.nand-controller: offset 0x030 : 0x00000000&lt;BR /&gt;[ 1.974381] gpmi-nand 33002000.nand-controller: offset 0x040 : 0x00000000&lt;BR /&gt;[ 1.981174] gpmi-nand 33002000.nand-controller: offset 0x050 : 0x00000000&lt;BR /&gt;[ 1.987968] gpmi-nand 33002000.nand-controller: offset 0x060 : 0x00000000&lt;BR /&gt;[ 1.994762] gpmi-nand 33002000.nand-controller: offset 0x070 : 0xe4e4e4e4&lt;BR /&gt;[ 2.001555] gpmi-nand 33002000.nand-controller: offset 0x080 : 0x070a4080&lt;BR /&gt;[ 2.008348] gpmi-nand 33002000.nand-controller: offset 0x090 : 0x10da4080&lt;BR /&gt;[ 2.015142] gpmi-nand 33002000.nand-controller: offset 0x0a0 : 0x070a4080&lt;BR /&gt;[ 2.021935] gpmi-nand 33002000.nand-controller: offset 0x0b0 : 0x10da4080&lt;BR /&gt;[ 2.028728] gpmi-nand 33002000.nand-controller: offset 0x0c0 : 0x070a4080&lt;BR /&gt;[ 2.035522] gpmi-nand 33002000.nand-controller: offset 0x0d0 : 0x10da4080&lt;BR /&gt;[ 2.042316] gpmi-nand 33002000.nand-controller: offset 0x0e0 : 0x070a4080&lt;BR /&gt;[ 2.049109] gpmi-nand 33002000.nand-controller: offset 0x0f0 : 0x10da4080&lt;BR /&gt;[ 2.055903] gpmi-nand 33002000.nand-controller: offset 0x100 : 0x00000000&lt;BR /&gt;[ 2.062697] gpmi-nand 33002000.nand-controller: offset 0x110 : 0x00000000&lt;BR /&gt;[ 2.069490] gpmi-nand 33002000.nand-controller: offset 0x120 : 0x00000000&lt;BR /&gt;[ 2.076283] gpmi-nand 33002000.nand-controller: offset 0x130 : 0x00000000&lt;BR /&gt;[ 2.083077] gpmi-nand 33002000.nand-controller: offset 0x140 : 0x00000000&lt;BR /&gt;[ 2.089874] gpmi-nand 33002000.nand-controller: offset 0x150 : 0x20484342&lt;BR /&gt;[ 2.096668] gpmi-nand 33002000.nand-controller: offset 0x160 : 0x01010000&lt;BR /&gt;[ 2.103462] gpmi-nand 33002000.nand-controller: offset 0x170 : 0x00000000&lt;BR /&gt;[ 2.110260] gpmi-nand 33002000.nand-controller: BCH Geometry :&lt;BR /&gt;[ 2.110260] GF length : 0&lt;BR /&gt;[ 2.110260] ECC Strength : 0&lt;BR /&gt;[ 2.110260] Page Size in Bytes : 0&lt;BR /&gt;[ 2.110260] Metadata Size in Bytes : 0&lt;BR /&gt;[ 2.110260] ECC Chunk0 Size in Bytes: 0&lt;BR /&gt;[ 2.110260] ECC Chunkn Size in Bytes: 0&lt;BR /&gt;[ 2.110260] ECC Chunk Count : 0&lt;BR /&gt;[ 2.110260] Payload Size in Bytes : 1024&lt;BR /&gt;[ 2.110260] Auxiliary Size in Bytes: 128&lt;BR /&gt;[ 2.110260] Auxiliary Status Offset: 0&lt;BR /&gt;[ 2.110260] Block Mark Byte Offset : 0&lt;BR /&gt;[ 2.110260] Block Mark Bit Offset : 0&lt;BR /&gt;[ 2.161502] nand: No NAND device found&lt;BR /&gt;[ 2.165320] gpmi-nand: probe of 33002000.nand-controller failed with error -110&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It looks like the Kernel is unable to identify the NAND chips. This is weird, because the U-Boot finds them and is even able to read and write to the devices:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;u-boot=&amp;gt; nand info&lt;BR /&gt;&lt;BR /&gt;Device 0: 2x nand0, sector size 256 KiB&lt;BR /&gt;&amp;nbsp;Page size &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4096 b&lt;BR /&gt;&amp;nbsp;OOB size &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;256 b&lt;BR /&gt;&amp;nbsp;Erase size &amp;nbsp;&amp;nbsp;&amp;nbsp;262144 b&lt;BR /&gt;&amp;nbsp;subpagesize &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4096 b&lt;BR /&gt;&amp;nbsp;options &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x00004200&lt;BR /&gt;&amp;nbsp;bbt options 0x00028000&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I didn't find any similar problem on the internet nor I can imagine how to debug this.&lt;/P&gt;&lt;P&gt;Could anyone help me with a suggestion of where to look for the cause of this problem?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2021 12:50:00 GMT</pubDate>
    <dc:creator>fernando_lopes</dc:creator>
    <dc:date>2021-02-15T12:50:00Z</dc:date>
    <item>
      <title>i.MX 8M Mini + Toshiba NAND flash kernel boot error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-Toshiba-NAND-flash-kernel-boot-error/m-p/1230982#M169509</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm bringing-up an i.MX 8M Mini custom board. We added 2x Toshiba/Kioxia SLC NAND TH58NYG3S0HBAI6 flash chips.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="imx8mm-flash.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137179i182963A8C370EB8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="imx8mm-flash.png" alt="imx8mm-flash.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During kernel boot, the following problem happens:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;[ 1.832824] gpmi-nand 33002000.nand-controller: DMA timeout, last DMA&lt;BR /&gt;[ 1.839280] gpmi-nand 33002000.nand-controller: Show GPMI registers :&lt;BR /&gt;[ 1.845730] gpmi-nand 33002000.nand-controller: offset 0x000 : 0x03800000&lt;BR /&gt;[ 1.852525] gpmi-nand 33002000.nand-controller: offset 0x010 : 0x00000000&lt;BR /&gt;[ 1.859318] gpmi-nand 33002000.nand-controller: offset 0x020 : 0x00000000&lt;BR /&gt;[ 1.866113] gpmi-nand 33002000.nand-controller: offset 0x030 : 0x00000000&lt;BR /&gt;[ 1.872906] gpmi-nand 33002000.nand-controller: offset 0x040 : 0x00000000&lt;BR /&gt;[ 1.879700] gpmi-nand 33002000.nand-controller: offset 0x050 : 0x00000000&lt;BR /&gt;[ 1.886494] gpmi-nand 33002000.nand-controller: offset 0x060 : 0x010c000c&lt;BR /&gt;[ 1.893288] gpmi-nand 33002000.nand-controller: offset 0x070 : 0x00020101&lt;BR /&gt;[ 1.900082] gpmi-nand 33002000.nand-controller: offset 0x080 : 0x60000000&lt;BR /&gt;[ 1.906876] gpmi-nand 33002000.nand-controller: offset 0x090 : 0x23023336&lt;BR /&gt;[ 1.913669] gpmi-nand 33002000.nand-controller: offset 0x0a0 : 0x000000ff&lt;BR /&gt;[ 1.920463] gpmi-nand 33002000.nand-controller: offset 0x0b0 : 0xfe000005&lt;BR /&gt;[ 1.927257] gpmi-nand 33002000.nand-controller: offset 0x0c0 : 0x00000001&lt;BR /&gt;[ 1.934051] gpmi-nand 33002000.nand-controller: offset 0x0d0 : 0x05020000&lt;BR /&gt;[ 1.940844] gpmi-nand 33002000.nand-controller: Show BCH registers :&lt;BR /&gt;[ 1.947203] gpmi-nand 33002000.nand-controller: offset 0x000 : 0x00000000&lt;BR /&gt;[ 1.953996] gpmi-nand 33002000.nand-controller: offset 0x010 : 0x00000010&lt;BR /&gt;[ 1.960793] gpmi-nand 33002000.nand-controller: offset 0x020 : 0x00000000&lt;BR /&gt;[ 1.967587] gpmi-nand 33002000.nand-controller: offset 0x030 : 0x00000000&lt;BR /&gt;[ 1.974381] gpmi-nand 33002000.nand-controller: offset 0x040 : 0x00000000&lt;BR /&gt;[ 1.981174] gpmi-nand 33002000.nand-controller: offset 0x050 : 0x00000000&lt;BR /&gt;[ 1.987968] gpmi-nand 33002000.nand-controller: offset 0x060 : 0x00000000&lt;BR /&gt;[ 1.994762] gpmi-nand 33002000.nand-controller: offset 0x070 : 0xe4e4e4e4&lt;BR /&gt;[ 2.001555] gpmi-nand 33002000.nand-controller: offset 0x080 : 0x070a4080&lt;BR /&gt;[ 2.008348] gpmi-nand 33002000.nand-controller: offset 0x090 : 0x10da4080&lt;BR /&gt;[ 2.015142] gpmi-nand 33002000.nand-controller: offset 0x0a0 : 0x070a4080&lt;BR /&gt;[ 2.021935] gpmi-nand 33002000.nand-controller: offset 0x0b0 : 0x10da4080&lt;BR /&gt;[ 2.028728] gpmi-nand 33002000.nand-controller: offset 0x0c0 : 0x070a4080&lt;BR /&gt;[ 2.035522] gpmi-nand 33002000.nand-controller: offset 0x0d0 : 0x10da4080&lt;BR /&gt;[ 2.042316] gpmi-nand 33002000.nand-controller: offset 0x0e0 : 0x070a4080&lt;BR /&gt;[ 2.049109] gpmi-nand 33002000.nand-controller: offset 0x0f0 : 0x10da4080&lt;BR /&gt;[ 2.055903] gpmi-nand 33002000.nand-controller: offset 0x100 : 0x00000000&lt;BR /&gt;[ 2.062697] gpmi-nand 33002000.nand-controller: offset 0x110 : 0x00000000&lt;BR /&gt;[ 2.069490] gpmi-nand 33002000.nand-controller: offset 0x120 : 0x00000000&lt;BR /&gt;[ 2.076283] gpmi-nand 33002000.nand-controller: offset 0x130 : 0x00000000&lt;BR /&gt;[ 2.083077] gpmi-nand 33002000.nand-controller: offset 0x140 : 0x00000000&lt;BR /&gt;[ 2.089874] gpmi-nand 33002000.nand-controller: offset 0x150 : 0x20484342&lt;BR /&gt;[ 2.096668] gpmi-nand 33002000.nand-controller: offset 0x160 : 0x01010000&lt;BR /&gt;[ 2.103462] gpmi-nand 33002000.nand-controller: offset 0x170 : 0x00000000&lt;BR /&gt;[ 2.110260] gpmi-nand 33002000.nand-controller: BCH Geometry :&lt;BR /&gt;[ 2.110260] GF length : 0&lt;BR /&gt;[ 2.110260] ECC Strength : 0&lt;BR /&gt;[ 2.110260] Page Size in Bytes : 0&lt;BR /&gt;[ 2.110260] Metadata Size in Bytes : 0&lt;BR /&gt;[ 2.110260] ECC Chunk0 Size in Bytes: 0&lt;BR /&gt;[ 2.110260] ECC Chunkn Size in Bytes: 0&lt;BR /&gt;[ 2.110260] ECC Chunk Count : 0&lt;BR /&gt;[ 2.110260] Payload Size in Bytes : 1024&lt;BR /&gt;[ 2.110260] Auxiliary Size in Bytes: 128&lt;BR /&gt;[ 2.110260] Auxiliary Status Offset: 0&lt;BR /&gt;[ 2.110260] Block Mark Byte Offset : 0&lt;BR /&gt;[ 2.110260] Block Mark Bit Offset : 0&lt;BR /&gt;[ 2.161502] nand: No NAND device found&lt;BR /&gt;[ 2.165320] gpmi-nand: probe of 33002000.nand-controller failed with error -110&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It looks like the Kernel is unable to identify the NAND chips. This is weird, because the U-Boot finds them and is even able to read and write to the devices:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;u-boot=&amp;gt; nand info&lt;BR /&gt;&lt;BR /&gt;Device 0: 2x nand0, sector size 256 KiB&lt;BR /&gt;&amp;nbsp;Page size &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4096 b&lt;BR /&gt;&amp;nbsp;OOB size &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;256 b&lt;BR /&gt;&amp;nbsp;Erase size &amp;nbsp;&amp;nbsp;&amp;nbsp;262144 b&lt;BR /&gt;&amp;nbsp;subpagesize &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4096 b&lt;BR /&gt;&amp;nbsp;options &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x00004200&lt;BR /&gt;&amp;nbsp;bbt options 0x00028000&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I didn't find any similar problem on the internet nor I can imagine how to debug this.&lt;/P&gt;&lt;P&gt;Could anyone help me with a suggestion of where to look for the cause of this problem?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 12:50:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-Toshiba-NAND-flash-kernel-boot-error/m-p/1230982#M169509</guid>
      <dc:creator>fernando_lopes</dc:creator>
      <dc:date>2021-02-15T12:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX 8M Mini + Toshiba NAND flash kernel boot error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-Toshiba-NAND-flash-kernel-boot-error/m-p/1231209#M169520</link>
      <description>&lt;P&gt;I found a solution: the READY/BUSY pin didn't have the internal pull-up enabled. I updated my kernel to the imx_5.4.70_2.3.0, but it didn't make any difference (I was using the 5.4.3).&lt;/P&gt;&lt;P&gt;After enabling the internal pull-up on the device tree, it worked!!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 22:34:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-Toshiba-NAND-flash-kernel-boot-error/m-p/1231209#M169520</guid>
      <dc:creator>fernando_lopes</dc:creator>
      <dc:date>2021-02-15T22:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX 8M Mini + Toshiba NAND flash kernel boot error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-Toshiba-NAND-flash-kernel-boot-error/m-p/1712003#M211534</link>
      <description>&lt;P&gt;Hi, fernand_lopes san.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a custom board with a i.MX8MP and a KIOKXIA TH58NVG4S0HTAK0 which should be used as boot device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, something prevents it from booting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please check my post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Boot-from-nand-flash/td-p/1711869" target="_blank"&gt;[i.mx8mp] Boot from nand flash - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And please advise if possible. m(_ _)m&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 07:03:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-Mini-Toshiba-NAND-flash-kernel-boot-error/m-p/1712003#M211534</guid>
      <dc:creator>junya</dc:creator>
      <dc:date>2023-08-28T07:03:10Z</dc:date>
    </item>
  </channel>
</rss>

