<?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: Unable to mount rootfs while booting from NAND in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212699#M13053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar problem on first boot from a micro SD card on an iMX6 based MarS board. Thanks for the suggestion to check RFS file ownership.&lt;/P&gt;&lt;P&gt;I ran&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo chown -R root /media/robert/rootfs/&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo chgrp -R root /media/robert/rootfs/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sync&lt;/P&gt;&lt;P&gt;Installed the micro SD card, and the board boots properly, issue wiht "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;mount: permission denied. (are you root?)" is solved! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Dec 2014 17:30:32 GMT</pubDate>
    <dc:creator>robertsmigielsk</dc:creator>
    <dc:date>2014-12-18T17:30:32Z</dc:date>
    <item>
      <title>Unable to mount rootfs while booting from NAND</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212693#M13047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am using IMX28 EVK rev D and trying to boot from NAND device. My nand chip is MT29F2G08ABAEAWP which is 2GB size from micron. I am using Mfgtool to flash the device and trying to boot from it. But while booting i get errors while mountinig the root file system as below.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;VFS: Mounted root (ubifs filesystem) on device 0:14.&lt;BR /&gt;Freeing init memory: 160K&lt;BR /&gt;init started: BusyBox v1.15.0 ()&lt;BR /&gt;starting pid 1122, tty '': '/etc/rc.d/rcS'&lt;BR /&gt;Mounting /proc and /sys &lt;BR /&gt;mount: permission denied. (are you root?)&lt;BR /&gt;mount: permission denied. (are you root?)&lt;BR /&gt;Setting the hostname to freescale&lt;BR /&gt;hostname: sethostname: Operation not permitted&lt;BR /&gt;Mounting filesystems&lt;BR /&gt;mount: mounting shm on /dev/shm failed: No such file or directory&lt;BR /&gt;mount: permission denied. (are you root?)&lt;BR /&gt;mount: permission denied. (are you root?)&lt;BR /&gt;cat: can't open '/proc/cmdline': No such file or directory&lt;BR /&gt;mount: permission denied. (are you root?)&lt;BR /&gt;Starting inetd: &lt;BR /&gt;chown: /home/user/.rhosts: Operation not permitted &lt;BR /&gt;chown: /home/user: Operation not permitted&lt;BR /&gt;chown: /home/user: Operation not permitted&lt;BR /&gt;cat: can't open '/proc/devices': No such file or directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I created the ubi.img file manually and trying to flash it by 'nandwrite' utility, however i derived the files from LTIB.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Attached are the ulc.xml that i am using to flash to nand device and the complete log i received while booting.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I don;t have a clue where to look for the issue. Please advice......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks in advance.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Prashanth&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336638"&gt;333-ucl.xml&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 10:29:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212693#M13047</guid>
      <dc:creator>Prashanth1z</dc:creator>
      <dc:date>2012-02-16T10:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to mount rootfs while booting from NAND</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212694#M13048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about my poor english.&lt;/P&gt;&lt;P&gt;I think you cannot write ubi image in a straightforward way using nandwrite as you can see in section &lt;STRONG&gt;Why do I have to use ubiformat&lt;/STRONG&gt; in this link: &lt;A href="http://www.linux-mtd.infradead.org/faq/ubifs.html" target="_blank"&gt;http://www.linux-mtd.infradead.org/faq/ubifs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I followed Robert Girard instructions in this links and it worked just fine.&lt;/P&gt;&lt;P&gt;&lt;A href="http://imxcommunity.org/forum/topics/imx28-nand-boot?id=4103961%3ATopic%3A12605&amp;amp;page=5#comments" target="_blank"&gt;http://imxcommunity.org/forum/topics/imx28-nand-boot?id=4103961%3ATopic%3A12605&amp;amp;page=5#comments&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope it helps!&lt;/P&gt;&lt;P&gt;Gabriel Sartori&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 13:11:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212694#M13048</guid>
      <dc:creator>GabrielSartori</dc:creator>
      <dc:date>2012-02-16T13:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to mount rootfs while booting from NAND</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212695#M13049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Gabriel,&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;I believe i am successful in writing the image and while booting the kernel is able to mount the root file system. But the only problem is when is starts to mount directories under the root directory. that's where i am stuck. :(&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the log&amp;nbsp;the rootfs is mounted correctly and i believe&amp;nbsp;it mean there's no issues with writing the image to NAND.&lt;/P&gt;&lt;P&gt;But this problem is a bit strange, as it asks for root while mounting the rootfs itself.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prashanth G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 13:30:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212695#M13049</guid>
      <dc:creator>Prashanth1z</dc:creator>
      <dc:date>2012-02-16T13:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to mount rootfs while booting from NAND</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212696#M13050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok,&lt;/P&gt;&lt;P&gt;So i have figured out the solution for the above issue. the problem was with the file ownership. I have&amp;nbsp;changed the ownership of&amp;nbsp;all the files of root filesystem&amp;nbsp;to my user name and it&amp;nbsp;worked. I was finally able to boot from NAND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But there is another problem&amp;nbsp;that I&amp;nbsp;ran into. After flashing the NAND,&amp;nbsp;on the first boot things&amp;nbsp;work perfectly fine. But when&amp;nbsp;I hit reset,&amp;nbsp;the board won't boot from NAND and gives me&amp;nbsp;error code 0x80508002 after that for every reset. I don;t understand wht's going wrong with it. is it that mounting the rootfs is disturbing the boot partition ??.&lt;/P&gt;&lt;P&gt;Can someone help me in this regards, Attahced is the log i have taken while flashing the nand and booting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 14:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212696#M13050</guid>
      <dc:creator>Prashanth1z</dc:creator>
      <dc:date>2012-02-17T14:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to mount rootfs while booting from NAND</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212697#M13051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I don't know if it helps but this error according to error codes header file means: "Unable to find FCB".&lt;/P&gt;&lt;P&gt;&amp;nbsp; I think I already had this issue and I have solved after made a driver that changed something in OCTP registers.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I will try to remember exactly what I did and I let you know.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Maybe this info gives something to look at.&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 19:40:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212697#M13051</guid>
      <dc:creator>GabrielSartori</dc:creator>
      <dc:date>2012-02-17T19:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to mount rootfs while booting from NAND</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212698#M13052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry!&lt;/P&gt;&lt;P&gt;It was something related with my hw design! I enable pull up in some GPMI pins.&lt;/P&gt;&lt;P&gt;I hope you can find what is going on! :/&lt;/P&gt;&lt;P&gt;Gabriel Sartori&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 20:15:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212698#M13052</guid>
      <dc:creator>GabrielSartori</dc:creator>
      <dc:date>2012-02-17T20:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to mount rootfs while booting from NAND</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212699#M13053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar problem on first boot from a micro SD card on an iMX6 based MarS board. Thanks for the suggestion to check RFS file ownership.&lt;/P&gt;&lt;P&gt;I ran&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo chown -R root /media/robert/rootfs/&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo chgrp -R root /media/robert/rootfs/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sync&lt;/P&gt;&lt;P&gt;Installed the micro SD card, and the board boots properly, issue wiht "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;mount: permission denied. (are you root?)" is solved! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 17:30:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-rootfs-while-booting-from-NAND/m-p/212699#M13053</guid>
      <dc:creator>robertsmigielsk</dc:creator>
      <dc:date>2014-12-18T17:30:32Z</dc:date>
    </item>
  </channel>
</rss>

