<?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>i.MX ProcessorsのトピックRe: Boot i.MX8MM using NFS</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1154740#M162002</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/153299"&gt;@nxf65420&lt;/a&gt;&amp;nbsp;, The above solution is for loading an initrd through tftp, but my issue was with loading an initramfs through NFS specifically. However, I was able to resolve the NFS issue. It turns out I only had to fix the NFS version to 4 in the u-boot bootargs and set the ip to be static. This worked because the Kernel defconfig has the following fields set:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;CONFIG_NFS_V4=y
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y&lt;/LI-CODE&gt;&lt;P&gt;By default, u-boot uses NFS V3 requests and I had configured by host to include only V3. Change the uboot bootargs to include `nfsvers=4` and allow NFS V3+, NFS V4+ requests on the server solved the issue.&lt;/P&gt;&lt;P&gt;For the sake of clarity I will post the bootargs below:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;setenv ip_dyn no
setenv ipaddr &amp;lt;host_ip_addr&amp;gt;
setenv serverip &amp;lt;server_ip&amp;gt;
setenv bootargs console=${console} root=/dev/nfs rw nfsroot=${serverip}:${nfsroot},nfsvers=4,tcp ip=${ipaddr}:${serverip}:&amp;lt;gateway_addr&amp;gt;:&amp;lt;netmask&amp;gt;::eth0(or your device):off&lt;/LI-CODE&gt;&lt;P&gt;My NFS Server is Ubuntu 20.04 LTS and the directory is owned by root. The following are the contents of the /etc/exports file:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/home/&amp;lt;user&amp;gt;/rootfs &amp;lt;client_ip&amp;gt;(rw,sync,no_root_squash,no_all_squash,no_subtree_check)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 10:35:45 GMT</pubDate>
    <dc:creator>harsh1621</dc:creator>
    <dc:date>2020-09-17T10:35:45Z</dc:date>
    <item>
      <title>Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1152978#M161764</link>
      <description>&lt;P&gt;I am trying to boot i.MX8MM Som using TFTP/NFS. I am successfully able to load the kernel and the dtb from a TFTP server (Ubuntu 20.04 LTS Machine), however, I am unable to mount the RFS on from the NFS server (which happens to be the same machine as the TFTP server). On trying to load the rfs, I get the following error:&lt;/P&gt;&lt;P&gt;VFS: Unable to mount rootfs via NFS, trying floppy&lt;/P&gt;&lt;P&gt;VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6&lt;/P&gt;&lt;P&gt;The NFS folder on the server is owned by root. I am not sure if that might be causing an issue. However, I am unable to even execute the following:&lt;/P&gt;&lt;P&gt;nfs 1000000 &amp;lt;serverip&amp;gt;:&amp;lt;path_to_rootfs&amp;gt;&lt;/P&gt;&lt;P&gt;The above command times out. I have just one eth device and that is eth0. ip_dyn is off and ip=&amp;lt;board_ip&amp;gt;:&amp;lt;serverip&amp;gt;:&amp;lt;gateway&amp;gt;:&amp;lt;netmask&amp;gt;:::off&lt;/P&gt;&lt;P&gt;It would be very helpful if someone can point me towards a possible solution.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 16:12:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1152978#M161764</guid>
      <dc:creator>harsh1621</dc:creator>
      <dc:date>2020-09-14T16:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153378#M161823</link>
      <description>&lt;P&gt;Hi &lt;A id="link_10" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177941" target="_self"&gt;&lt;SPAN class=""&gt;harsh1621&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;We tried with the &lt;A href="https://www.nxp.com/webapp/Download?colCode=L4.14.98_2.0.0_MX8MQ&amp;amp;appType=license" target="_self"&gt;L4.14.98 prebuilds&lt;/A&gt; and we were able to successfully boot the root file system using NFS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following link would be useful we believe:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://variwiki.com/index.php?title=Yocto_Setup_TFTP/NFS" target="_blank"&gt;https://variwiki.com/index.php?title=Yocto_Setup_TFTP/NFS&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We kept the location of the root file system at /home/&amp;lt;xyz&amp;gt;/rootfs&lt;/P&gt;
&lt;P&gt;Let us know if you find any concerns after following the above steps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Karan Gajjar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 09:16:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153378#M161823</guid>
      <dc:creator>nxf65420</dc:creator>
      <dc:date>2020-09-15T09:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153398#M161827</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/153299"&gt;@nxf65420&lt;/a&gt;&amp;nbsp;, I have referred to the steps here:&amp;nbsp;&lt;A href="https://variwiki.com/index.php?title=Yocto_Setup_TFTP/NFS" target="_blank"&gt;https://variwiki.com/index.php?title=Yocto_Setup_TFTP/NFS&lt;/A&gt;&amp;nbsp;but still I am unable to mount the rfs via nfs. The kernel and the dtb are getting loaded just fine, but it is the NFS that is not working. I am using a custom Debian 64 ramdisk as my rootfs. The behaviour on entering the run netboot is as follows:&lt;/P&gt;&lt;P&gt;1. Kernel and DTB Images are successfully downloaded&lt;/P&gt;&lt;P&gt;2. Kernel starts, hits random: crng init done&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. After about 5 mins, the VFS throws an error and there is kernel panic. I am using NFS Vers=3 on the host file system and the directory is owned by root.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, the following command in the uboot prompt fails with a timeout:&lt;/P&gt;&lt;P&gt;nfs &amp;lt;addr&amp;gt; &amp;lt;serverip&amp;gt;:&amp;lt;path&amp;gt;&lt;/P&gt;&lt;P&gt;I am not sure what is going wrong.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 09:41:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153398#M161827</guid>
      <dc:creator>harsh1621</dc:creator>
      <dc:date>2020-09-15T09:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153464#M161837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_17" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177941" target="_self"&gt;harsh1621&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Have you tried using the rebuild rootfs and changing the owner of the directory to the user? This will help us narrow down the issue.&lt;/P&gt;
&lt;P&gt;Let me know the result with the above two changes.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Karan Gajjar&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 11:39:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153464#M161837</guid>
      <dc:creator>nxf65420</dc:creator>
      <dc:date>2020-09-15T11:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153469#M161838</link>
      <description>&lt;P&gt;Yes &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/153299"&gt;@nxf65420&lt;/a&gt;&amp;nbsp;, I did try it. I set the owner of the rootfs on the host machine as the current user. I also freshly build the rootfs. But I am facing the same issue. I tried using nfsvers=3 as well, but same issue of unable to mount on NFS.&lt;/P&gt;&lt;P&gt;I am able to mount this NFS file system on my board after normal (eMMC) booting has been done, but unable to access it during boot.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 11:51:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153469#M161838</guid>
      <dc:creator>harsh1621</dc:creator>
      <dc:date>2020-09-15T11:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153473#M161839</link>
      <description>&lt;P&gt;For more details on the NFS Server, the following is my exports file:&lt;/P&gt;&lt;P&gt;/home/&amp;lt;user&amp;gt;/rootfs&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;board_ip&amp;gt;(rw,sync,no_root_squash,no_all_squash,no_subtree_check)&lt;/P&gt;&lt;P&gt;The host supports NFS Version +3, +4, +4.1.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 12:00:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153473#M161839</guid>
      <dc:creator>harsh1621</dc:creator>
      <dc:date>2020-09-15T12:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153887#M161896</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177941" target="_blank"&gt;harsh1621&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We followed the below steps to build the image file:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382750/highlight/true#M55235" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/Yocto-initramfs/m-p/382750/highlight/true#M55235&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;After getting the image, we converted that using below command:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;mkimage -A arm -O linux -T ramdisk -C gzip -n "Build Root File System" -d &amp;lt;rootfs.gz&amp;gt; rootfs.ext2.gz.uboot&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;After copying the Image(kernel image), dtb file and the rootfs converted using the above commands to /tftpboot folder in the host machine we executed below steps to boot:&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;setenv autoload no&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;setenv initrd_high 0xffffffff&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;setenv fdt_high 0xffffffff&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;setenv loadkernel 'tftp 0x40480000 Image'&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;setenv filesize &amp;lt;file_size_of_gz.uboot&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;setenv loadinitrd 'tftp 0x43800000 rootfs.ext2.gz.uboot; setenv initrd_size ${filesize}'&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;setenv loadfdt 'tftp 0x43000000 fsl-imx8mq-evk.dtb'&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;setenv bootargs 'console=ttymxc0,115200n8 root=/dev/ram0 rw ip=dhcp'&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;setenv bootcmd 'dhcp; setenv serverip &amp;lt;server_ip_addr&amp;gt;; run loadkernel; run loadinitrd; run loadfdt; booti 0x40480000 0x43800000 0x43000000'&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For more reference you can follow the below link:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://imxdev.gitlab.io/tutorial/How_to_boot_imx_using_ramdisk/" target="_self"&gt;&lt;SPAN&gt;https://imxdev.gitlab.io/tutorial/How_to_boot_imx_using_ramdisk/&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please check if the above steps work for you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Karan Gajjar&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 06:18:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1153887#M161896</guid>
      <dc:creator>nxf65420</dc:creator>
      <dc:date>2020-09-16T06:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1154740#M162002</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/153299"&gt;@nxf65420&lt;/a&gt;&amp;nbsp;, The above solution is for loading an initrd through tftp, but my issue was with loading an initramfs through NFS specifically. However, I was able to resolve the NFS issue. It turns out I only had to fix the NFS version to 4 in the u-boot bootargs and set the ip to be static. This worked because the Kernel defconfig has the following fields set:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;CONFIG_NFS_V4=y
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y&lt;/LI-CODE&gt;&lt;P&gt;By default, u-boot uses NFS V3 requests and I had configured by host to include only V3. Change the uboot bootargs to include `nfsvers=4` and allow NFS V3+, NFS V4+ requests on the server solved the issue.&lt;/P&gt;&lt;P&gt;For the sake of clarity I will post the bootargs below:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;setenv ip_dyn no
setenv ipaddr &amp;lt;host_ip_addr&amp;gt;
setenv serverip &amp;lt;server_ip&amp;gt;
setenv bootargs console=${console} root=/dev/nfs rw nfsroot=${serverip}:${nfsroot},nfsvers=4,tcp ip=${ipaddr}:${serverip}:&amp;lt;gateway_addr&amp;gt;:&amp;lt;netmask&amp;gt;::eth0(or your device):off&lt;/LI-CODE&gt;&lt;P&gt;My NFS Server is Ubuntu 20.04 LTS and the directory is owned by root. The following are the contents of the /etc/exports file:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/home/&amp;lt;user&amp;gt;/rootfs &amp;lt;client_ip&amp;gt;(rw,sync,no_root_squash,no_all_squash,no_subtree_check)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 10:35:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1154740#M162002</guid>
      <dc:creator>harsh1621</dc:creator>
      <dc:date>2020-09-17T10:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1154839#M162026</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;harsh1621,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We are glad you were able to resolve your issue.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Karan Gajjar&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 13:41:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1154839#M162026</guid>
      <dc:creator>nxf65420</dc:creator>
      <dc:date>2020-09-17T13:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1299550#M176169</link>
      <description>&lt;P&gt;&lt;EM&gt;*** (second version) ***&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Since I encounter problems in getting nfs boot running at all, I tried several things. I also followed the "solved" solution of this thread. Initially nfsvers=4 was the problem(!), because I didn't realize that v4 uses a pseudo root path. Finally it operates on v4 after /srv/nfsv4 was stripped in $nfsroot. Further, I took notice of the instructions here: &lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Yocto-NFS-TFTP-boot/ta-p/1103671" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Yocto-NFS-TFTP-boot/ta-p/1103671&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But this information seems somewhat outdated. Further, this text applied only partially to i.MX8, because the zImage mentioned here is said to be no longer used with arm64: &lt;A href="https://community.nxp.com/t5/i-MX-Processors/how-to-build-zImage-for-i-mx8mq/td-p/813439" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/how-to-build-zImage-for-i-mx8mq/td-p/813439&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I was a bit confused regarding this, because zImage is mentioned in the official i.MX Linux User's Guide LF 5.10.9_1.0.0.&lt;/P&gt;&lt;P&gt;Meanwhile, NFS does its job, but a number of init errors occur after the kernel has finished its init. A log file from the start of the &lt;STRONG&gt;run netboot&lt;/STRONG&gt; command is attached.&lt;/P&gt;&lt;P&gt;BTW: if I bitbake &lt;STRONG&gt;core-image-base&lt;/STRONG&gt; or&amp;nbsp;&lt;STRONG&gt;fsl-image-machine-test&lt;/STRONG&gt;, the &lt;STRONG&gt;rootfs&lt;/STRONG&gt; is shown as if it (and its content) were generated 2018. Only after executing&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN&gt;bitbake fsl-image-machine-tes&lt;/SPAN&gt;t -c rootfs -f&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;(with -f), &lt;EM&gt;...build-xwayland/tmp/work/imx8mmevk-poky-linux/fsl-image-machine-test/1.0-r0/rootfs&lt;/EM&gt; seems really freshly &lt;STRONG&gt;generated&lt;/STRONG&gt;. However, the errors as documented in the attachment are still persistent.&lt;/P&gt;&lt;P&gt;I'd appreciate any help gratefully..&lt;/P&gt;&lt;P&gt;BTW: I would also appreciate some hints of how to load a compressed image, since the log shows that this takes quite some seconds. This means: how can I instruct u-boot to extract the image in the process of netboot?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 14:08:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1299550#M176169</guid>
      <dc:creator>rjm</dc:creator>
      <dc:date>2021-06-30T14:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1300578#M176267</link>
      <description>&lt;P&gt;Even when I use a rootfs grabbed from eMMC and execute appropriate u-boot commands such that Image &amp;amp; .dtb-file are read from eMMC and the grabbed "FAILED" occurs on several instances, e.g. &lt;SPAN&gt;&lt;SPAN&gt;Failed to start &lt;/SPAN&gt;&lt;SPAN&gt;User Login Management&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;U-boot commands for this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN&gt;u-boot=&amp;gt; mmc dev 2 &lt;BR /&gt;switch to partitions #0, OK &lt;BR /&gt;mmc2(part 0) is current device &lt;BR /&gt;u-boot=&amp;gt; run loadimage &amp;nbsp;&lt;BR /&gt;29280768 bytes read in 132 ms (211.5 MiB/s) &lt;BR /&gt;u-boot=&amp;gt; run loadfdt &amp;nbsp;&lt;BR /&gt;46889 bytes read in 10 ms (4.5 MiB/s) &lt;BR /&gt;u-boot=&amp;gt; setenv nfsroot /rootfs_mmc &lt;BR /&gt;u-boot=&amp;gt; run netargs &lt;BR /&gt;u-boot=&amp;gt; booti $loadaddr - $fdt_addr&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;And kernel command line:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;SPAN&gt;[ &amp;nbsp;&amp;nbsp;&amp;nbsp;0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/nfs rootwait rw nfsroot=192.168.1.64:/rootfs_mmc,tcp,nfsvers=4 ip=192.168.1.78:192.168.1.64:192.168.1.1:255.255.255.0&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 09:06:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1300578#M176267</guid>
      <dc:creator>rjm</dc:creator>
      <dc:date>2021-07-05T09:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Boot i.MX8MM using NFS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1302365#M176404</link>
      <description>&lt;P&gt;The reason for the reported failures is related to the ownership of all files in rootfs. If I say&lt;/P&gt;&lt;PRE&gt;sudo chown root:root -R /srv/nfsv4/rootfs&lt;/PRE&gt;&lt;P&gt;Then &lt;STRONG&gt;netboot&lt;/STRONG&gt; runs without problems (tested with &lt;U&gt;imx-image-core&lt;/U&gt;). In order to clarify things: Of course, the root ownership shouldn't be a problem because root has full access also to UID 1000. A run netboot comparison on an older uClinux-based platform (at hand here) shows that the above command principally shouldn't be necessary. Without ownership changes, in both cases UID and GID is shown as 1000 upon doing &lt;STRONG&gt;ls -als&lt;/STRONG&gt; commands.&lt;/P&gt;&lt;P&gt;BTW: The problem with root ownership is that it would result in &lt;STRONG&gt;bitbake&lt;/STRONG&gt; build errors. So, prior to starting bitbake, I'd have to restore the original ownership of the rootfs directory...&lt;/P&gt;&lt;P&gt;Please find attached a bash script that is run as &lt;STRONG&gt;build postprocess&lt;/STRONG&gt;. It copies the &lt;U&gt;Image&lt;/U&gt; and &lt;U&gt;dtb-file&lt;/U&gt; to the &lt;STRONG&gt;TFTP-server&lt;/STRONG&gt; directory and also mounts the rootfs-directory to &lt;STRONG&gt;/srv/nfsv4/rootfs&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I just added the above command to the end of this script ;-).&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 09:05:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-i-MX8MM-using-NFS/m-p/1302365#M176404</guid>
      <dc:creator>rjm</dc:creator>
      <dc:date>2021-07-05T09:05:39Z</dc:date>
    </item>
  </channel>
</rss>

