<?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 File content lost after IMX6UL is hard reset. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/File-content-lost-after-IMX6UL-is-hard-reset/m-p/752908#M117199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; NXP experts,&lt;/P&gt;&lt;P&gt;I develop a custom board booted from NAND using IMX6UL. After kernel are booted. I create a file in rootfs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mkdir /usr/data&lt;/P&gt;&lt;P&gt;echo todayispresent &amp;gt; abc.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I power off the board. When I power it on again, the file is still there in /usr/data/abc.txt. However the content "todayispresent" is not there. If after the echo command, I use cat to view the file content and then power off the board. When it is powered on again, the content is still there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what is the reason and how to resolve it. It seems like the content is not automatically flushed to NAND. Would you mind giving me some explanation and solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2018 13:59:33 GMT</pubDate>
    <dc:creator>tuyennguyen</dc:creator>
    <dc:date>2018-03-30T13:59:33Z</dc:date>
    <item>
      <title>File content lost after IMX6UL is hard reset.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/File-content-lost-after-IMX6UL-is-hard-reset/m-p/752908#M117199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; NXP experts,&lt;/P&gt;&lt;P&gt;I develop a custom board booted from NAND using IMX6UL. After kernel are booted. I create a file in rootfs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mkdir /usr/data&lt;/P&gt;&lt;P&gt;echo todayispresent &amp;gt; abc.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I power off the board. When I power it on again, the file is still there in /usr/data/abc.txt. However the content "todayispresent" is not there. If after the echo command, I use cat to view the file content and then power off the board. When it is powered on again, the content is still there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what is the reason and how to resolve it. It seems like the content is not automatically flushed to NAND. Would you mind giving me some explanation and solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 13:59:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/File-content-lost-after-IMX6UL-is-hard-reset/m-p/752908#M117199</guid>
      <dc:creator>tuyennguyen</dc:creator>
      <dc:date>2018-03-30T13:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: File content lost after IMX6UL is hard reset.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/File-content-lost-after-IMX6UL-is-hard-reset/m-p/752909#M117200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carrie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is necessary to use linux poweroff command so all&lt;/P&gt;&lt;P&gt;current opeartions were completed. Otherwise sudden power off the board&lt;/P&gt;&lt;P&gt;can corrupt data on flashes, if there is ongoing operation with flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Mon, 02 Apr 2018 23:45:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/File-content-lost-after-IMX6UL-is-hard-reset/m-p/752909#M117200</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-04-02T23:45:08Z</dc:date>
    </item>
  </channel>
</rss>

