<?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中的主题 Re: UBIFS on QSPI NOR Flash Corruption</title>
    <link>https://community.nxp.com/t5/Layerscape/UBIFS-on-QSPI-NOR-Flash-Corruption/m-p/691154#M2715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I observe the the same type of corruption, LS1012A + MT25QU512A (64MB chip);&lt;/P&gt;&lt;P&gt;After unmout ubifs, detach ubi, next attach ubi + mount ubiufs, trying to read the file, or list a directory,&lt;/P&gt;&lt;P&gt;i see the same 'bad CRC' etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Yiping&lt;/STRONG&gt;, could you share some links to relevant patches ?&lt;BR /&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Dec 2017 19:01:29 GMT</pubDate>
    <dc:creator>janmodaal</dc:creator>
    <dc:date>2017-12-11T19:01:29Z</dc:date>
    <item>
      <title>UBIFS on QSPI NOR Flash Corruption</title>
      <link>https://community.nxp.com/t5/Layerscape/UBIFS-on-QSPI-NOR-Flash-Corruption/m-p/691151#M2712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am trying to use an UBIFS on the QSPI with an LS1012a processor. I run the following commands to create the ubifs:&lt;/P&gt;&lt;P&gt;ubiformat /dev/mtd5&lt;BR /&gt;ubiattach -p /dev/mtd5&lt;/P&gt;&lt;P&gt;ubimkvol /dev/ubi0 -N ffs -m -a 4&lt;/P&gt;&lt;P&gt;mount -t ubifs -o sync ubi0:ffs /mnt/ffs/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything seems to work fine the first time I mount it. If I copy some files into the mounted partition, unmount it, and then mount the same partition again I get the following UBIFS errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# mount -t ubifs -o sync ubi0:ffs /mnt/ffs/&lt;/P&gt;&lt;P&gt;[ 272.570246] UBIFS error (ubi0:0 pid 872): ubifs_check_node: bad CRC: calculated 0x2a28b98e, read 0xdf1e5343&lt;/P&gt;&lt;P&gt;[ 272.582954] UBIFS error (ubi0:0 pid 872): ubifs_check_node: bad node at LEB 10:13280&lt;/P&gt;&lt;P&gt;[ 272.590790] magic 0x6101831&lt;/P&gt;&lt;P&gt;[ 272.594455] crc 0xdf1e5343&lt;/P&gt;&lt;P&gt;[ 272.598231] node_type 9 (indexing node)&lt;/P&gt;&lt;P&gt;[ 272.602591] group_type 0 (no node group)&lt;/P&gt;&lt;P&gt;[ 272.606965] sqnum 754&lt;/P&gt;&lt;P&gt;[ 272.610105] len 188&lt;/P&gt;&lt;P&gt;[ 272.613247] child_cnt 8&lt;/P&gt;&lt;P&gt;[ 272.616214] level 2&lt;/P&gt;&lt;P&gt;[ 272.619190] Branches:&lt;/P&gt;&lt;P&gt;[ 272.621553] 0: LEB 10:8752 len 108 key (1, inode)&lt;/P&gt;&lt;P&gt;[ 272.626352] 1: LEB 10:1744 len 128 key (65, data, 21)&lt;/P&gt;&lt;P&gt;[ 272.631510] 2: LEB 10:3408 len 188 key (65, data, 61)&lt;/P&gt;&lt;P&gt;[ 272.636668] 3: LEB 10:9056 len 188 key (65, data, 125)&lt;/P&gt;&lt;P&gt;[ 272.641902] 4: LEB 10:6864 len 188 key (66, data, 29)&lt;/P&gt;&lt;P&gt;[ 272.647060] 5: LEB 10:9632 len 188 key (66, data, 93)&lt;/P&gt;&lt;P&gt;[ 272.652206] 6: LEB 10:11360 len 188 key (0, inode)&lt;/P&gt;&lt;P&gt;[ 272.657828] Call trace:&lt;/P&gt;&lt;P&gt;[ 272.660428] UBIFS error (ubi0:0 pid 872): ubifs_read_node: expected node type 9&lt;/P&gt;&lt;P&gt;[ 272.668528] UBIFS error (ubi0:0 pid 872): ubifs_iget: failed to read inode 1, error -117&lt;/P&gt;&lt;P&gt;mount: mount ubi0:ffs on /mnt/ffs failed: Structure needs cleaning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas on what the problem might be? I have tried to disable dma and there is no change in the behavior.&lt;/P&gt;&lt;P&gt;Thank you for you help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 15:54:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/UBIFS-on-QSPI-NOR-Flash-Corruption/m-p/691151#M2712</guid>
      <dc:creator>justinjonas</dc:creator>
      <dc:date>2017-05-23T15:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: UBIFS on QSPI NOR Flash Corruption</title>
      <link>https://community.nxp.com/t5/Layerscape/UBIFS-on-QSPI-NOR-Flash-Corruption/m-p/691152#M2713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="291882" data-username="justinjonas" href="https://community.nxp.com/people/justinjonas"&gt;Justin Jonas,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was a known issue in the previous release SDK , there is problem in the QSPI driver to access UBIFS/JFFS2 filesystem. The development team is planning to fix this problem in LSDK 1706 release, which will be released to customers at the end of this month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far you could try Linux Kernel 4.4 downloaded from the OpenSource &lt;A class="link-titled" href="https://www.kernel.org/" title="https://www.kernel.org/"&gt;The Linux Kernel Archives&lt;/A&gt;, the QSPI related patches should be pushed to the upstream.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 09:20:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/UBIFS-on-QSPI-NOR-Flash-Corruption/m-p/691152#M2713</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2017-06-13T09:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: UBIFS on QSPI NOR Flash Corruption</title>
      <link>https://community.nxp.com/t5/Layerscape/UBIFS-on-QSPI-NOR-Flash-Corruption/m-p/691153#M2714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Has this been fixed in the LSDK 1706 yet? I haven't seen an update 1706 on the SDK downloads site yet.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 16:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/UBIFS-on-QSPI-NOR-Flash-Corruption/m-p/691153#M2714</guid>
      <dc:creator>justinjonas</dc:creator>
      <dc:date>2017-07-10T16:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: UBIFS on QSPI NOR Flash Corruption</title>
      <link>https://community.nxp.com/t5/Layerscape/UBIFS-on-QSPI-NOR-Flash-Corruption/m-p/691154#M2715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I observe the the same type of corruption, LS1012A + MT25QU512A (64MB chip);&lt;/P&gt;&lt;P&gt;After unmout ubifs, detach ubi, next attach ubi + mount ubiufs, trying to read the file, or list a directory,&lt;/P&gt;&lt;P&gt;i see the same 'bad CRC' etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Yiping&lt;/STRONG&gt;, could you share some links to relevant patches ?&lt;BR /&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 19:01:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/UBIFS-on-QSPI-NOR-Flash-Corruption/m-p/691154#M2715</guid>
      <dc:creator>janmodaal</dc:creator>
      <dc:date>2017-12-11T19:01:29Z</dc:date>
    </item>
  </channel>
</rss>

