<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de-AT">
	<id>https://becomwiki.live.md-websolutions.com/index.php?action=history&amp;feed=atom&amp;title=Network_and_NFS_setup</id>
	<title>Network and NFS setup - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://becomwiki.live.md-websolutions.com/index.php?action=history&amp;feed=atom&amp;title=Network_and_NFS_setup"/>
	<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=Network_and_NFS_setup&amp;action=history"/>
	<updated>2026-05-13T14:10:02Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in BECOM Systems Support</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://becomwiki.live.md-websolutions.com/index.php?title=Network_and_NFS_setup&amp;diff=318&amp;oldid=prev</id>
		<title>Peter: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=Network_and_NFS_setup&amp;diff=318&amp;oldid=prev"/>
		<updated>2023-10-31T08:03:09Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de-AT&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 31. Oktober 2023, 10:03 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de-AT&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
	<entry>
		<id>https://becomwiki.live.md-websolutions.com/index.php?title=Network_and_NFS_setup&amp;diff=317&amp;oldid=prev</id>
		<title>en&gt;Peter: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=Network_and_NFS_setup&amp;diff=317&amp;oldid=prev"/>
		<updated>2023-08-22T19:35:52Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Set up an NFS root file system =&lt;br /&gt;
&lt;br /&gt;
During development, it is very common and practical to have the target mount its root file system via NFS. Therefore, you need an NFS server installed (see [[NFS Server|here]] how to do it).&lt;br /&gt;
&lt;br /&gt;
We have already prepared a little shell script that should do the work for you: In the &amp;#039;&amp;#039;btmxc&amp;#039;&amp;#039; repository, look for one of these files:&lt;br /&gt;
 prepare_nfs_zImage.sh&lt;br /&gt;
 scripts/rootfs_unpack.sh&lt;br /&gt;
&lt;br /&gt;
What the script does:&lt;br /&gt;
*Unpacks the &amp;#039;&amp;#039;.tar.bz2&amp;#039;&amp;#039; image file to &amp;#039;&amp;#039;oe/btmxc/tmp/deploy/glibc/images/[machine]/rootfs&amp;#039;&amp;#039; (and deletes an old image from there!)&lt;br /&gt;
*Edits the file &amp;#039;&amp;#039;/etc/network/interfaces&amp;#039;&amp;#039; from the rootfs and disables configuration of the &amp;#039;&amp;#039;eth0&amp;#039;&amp;#039; interface&lt;br /&gt;
*Copies the zImage from &amp;#039;&amp;#039;oe/btmxc/tmp/deploy/glibc/images/[machine]/&amp;#039;&amp;#039; to &amp;#039;&amp;#039;/tftpboot&amp;#039;&amp;#039;&lt;br /&gt;
*Restarts the NFS server for the changes to take effect&lt;br /&gt;
&lt;br /&gt;
Simply execute this file (&amp;#039;&amp;#039;./prepare_nfs_zImage&amp;#039;&amp;#039; or &amp;#039;&amp;#039;scripts/rootfs_unpack.sh&amp;#039;&amp;#039; respectively) to prepare the root file system for NFS. The script will tell you if arguments are needed. Please note that you have to source the &amp;#039;&amp;#039;oeenv&amp;#039;&amp;#039; file beforehand, but usually, you will already have done that.&lt;br /&gt;
&lt;br /&gt;
In your &amp;#039;&amp;#039;/tftpboot&amp;#039;&amp;#039;, you should have a symbolic link to the newly created &amp;#039;&amp;#039;rootfs&amp;#039;&amp;#039; directory. We explain that [[NFS Server|here]].&lt;br /&gt;
&lt;br /&gt;
= Target network setup =&lt;br /&gt;
Network setup is configured in the file &amp;#039;&amp;#039;/etc/network/interfaces&amp;#039;&amp;#039; in your rootfs. The default network setup for Ethernet (eth0) is set to DHCP:&lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
&lt;br /&gt;
To set a fixed IP address, you may modify the lines above as follows:&lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet static&lt;br /&gt;
 address 192.168.0.53&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
 gateway 192.168.0.1&lt;br /&gt;
 broadcast 192.168.0.255&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;IMPORTANT!&amp;#039;&amp;#039;&amp;#039; If you are mounting the rootfs via NFS, you &amp;#039;&amp;#039;&amp;#039;MUST NOT&amp;#039;&amp;#039;&amp;#039; configure &amp;#039;&amp;#039;eth0&amp;#039;&amp;#039; at all in the configuration file, so comment the lines&lt;br /&gt;
 #auto eth0&lt;br /&gt;
 #iface eth0 inet dhcp&lt;br /&gt;
The reason is that the Linux kernel - in case of NFS - must configure the network before this file can even be read. This is done via kernel arguments (see &amp;#039;&amp;#039;Loading Linux:&amp;#039;&amp;#039; in the&lt;br /&gt;
Redboot [[Redboot short reference|short reference]]). If the network would be configured later again, the connection to the NFS server is interrupted! &lt;br /&gt;
&lt;br /&gt;
[[Category:i.MX]]&lt;/div&gt;</summary>
		<author><name>en&gt;Peter</name></author>
	</entry>
</feed>