<?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: UBI/UBIFS error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/UBI-UBIFS-error/m-p/690796#M107014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can we say, that kobs-ng was never applied &amp;nbsp;?&lt;/P&gt;&lt;P&gt;Strictly speaking it must be used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jun 2017 03:48:28 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2017-06-23T03:48:28Z</dc:date>
    <item>
      <title>UBI/UBIFS error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UBI-UBIFS-error/m-p/690793#M107011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several questions regarding UBI. I'm getting following error when trying to attach to an UBI device (u-boot):&lt;/P&gt;&lt;P&gt;&amp;gt; ubi0: attaching mtd1&lt;BR /&gt;&amp;gt; UBI init error 22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got this error after programming the board with (kernel, in user space):&lt;/P&gt;&lt;P&gt;# flash_erase /dev/mtd0 0 0&lt;BR /&gt;# ubiformat /dev/mtd0&lt;BR /&gt;# ubiattach -m 0&lt;BR /&gt;# ubimkvol /dev/ubi0 -N kernel -s 32MiB&lt;/P&gt;&lt;P&gt;# ubimkvol /dev/ubi0 -N rootfs -s 128MiB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if I first apply&lt;/P&gt;&lt;P&gt;&amp;gt; nand erase.chip&lt;/P&gt;&lt;P&gt;in u-boot, the programming succeeds and I don't get an error in&amp;nbsp; u-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could cause this issue? Could this be related to the ECC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, how can I verify the ECC mode in kernel and in u-boot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Pieter Cardoen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 13:06:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UBI-UBIFS-error/m-p/690793#M107011</guid>
      <dc:creator>pietercardoen</dc:creator>
      <dc:date>2017-06-19T13:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: UBI/UBIFS error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UBI-UBIFS-error/m-p/690794#M107012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; It is needed to provide special NAND initialization for NXP BSP, using&amp;nbsp;kobs-ng utility.&lt;/P&gt;&lt;P&gt;Please look at "NAND Flash" section of the MFG tool (in ucl2.xml file) how to perform&lt;/P&gt;&lt;P&gt;NAND initialization and system deployment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX6_L4.1.15_1.0.0_MFG_TOOL&amp;amp;appType=file2&amp;amp;location=null&amp;amp;DOWNLOAD_ID=null" title="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX6_L4.1.15_1.0.0_MFG_TOOL&amp;amp;appType=file2&amp;amp;location=null&amp;amp;DOWNLOAD_ID=null"&gt;IMX6_L4.1.15_1.0.0_MFG_TOOL&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note: If this post answers your question, please click the Correct Answer &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 02:05:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UBI-UBIFS-error/m-p/690794#M107012</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-06-21T02:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: UBI/UBIFS error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UBI-UBIFS-error/m-p/690795#M107013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp; using a different memory architecture on our target platform. We have 2 different memories:&lt;/P&gt;&lt;P&gt;NOR flash:&lt;/P&gt;&lt;P&gt;* Bootloader (u-boot)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAND flash:&lt;/P&gt;&lt;P&gt;An UBI volume is created over the entire device&lt;/P&gt;&lt;P&gt;UBI&lt;/P&gt;&lt;P&gt;&amp;nbsp; |-&amp;gt; UBIFS: kernelA&lt;/P&gt;&lt;P&gt;&amp;nbsp; |-&amp;gt; UBIFS: kernelB&lt;/P&gt;&lt;P&gt;&amp;nbsp; |-&amp;gt; UBIFS: rootfsA&lt;/P&gt;&lt;P&gt;&amp;nbsp; |-&amp;gt; UBIFS: rootfsB&lt;/P&gt;&lt;P&gt;&amp;nbsp; |-&amp;gt; UBIFS: data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bootloader boots correctly and tries to attach to the UBIFS partition kernelA and gives the error:&lt;/P&gt;&lt;P&gt;UBI init error 22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this has nothing to do with the kobs-ng command as this is only to flash bootloader &amp;amp; kernel on raw nand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think something is wrong related to ECC but I don't know how to debug this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 10:20:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UBI-UBIFS-error/m-p/690795#M107013</guid>
      <dc:creator>pietercardoen</dc:creator>
      <dc:date>2017-06-22T10:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: UBI/UBIFS error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UBI-UBIFS-error/m-p/690796#M107014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can we say, that kobs-ng was never applied &amp;nbsp;?&lt;/P&gt;&lt;P&gt;Strictly speaking it must be used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 03:48:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UBI-UBIFS-error/m-p/690796#M107014</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-06-23T03:48:28Z</dc:date>
    </item>
  </channel>
</rss>

