<?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>LayerscapeのトピックLS1021 NAND driver does not report bit flips</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1021-NAND-driver-does-not-report-bit-flips/m-p/661825#M2396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The LS1021A NAND driver provided in the QorIQ Linux SDK does nor report bit flips when bits are flipped in a sector of page. This applies both to U-Boot and Linux driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. the following u-boot command returns OK while page 3fe000 contains an uncorrectable number of bit flips:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;=&amp;gt; nand read 81000000 3fe000 1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;NAND read: device 0 offset 0x3fe000, size 0x1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; 4096 bytes read: OK&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2016 15:35:37 GMT</pubDate>
    <dc:creator>keestrommel</dc:creator>
    <dc:date>2016-11-15T15:35:37Z</dc:date>
    <item>
      <title>LS1021 NAND driver does not report bit flips</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021-NAND-driver-does-not-report-bit-flips/m-p/661825#M2396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The LS1021A NAND driver provided in the QorIQ Linux SDK does nor report bit flips when bits are flipped in a sector of page. This applies both to U-Boot and Linux driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. the following u-boot command returns OK while page 3fe000 contains an uncorrectable number of bit flips:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;=&amp;gt; nand read 81000000 3fe000 1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;NAND read: device 0 offset 0x3fe000, size 0x1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; 4096 bytes read: OK&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 15:35:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021-NAND-driver-does-not-report-bit-flips/m-p/661825#M2396</guid>
      <dc:creator>keestrommel</dc:creator>
      <dc:date>2016-11-15T15:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: LS1021 NAND driver does not report bit flips</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021-NAND-driver-does-not-report-bit-flips/m-p/661826#M2397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The root cause of this problem is that the "struct fsl_ifc_nand" does not match the register map defined in the LS1021A Rev 1 reference manual. A boot that include a patch for this issue reports an error for a page with an uncorrectable number of bit flips, see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;=&amp;gt; nand read 81000000 3fe000 1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;NAND read: device 0 offset 0x3fe000, size 0x1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;NAND read from offset 3fe000 failed -74&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; 0 bytes read: ERROR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The U-Boot patch file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;From 5d30cbefe1204be348af860591e2f3e97dc67286 Mon Sep 17 00:00:00 2001&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;SPAN&gt;From: Kees Trommel &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ctrommel@linvm302.aimsys.nl"&gt;ctrommel@linvm302.aimsys.nl&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Date: Tue, 15 Nov 2016 16:16:00 +0100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Subject: [PATCH] fsl_ifc_nand-u-boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;SPAN&gt;Signed-off-by: Kees Trommel &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ctrommel@linvm302.aimsys.nl"&gt;ctrommel@linvm302.aimsys.nl&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;---&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; include/fsl_ifc.h | 9 ++++-----&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; 1 file changed, 4 insertions(+), 5 deletions(-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;diff --git a/include/fsl_ifc.h b/include/fsl_ifc.h&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;index a86f216..6d1dc23 100644&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;--- a/include/fsl_ifc.h&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;+++ b/include/fsl_ifc.h&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;@@ -883,15 +883,14 @@ struct fsl_ifc_nand {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 nand_evter_en;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 res17[0x2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 nand_evter_intr_en;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;- u32 nand_vol_addr_stat;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;- u32 res18;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;+ u32 res18[0x2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 nand_erattr0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 nand_erattr1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 res19[0x10];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 nand_fsr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;- u32 res20[0x3];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;- u32 nand_eccstat[6];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;- u32 res21[0x1c];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;+ u32 res20;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;+ u32 nand_eccstat[4];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;+ u32 res21[0x20];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 nanndcr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 res22[0x2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 nand_autoboot_trgr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;-- &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;2.5.5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Linux patch file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;From c3ec47854734293594b11b8e88bb2179804935e4 Mon Sep 17 00:00:00 2001&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;SPAN&gt;From: Kees Trommel &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ctrommel@linvm302.aimsys.nl"&gt;ctrommel@linvm302.aimsys.nl&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Date: Tue, 15 Nov 2016 16:19:09 +0100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Subject: [PATCH] fsl_ifc_nand-linux&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;SPAN&gt;Signed-off-by: Kees Trommel &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ctrommel@linvm302.aimsys.nl"&gt;ctrommel@linvm302.aimsys.nl&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;---&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; include/linux/fsl_ifc.h | 9 ++++-----&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; 1 file changed, 4 insertions(+), 5 deletions(-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;diff --git a/include/linux/fsl_ifc.h b/include/linux/fsl_ifc.h&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;index 1770224..d48b886 100644&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;--- a/include/linux/fsl_ifc.h&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;+++ b/include/linux/fsl_ifc.h&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;@@ -729,15 +729,14 @@ struct fsl_ifc_nand {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; __be32 nand_evter_en;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 res17[0x2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; __be32 nand_evter_intr_en;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;- __be32 nand_vol_addr_stat;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;- u32 res18;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;+ u32 res18[0x2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; __be32 nand_erattr0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; __be32 nand_erattr1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 res19[0x10];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; __be32 nand_fsr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;- u32 res20[0x3];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;- __be32 nand_eccstat[6];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;- u32 res21[0x1c];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;+ u32 res20;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;+ __be32 nand_eccstat[4];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;+ u32 res21[0x20];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; __be32 nanndcr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; u32 res22[0x2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; __be32 nand_autoboot_trgr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;-- &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;2.5.5&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 15:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021-NAND-driver-does-not-report-bit-flips/m-p/661826#M2397</guid>
      <dc:creator>keestrommel</dc:creator>
      <dc:date>2016-11-15T15:41:43Z</dc:date>
    </item>
  </channel>
</rss>

