<?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 [i.mx8mp] Unable to access multiple nand flash on u-boot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1714589#M211771</link>
    <description>&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;Boot device : NAND FLASH 2GB (2 chip select, 1chip select is 1GB)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;　&amp;nbsp; (Image size to be written is 1.6 GB)&lt;/P&gt;&lt;P&gt;brunch：imx-linux-hardknott&lt;/P&gt;&lt;P&gt;manifesto：imx-5.10.35 2.0.0.xml&lt;/P&gt;&lt;P&gt;DISTRO：fsl-imx-wayland&lt;/P&gt;&lt;P&gt;MACHINE：mx8mpevk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably succeeded until u-boot was booted.&lt;/P&gt;&lt;P&gt;Reads and writes to NAND located in NAND_CE0 are successful.&lt;/P&gt;&lt;P&gt;However, CE1 fails...&lt;/P&gt;&lt;P&gt;The log of the success and failure is attached.&lt;/P&gt;&lt;P&gt;Am I doing something wrong with the confirmation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 03:04:20 GMT</pubDate>
    <dc:creator>junya</dc:creator>
    <dc:date>2023-08-31T03:04:20Z</dc:date>
    <item>
      <title>[i.mx8mp] Unable to access multiple nand flash on u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1714589#M211771</link>
      <description>&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;Boot device : NAND FLASH 2GB (2 chip select, 1chip select is 1GB)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;　&amp;nbsp; (Image size to be written is 1.6 GB)&lt;/P&gt;&lt;P&gt;brunch：imx-linux-hardknott&lt;/P&gt;&lt;P&gt;manifesto：imx-5.10.35 2.0.0.xml&lt;/P&gt;&lt;P&gt;DISTRO：fsl-imx-wayland&lt;/P&gt;&lt;P&gt;MACHINE：mx8mpevk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably succeeded until u-boot was booted.&lt;/P&gt;&lt;P&gt;Reads and writes to NAND located in NAND_CE0 are successful.&lt;/P&gt;&lt;P&gt;However, CE1 fails...&lt;/P&gt;&lt;P&gt;The log of the success and failure is attached.&lt;/P&gt;&lt;P&gt;Am I doing something wrong with the confirmation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 03:04:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1714589#M211771</guid>
      <dc:creator>junya</dc:creator>
      <dc:date>2023-08-31T03:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: [i.mx8mp] Unable to access multiple nand flash on u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1715036#M211803</link>
      <description>&lt;P&gt;We found that there is a difference in AC characteristics when leading to CE0 and when leading to CE1.&lt;/P&gt;&lt;P&gt;(Image attached.)&lt;/P&gt;&lt;P&gt;CE1 is not working properly after sending the second cycle 30h of read operation.&lt;BR /&gt;Before the ready pin goes High, the CE1 pin goes Low and the read operation is started.&lt;BR /&gt;CE0 looks correct.&lt;/P&gt;&lt;P&gt;Therefore, I assume that the AC characteristic settings of CE0 and CE1 are different in the U-boot.&lt;/P&gt;&lt;P&gt;But I don't know how to fix it.&lt;/P&gt;&lt;P&gt;I need to know how to fix it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 11:55:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1715036#M211803</guid>
      <dc:creator>junya</dc:creator>
      <dc:date>2023-08-31T11:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: [i.mx8mp] Unable to access multiple nand flash on u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1715578#M211848</link>
      <description>&lt;DIV&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/45153"&gt;@junya&lt;/a&gt;,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I have responded to your query in&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[i.mx8mp] Boot from nand flash.&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Have you disabled internal pull-up in u-boot dts?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please try in the kernel to see if CE1 works or not.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sanket Parekh&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Sep 2023 06:46:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1715578#M211848</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-09-01T06:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: [i.mx8mp] Unable to access multiple nand flash on u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1715622#M211862</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Have you disabled internal pull-up in u-boot dts?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Yes, i had already disabled internal pull. (&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;External pull-up are implemented.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What do you think about the attached CE1 waveform?&lt;BR /&gt;Read accesses are initiated even though the memory is busy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 07:39:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1715622#M211862</guid>
      <dc:creator>junya</dc:creator>
      <dc:date>2023-09-01T07:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: [i.mx8mp] Unable to access multiple nand flash on u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1716458#M211962</link>
      <description>&lt;P&gt;Dear Sanket-san&lt;BR /&gt;This problem seems to be a problem with Uboot settings. Is it possible to share code, including settings such as defconfig of multiple NANDs verified by NXP, in order to speed up problem fix?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 10:48:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1716458#M211962</guid>
      <dc:creator>koichi_arima</dc:creator>
      <dc:date>2023-09-04T10:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: [i.mx8mp] Unable to access multiple nand flash on u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1717058#M212034</link>
      <description>&lt;DIV&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/45153"&gt;@junya&lt;/a&gt;,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;It seems that Multiple chipselect or nand device support is not available in the nand driver in U-boot.&lt;/P&gt;
&lt;P&gt;One needs to set&amp;nbsp;&lt;STRONG&gt;DECOUPLE_CS&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to decouple Chip Select from the DMA Channel. to enable multiple Chip Select.&lt;/P&gt;
&lt;P&gt;It was fixed in the kernel with the below commit.&lt;BR /&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/commit/46337d158262465a89f3568c94410ea553aa15b9" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://github.com/nxp-imx/linux-imx/commit/46337d158262465a89f3568c94410ea553aa15b9&amp;amp;source=gmail&amp;amp;ust=1693992228083000&amp;amp;usg=AOvVaw1za-U_I9lRZobKVofx8S6G"&gt;mtd: rawnand: gpmi: Fix the driver only sense CS0 R/B issue&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;One needs to make changes to u-boot for multiple CS. Please refer to the below patch.&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;A href="https://patchwork.ozlabs.org/project/uboot/patch/1417526774-32508-1-git-send-email-sr@denx.de/" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://patchwork.ozlabs.org/project/uboot/patch/1417526774-32508-1-git-send-email-sr@denx.de/&amp;amp;source=gmail&amp;amp;ust=1693992228083000&amp;amp;usg=AOvVaw0oAA7JzEiaqvUZamE0PQ3x"&gt;[U-Boot] mtd: nand: mxs: Add support for multiple NAND chips&lt;/A&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I hope it helps!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sanket Parekh&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Sep 2023 09:34:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1717058#M212034</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-09-05T09:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: [i.mx8mp] Unable to access multiple nand flash on u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1717135#M212042</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;san.&lt;/P&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;&lt;P&gt;After applying the patch of u-boot you shared with me, this problem was resolved.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 10:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8mp-Unable-to-access-multiple-nand-flash-on-u-boot/m-p/1717135#M212042</guid>
      <dc:creator>junya</dc:creator>
      <dc:date>2023-09-05T10:58:29Z</dc:date>
    </item>
  </channel>
</rss>

