<?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 u-boot read nand data error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-u-boot-read-nand-data-error/m-p/1599533#M201546</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/106135"&gt;@zhaopingyang_sg&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please make sure you have correctly configured nand flash in u-boot.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please refer to&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx6ul-14x14-evk-gpmi-weim.dts?h=lf_v2022.04" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx6ul-14x14-evk-gpmi-weim.dts?h%3Dlf_v2022.04&amp;amp;source=gmail&amp;amp;ust=1676542076998000&amp;amp;usg=AOvVaw3z32uOJLSBnEOR7Bdm_60r"&gt;imx6ul-14x14-evk-gpmi-weim.dts&lt;/A&gt;&lt;WBR /&gt;&amp;nbsp;and specify the value of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;kernel_a&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;env variable in u-boot.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please try to reproduce this issue in Linux.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;</description>
    <pubDate>Wed, 15 Feb 2023 10:31:34 GMT</pubDate>
    <dc:creator>Sanket_Parekh</dc:creator>
    <dc:date>2023-02-15T10:31:34Z</dc:date>
    <item>
      <title>IMX6UL u-boot read nand data error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-u-boot-read-nand-data-error/m-p/1594020#M201100</link>
      <description>&lt;P&gt;CPU : imx6ul&lt;/P&gt;&lt;P&gt;I'm tring to read data from nand flash,found some data is always fix with 0xFn or 0xnF，show&amp;nbsp;as&amp;nbsp;follows：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zhaopingyang_sg_0-1675694897961.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209743i8976C0BDDC440199/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zhaopingyang_sg_0-1675694897961.png" alt="zhaopingyang_sg_0-1675694897961.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The error rule of the data is every two reads. The high quad bit of the 2018 byte in the second read data is fixed as 0xf, and the low quad bit of the 2019 byte is fixed as 0xf.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If two operations read the same page of nand flash, the second read is still wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;follows is some log add by myself and nand flash info&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zhaopingyang_sg_1-1675695380881.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209744iA827C47967A875E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zhaopingyang_sg_1-1675695380881.png" alt="zhaopingyang_sg_1-1675695380881.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zhaopingyang_sg_2-1675695415999.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209745iF646E67011BD48A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zhaopingyang_sg_2-1675695415999.png" alt="zhaopingyang_sg_2-1675695415999.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can we solve this problem?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 14:59:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-u-boot-read-nand-data-error/m-p/1594020#M201100</guid>
      <dc:creator>zhaopingyang_sg</dc:creator>
      <dc:date>2023-02-06T14:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6UL u-boot read nand data error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-u-boot-read-nand-data-error/m-p/1599533#M201546</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/106135"&gt;@zhaopingyang_sg&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please make sure you have correctly configured nand flash in u-boot.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please refer to&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx6ul-14x14-evk-gpmi-weim.dts?h=lf_v2022.04" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx6ul-14x14-evk-gpmi-weim.dts?h%3Dlf_v2022.04&amp;amp;source=gmail&amp;amp;ust=1676542076998000&amp;amp;usg=AOvVaw3z32uOJLSBnEOR7Bdm_60r"&gt;imx6ul-14x14-evk-gpmi-weim.dts&lt;/A&gt;&lt;WBR /&gt;&amp;nbsp;and specify the value of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;kernel_a&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;env variable in u-boot.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please try to reproduce this issue in Linux.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Feb 2023 10:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-u-boot-read-nand-data-error/m-p/1599533#M201546</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-02-15T10:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6UL u-boot read nand data error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-u-boot-read-nand-data-error/m-p/1612599#M202537</link>
      <description>&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;I have changed the PINMUX&amp;nbsp; according to dtb. But the problem remains.Then I tested nand read operation in SPL and Linux,all of them works well.&lt;/P&gt;&lt;P&gt;the follows is the data read from nand for each page from 0xfe0 to 0xfe.Could you give me more advices? thanks...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zhaopingyang_sg_0-1678383711151.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/213922i53C52205106E3318/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zhaopingyang_sg_0-1678383711151.png" alt="zhaopingyang_sg_0-1678383711151.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 17:45:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-u-boot-read-nand-data-error/m-p/1612599#M202537</guid>
      <dc:creator>zhaopingyang_sg</dc:creator>
      <dc:date>2023-03-09T17:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6UL u-boot read nand data error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-u-boot-read-nand-data-error/m-p/1616485#M202821</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/106135"&gt;@zhaopingyang_sg&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV&gt;Please make sure that the custom uboot configuration contains CONFIG_NAND_MXS=y option.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;SPL and U-boot use separate drivers for nand,&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/drivers/mtd/nand/raw/mxs_nand_spl.c?h=lf_v2022.04" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://source.codeaurora.org/external/imx/uboot-imx/tree/drivers/mtd/nand/raw/mxs_nand_spl.c?h%3Dlf_v2022.04&amp;amp;source=gmail&amp;amp;ust=1679036045956000&amp;amp;usg=AOvVaw0ZmdAXtJHQ5Rc33VldzBF_"&gt;mxs_nand_spl.c&lt;/A&gt;, and&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/drivers/mtd/nand/raw/mxs_nand.c?h=lf_v2022.04" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://source.codeaurora.org/external/imx/uboot-imx/tree/drivers/mtd/nand/raw/mxs_nand.c?h%3Dlf_v2022.04&amp;amp;source=gmail&amp;amp;ust=1679036045957000&amp;amp;usg=AOvVaw1UtOGrxFHgYkLI3jferZRO"&gt;mxs_nand.c&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;respectively.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please provide me with the u-boot&amp;nbsp;version and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;kernel_a&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;env variable for further debugging.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Mar 2023 07:43:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-u-boot-read-nand-data-error/m-p/1616485#M202821</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-03-16T07:43:57Z</dc:date>
    </item>
  </channel>
</rss>

