<?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: i.MX6 Micron NAND UBI/UBIFS Mount Failure - LEB Corruption &amp;amp; GPMI-NAND Errors in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Micron-NAND-UBI-UBIFS-Mount-Failure-LEB-Corruption-amp/m-p/2073979#M235872</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/233905"&gt;@Dev1008&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know what could be wrong due to we don't support buildroot for iMX6.&lt;/P&gt;
&lt;P&gt;I recommend compile our&lt;A href="https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX" target="_self"&gt; BSP&lt;/A&gt; using Yocto Project as we recommend, it is easier to us give you support if you use our official BSP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our BSP is working good in our boards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;BR /&gt;Chavira&lt;/P&gt;</description>
    <pubDate>Thu, 03 Apr 2025 23:36:42 GMT</pubDate>
    <dc:creator>Chavira</dc:creator>
    <dc:date>2025-04-03T23:36:42Z</dc:date>
    <item>
      <title>i.MX6 Micron NAND UBI/UBIFS Mount Failure - LEB Corruption &amp; GPMI-NAND Errors</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Micron-NAND-UBI-UBIFS-Mount-Failure-LEB-Corruption-amp/m-p/2073934#M235865</link>
      <description>&lt;P&gt;I'm encountering persistent UBIFS mount failures on my i.MX6 system with Micron NAND. My kernel version is Linux buildroot 4.14.135 #2 SMP Mon May 13 16:08:45 UTC 2024 armv7l GNU/Linux. Specifically, I'm getting 'Invalid argument' and 'Structure needs cleaning' errors when mounting /dev/ubi0_0 to /opt.&lt;/P&gt;&lt;P&gt;From the kernel logs, I see these errors:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;UBIFS error (ubi0:0 pid 166): ubifs_recover_leb: LEB 1067 scanning failed&lt;/LI&gt;&lt;LI&gt;UBIFS error (ubi0:0 pid 157): ubifs_replay_journal: no UBIFS nodes found at the log head LEB 6:0, possibly corrupted&lt;/LI&gt;&lt;LI&gt;UBIFS error (ubi0:0 pid 168): ubifs_recover_leb: LEB 5 scanning failed&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And also these GPMI-NAND errors:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;gpmi-nand 1806000.gpmi-nand: STATUS_UNCORRECTABLE: Page:67528,subpage:0,Bitflips:-74,corrected:8&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;These errors suggest potential LEB corruption within UBIFS and uncorrectable bit flips from the GPMI-NAND controller.&lt;/P&gt;&lt;P&gt;Currently, when I face issues, I reformat the NAND and mount again, which works. However, I want to investigate why it's failing in the first instance and if there are any patches to fix the problem, or if I am encountering a kernel bug.&lt;/P&gt;&lt;P&gt;I'm seeking advice on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Potential causes for the LEB corruption and GPMI-NAND uncorrectable errors.&lt;/LI&gt;&lt;LI&gt;Recommended troubleshooting steps to diagnose and resolve these issues.&lt;/LI&gt;&lt;LI&gt;Any tools that can be used to repair the ubifs partition. for&amp;nbsp;kernel version 4.14.135.&lt;/LI&gt;&lt;LI&gt;If there are any patches to fix the problem, or if I am encountering a kernel bug.&lt;/LI&gt;&lt;LI&gt;Any insights or suggestions would be greatly appreciated."&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 03 Apr 2025 20:17:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Micron-NAND-UBI-UBIFS-Mount-Failure-LEB-Corruption-amp/m-p/2073934#M235865</guid>
      <dc:creator>Dev1008</dc:creator>
      <dc:date>2025-04-03T20:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 Micron NAND UBI/UBIFS Mount Failure - LEB Corruption &amp; GPMI-NAND Errors</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Micron-NAND-UBI-UBIFS-Mount-Failure-LEB-Corruption-amp/m-p/2073979#M235872</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/233905"&gt;@Dev1008&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know what could be wrong due to we don't support buildroot for iMX6.&lt;/P&gt;
&lt;P&gt;I recommend compile our&lt;A href="https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX" target="_self"&gt; BSP&lt;/A&gt; using Yocto Project as we recommend, it is easier to us give you support if you use our official BSP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our BSP is working good in our boards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;BR /&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 23:36:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Micron-NAND-UBI-UBIFS-Mount-Failure-LEB-Corruption-amp/m-p/2073979#M235872</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2025-04-03T23:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 Micron NAND UBI/UBIFS Mount Failure - LEB Corruption &amp; GPMI-NAND Errors</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Micron-NAND-UBI-UBIFS-Mount-Failure-LEB-Corruption-amp/m-p/2074016#M235876</link>
      <description>&lt;P&gt;yes&amp;nbsp; Yocto is better, but due to workplace limitations can't port to Yocto. I'm encountering random boot failures on my iMX6 NAND setup with Buildroot. Are there any specific kernel patches known to address these intermittent NAND problems on iMX6 that I could try?&lt;/P&gt;&lt;P&gt;found one gpmi-patch error&amp;nbsp;&lt;A title="http://lists.infradead.org/pipermail/linux-mtd/2013-December/050824.html" href="http://lists.infradead.org/pipermail/linux-mtd/2013-December/050824.html" rel="nofollow noopener noreferrer" target="_blank"&gt;[PATCH v1] mtd: gpmi: Deal with bitflips in erased regions regions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 04:10:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Micron-NAND-UBI-UBIFS-Mount-Failure-LEB-Corruption-amp/m-p/2074016#M235876</guid>
      <dc:creator>Dev1008</dc:creator>
      <dc:date>2025-04-04T04:10:40Z</dc:date>
    </item>
  </channel>
</rss>

