<?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: android rootfs over nfs issues in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167230#M4785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RO issue on system usually is something wrong on init.rc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to look for the command line that mount /system or that remount /systems with ro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2012 16:40:27 GMT</pubDate>
    <dc:creator>daiane_angolini</dc:creator>
    <dc:date>2012-12-20T16:40:27Z</dc:date>
    <item>
      <title>android rootfs over nfs issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167229#M4784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;I'm working with an iMX6 SabreSD board. I've got the board booting from eMMC. I have been able to build the kernel Image and android image and can flash the board using the MfgTool successfully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;I am currently trying to set up my development environment to have android boot up over NFS and kernel over TFTP.&amp;nbsp; My host machine runs Ubuntu 12.04.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;I've followed the instructions in the i.MX_Android_R13.3_User_Guide.html document that came with the imx-android-r13.3 package for the build and setting up of the nfs directory.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;The kernel comes up correctly, but I am having problems with the NFS boot part. (Kernel's uImage is available in /var/lib/tftpboot/)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Output of /etc/exports:&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;/var/lib/export-rfs&amp;nbsp;&amp;nbsp; *(rw,no_root_squash,async,no_subtree_check)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;The android rootfs is available under /var/lib/export-rfs/sabresd_6q&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;After copying over the files to /var/lib/export-rfs/sabresd_6q, I modified init.freescale.rc and commented out the lines that would mount /system /data/, etc from /dev/block/mmcblk0p*.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;I can mount the nfs directory on a pc correctly and have no read-write issues. NFS works ok otherwise. I am using it successfully for other directories under /var/lib/export-rfs on different machines.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;The output on the console from the boot up sequence is attached.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;The logcat output shows the following errors :&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;E/dalvikvm( 3987): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory&lt;/SPAN&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;I/dalvikvm( 3987): Unable to open or create cache for /system/framework/core.jar (/data/dalvik-cache/system@framework@core.jar@classes.dex)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;D/dalvikvm( 3987): Unable to process classpath element '/system/framework/core.jar'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;E/dalvikvm( 3987): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;I/dalvikvm( 3987): Unable to open or create cache for /system/framework/core-junit.jar (/data/dalvik-cache/system@framework@core-junit.jar@classes.dex)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;D/dalvikvm( 3987): Unable to process classpath element '/system/framework/core-junit.jar'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;E/dalvikvm( 3987): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;I/dalvikvm( 3987): Unable to open or create cache for /system/framework/bouncycastle.jar (/data/dalvik-cache/system@framework@bouncycastle.jar@classes.dex)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;D/dalvikvm( 3987): Unable to process classpath element '/system/framework/bouncycastle.jar'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;E/dalvikvm( 3987): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;I/dalvikvm( 3987): Unable to open or create cache for /system/framework/ext.jar (/data/dalvik-cache/system@framework@ext.jar@classes.dex)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;D/dalvikvm( 3987): Unable to process classpath element '/system/framework/ext.jar'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;E/dalvikvm( 3987): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;I/dalvikvm( 3987): Unable to open or create cache for /system/framework/framework.jar (/data/dalvik-cache/system@framework@framework.jar@classes.dex)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;D/dalvikvm( 3987): Unable to process classpath element '/system/framework/framework.jar'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;E/dalvikvm( 3987): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;I/dalvikvm( 3987): Unable to open or create cache for /system/framework/android.policy.jar (/data/dalvik-cache/system@framework@android.policy.jar@classes.dex)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;D/dalvikvm( 3987): Unable to process classpath element '/system/framework/android.policy.jar'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;E/dalvikvm( 3987): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;I/dalvikvm( 3987): Unable to open or create cache for /system/framework/services.jar (/data/dalvik-cache/system@framework@services.jar@classes.dex)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;D/dalvikvm( 3987): Unable to process classpath element '/system/framework/services.jar'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;E/dalvikvm( 3987): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;I/dalvikvm( 3987): Unable to open or create cache for /system/framework/apache-xml.jar (/data/dalvik-cache/system@framework@apache-xml.jar@classes.dex)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;D/dalvikvm( 3987): Unable to process classpath element '/system/framework/apache-xml.jar'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;E/dalvikvm( 3987): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;I/dalvikvm( 3987): Unable to open or create cache for /system/framework/filterfw.jar (/data/dalvik-cache/system@framework@filterfw.jar@classes.dex)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;D/dalvikvm( 3987): Unable to process classpath element '/system/framework/filterfw.jar'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;E/dalvikvm( 3987): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;E/dalvikvm( 3987): VM aborting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;F/libc&amp;nbsp;&amp;nbsp;&amp;nbsp; ( 3987): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;So it looks like it can't access /system and /data, etc.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;The files are available as read-only when I do an ls -l on the target. (Can't write to them). I can't do a touch successfully.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Running mount shows the following output:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;rootfs / rootfs rw 0 0&lt;/SPAN&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;192.168.1.112:/var/lib/export-rfs/sabresd_6q/ / nfs &lt;STRONG&gt;ro,&lt;/STRONG&gt;relatime,vers=3,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.112,mountvers=3,mountproto=tcp,local_lock=all,addr=192.168.1.112 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;devpts /dev/pts devpts rw,relatime,mode=600 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;proc /proc proc rw,relatime 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;sysfs /sys sysfs rw,relatime 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;none /acct cgroup rw,relatime,cpuacct 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;tmpfs /mnt/shm tmpfs rw,relatime,size=1024k,mode=775,uid=1000,gid=1003 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;none /dev/cpuctl cgroup rw,relatime,cpu 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;none /sys/kernel/debug debugfs rw,relatime 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;root@android:/ #&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;SPAN style="font-family: courier new,monospace;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;SPAN style="font-family: courier new,monospace;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;The output of Uboot environemt:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;MX6Q SABRESD U-Boot &amp;gt; printenv &lt;/SPAN&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;bootdelay=3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;baudrate=115200&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;netmask=255.255.255.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;rd_loadaddr=0x11000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;netdev=eth0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;ethprime=FEC0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;fastboot_dev=mmc3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;ethact=FEC0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;ipaddr=192.168.1.103&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;loadaddr=0x10800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;bootfile=uImage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;serverip=192.168.1.112&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;nfsroot=var/lib/export-rfs/sabresd_6q&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;bootcmd=dhcp;bootm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;stdin=serial&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;stdout=serial&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;stderr=serial&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;bootargs=console=ttymxc0,115200 init=/init rw video=mxcfb0 ip=dhcp fbmem=10M nfsroot=192.168.1.112:/var/lib/export-rfs/sabresd_6q vmalloc=400M androidboot.console=ttymxc0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;Environment size: 509/8188 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;MX6Q SABRESD U-Boot &amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;This is what I set it as in U-Boot:&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;setenv bootargs console=ttymxc0,115200 init=/init rw video=mxcfb0 ip=dhcp fbmem=10M nfsroot=${serverip}:/${nfsroot}, vmalloc=400M androidboot.console=ttymxc0&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;The bootargs variable for the console is specifying it as rw, but it looks like / is finally mounted as ro. Any ideas on where I can change this or what can be causing these errors.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Thanks.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Regards,&lt;/P&gt;&lt;P style="color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;-Rema.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: arial; font-size: small; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&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-336851"&gt;bootconsole.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 20:37:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167229#M4784</guid>
      <dc:creator>rema</dc:creator>
      <dc:date>2012-11-07T20:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: android rootfs over nfs issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167230#M4785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RO issue on system usually is something wrong on init.rc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to look for the command line that mount /system or that remount /systems with ro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 16:40:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167230#M4785</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2012-12-20T16:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: android rootfs over nfs issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167231#M4786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daiane. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a bit of trial and error after I had posted this problem, I discovered that adding the mount with the nfs command in the init.freescale.rc file had fixed this issue. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 18:53:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167231#M4786</guid>
      <dc:creator>rema</dc:creator>
      <dc:date>2012-12-20T18:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: android rootfs over nfs issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167232#M4787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have exactly the same issue. Can you post the mount command that you used in the init.freescale.rc. I am not sure what "adding the mount with the nfs command" translate into.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 22:44:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167232#M4787</guid>
      <dc:creator>JamesBlack</dc:creator>
      <dc:date>2013-02-06T22:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: android rootfs over nfs issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167233#M4788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My problem was that the file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./system/core/rootdir/init.rc&lt;/P&gt;&lt;P&gt;&amp;lt;snip&amp;gt;&lt;/P&gt;&lt;P&gt;on post-fs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # once everything is setup, no need to modify /&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; mount rootfs rootfs / ro remount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thinking .system/core/rootdir/init.rc ended up in the root directory of the nfs mount. Apparently it does not. I have not found the actual file that the build uses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also had to change&lt;/P&gt;&lt;P&gt;./device/fsl/imx6/sabresd/init.rc&lt;/P&gt;&lt;P&gt;to remove all the ext4 mounts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the file device/fsl//imx6/sabresd/init.rc,&lt;/P&gt;&lt;P&gt;add a line so it doesn't try to reDHCP during boot&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and comment out the ext4 mounts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;setprop ethernet.clear.ip no&lt;BR /&gt;#on fs &lt;BR /&gt;# mount ext4 partitions&lt;BR /&gt;# mount ext4 /dev/block/mmcblk0p5 /system&lt;BR /&gt;# mount ext4 /dev/block/mmcblk0p5 /system ro remount&lt;BR /&gt;# mount ext4 /dev/block/mmcblk0p7 /data nosuid nodev nodiratime noatime &lt;BR /&gt;errors=panic,discard,nomblk_io_submit,noauto_da_alloc&lt;BR /&gt;# mount ext4 /dev/block/mmcblk0p6 /cache nosuid nodev&lt;BR /&gt;# mount ext4 /dev/block/mmcblk0p8 /device ro nosuid nodev&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 23:57:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167233#M4788</guid>
      <dc:creator>JamesBlack</dc:creator>
      <dc:date>2013-02-06T23:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: android rootfs over nfs issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167234#M4789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also getting the same issue while encrypting/decrypting the phone and after encryption is done when device is trying to reboot i am getting this issue,so there is something i need to modify in the init files.&lt;/P&gt;&lt;P&gt;Can u please tell what exactly you have changed to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Durgesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 07:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167234#M4789</guid>
      <dc:creator>durgeshsingh</dc:creator>
      <dc:date>2013-02-08T07:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: android rootfs over nfs issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167235#M4790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rema. Could you be so kind and provide "nfs command in the init.freescale.rc file" which solved you issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 09:57:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/android-rootfs-over-nfs-issues/m-p/167235#M4790</guid>
      <dc:creator>evgenymolchanov</dc:creator>
      <dc:date>2016-10-20T09:57:23Z</dc:date>
    </item>
  </channel>
</rss>

