<?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: Booting from network</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Booting-from-network/m-p/357317#M50065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are booting from MMC. &lt;/P&gt;&lt;P&gt;Are you want to boot from NFS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the User Guide,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.7.5 Running the Linux Image From NFS&lt;/P&gt;&lt;P&gt;To boot from NFS, set the following environment variables at the U-Boot prompt:&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv serverip 10.192.225.216&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv image &amp;lt;your kernel zImage name on the TFTP server&amp;gt;&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv fdt_file &amp;lt;your dtb image name on the TFTP server&amp;gt;&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv rootfsinfo 'setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:/data/rootfs_home/rootfs_mx6,v3,tcp'&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv bootcmd_net 'run rootfsinfo; dhcp ${image}; dhcp ${fdt_addr} ${fdt_file}; bootz ${loadaddr} - ${fdt_addr}'&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv bootcmd 'run bootcmd_net'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE&lt;/P&gt;&lt;P&gt;If the MAC address has not been burned into the fuses, you must set the MAC address to&lt;/P&gt;&lt;P&gt;use the network in U-Boot.&lt;/P&gt;&lt;P&gt;setenv ethaddr xx:xx:xx:xx:xx:xx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 04:00:16 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2015-04-07T04:00:16Z</dc:date>
    <item>
      <title>Booting from network</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Booting-from-network/m-p/357315#M50063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'd like to boot my i.mx6 sabresd from network, using a tftp server. I've followed the Linux User's Guide.pdf, with some minor modifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setenv serverip IPADDR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setenv bootfile uImage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setenv fdt_file imx6q-sabresd.dtb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setenv ethaddr 00:04:9f:02:e2:33&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; saveenv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dhcp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mmc dev 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mmc write ${loadaddr} 0x800 0x4000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tftpboot ${fdt_addr} ${fdt_file}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fdt addr ${fdt_addr}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk2p2 rootwait rw'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setenv bootcmd_mmc 'run bootargs_mmc;mmc dev 1;mmc read ${loadaddr} 0x800 0x4000;mmc read ${fdt_addr} 0x5000 0x800;bootm ${loadaddr} - ${fdt_addr}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setenv bootcmd 'run bootcmd_mmc'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; saveenv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, when using boot (or bootd), I have the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch to partitions #0, OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mmc1 is current device&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MMC read: dev # 1, block # 2048, count 16384 ... 16384 blocks read: OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MMC read: dev # 1, block # 20480, count 2048 ... 2048 blocks read: OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ## Booting kernel from Legacy Image at 12000000 ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Image Name:&amp;nbsp;&amp;nbsp; Linux kernel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Image Type:&amp;nbsp;&amp;nbsp; ARM Linux Kernel Image (uncompressed)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data Size:&amp;nbsp;&amp;nbsp;&amp;nbsp; 5578744 Bytes = 5.3 MiB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load Address: 80008000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Entry Point:&amp;nbsp; 80008000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verifying Checksum ... Bad Data CRC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR: can't get kernel image!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an error with the checksum, but the zImage works fine for a classic booting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;T&lt;/SPAN&gt;o create the uImage, I've made : &lt;CODE&gt;&lt;EM&gt;mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n "Linux kernel" -d zImage uImage.&lt;/EM&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;I've tried with zImage (without converting to uImage), but it doesn't work event with bootz.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 10:40:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Booting-from-network/m-p/357315#M50063</guid>
      <dc:creator>milo</dc:creator>
      <dc:date>2015-03-27T10:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Booting from network</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Booting-from-network/m-p/357316#M50064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nobody can help ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 11:36:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Booting-from-network/m-p/357316#M50064</guid>
      <dc:creator>milo</dc:creator>
      <dc:date>2015-04-01T11:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Booting from network</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Booting-from-network/m-p/357317#M50065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are booting from MMC. &lt;/P&gt;&lt;P&gt;Are you want to boot from NFS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the User Guide,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.7.5 Running the Linux Image From NFS&lt;/P&gt;&lt;P&gt;To boot from NFS, set the following environment variables at the U-Boot prompt:&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv serverip 10.192.225.216&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv image &amp;lt;your kernel zImage name on the TFTP server&amp;gt;&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv fdt_file &amp;lt;your dtb image name on the TFTP server&amp;gt;&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv rootfsinfo 'setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:/data/rootfs_home/rootfs_mx6,v3,tcp'&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv bootcmd_net 'run rootfsinfo; dhcp ${image}; dhcp ${fdt_addr} ${fdt_file}; bootz ${loadaddr} - ${fdt_addr}'&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv bootcmd 'run bootcmd_net'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE&lt;/P&gt;&lt;P&gt;If the MAC address has not been burned into the fuses, you must set the MAC address to&lt;/P&gt;&lt;P&gt;use the network in U-Boot.&lt;/P&gt;&lt;P&gt;setenv ethaddr xx:xx:xx:xx:xx:xx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 04:00:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Booting-from-network/m-p/357317#M50065</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2015-04-07T04:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Booting from network</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Booting-from-network/m-p/357318#M50066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Booting with nfs isn't exactly what I'd like to do. My idea is to do as if I was using PXE : downloading kernel, booting on it, donwloading rootfs, and end of the boot (of course, I could download the rootfs in the same time than the kernel). I just want to download all the necessary, to use the card without network. Is it possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By curiosity, I've tried to boot on nfs (I had already read the user's guide, but never tested). Here is what I do :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt;setenv serverip 192.168.1&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt;setenv rootfsinfo 'setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:/images/core-image-x11-imx6qsabresd.ext3,v3,tcp'&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt;setenv bootcmd_net 'run rootfsinfo; dhcp ${image}; tftpboot ${fdt_addr} ${fdt_file} ;fdt addr ${fdt_addr} ; bootz ${loadaddr} - ${fdt_addr}'&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt;setenv bootcmd 'run bootcmd_net'&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt;saveenv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the booting stops at "starting kernel". If I do the same without NFS, it works (but I have a kernel panic later because it doesn't find the rootfs) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt;setenv bootcmd_net 'run rootfsinfo; dhcp ${image}; tftpboot ${fdt_addr} ${fdt_file} ;fdt addr ${fdt_addr} ; bootz ${loadaddr} - ${fdt_addr}'&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt;setenv bootcmd_net 'dhcp ${image}; tftpboot ${fdt_addr} ${fdt_file} ;fdt addr ${fdt_addr} ; bootz ${loadaddr} - ${fdt_addr}'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 11:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Booting-from-network/m-p/357318#M50066</guid>
      <dc:creator>milo</dc:creator>
      <dc:date>2015-04-08T11:34:21Z</dc:date>
    </item>
  </channel>
</rss>

