<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>open-nandra &#187; nfs</title>
	<atom:link href="http://open-nandra.com/tag/nfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://open-nandra.com</link>
	<description>open source</description>
	<lastBuildDate>Sun, 01 Jan 2012 13:10:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to setup nfs root for HTC development.</title>
		<link>http://open-nandra.com/2009/03/how-to-setup-nfs-root-for-htc-development/</link>
		<comments>http://open-nandra.com/2009/03/how-to-setup-nfs-root-for-htc-development/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 22:02:49 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[HOW-TOs]]></category>
		<category><![CDATA[HTC]]></category>
		<category><![CDATA[cdc]]></category>
		<category><![CDATA[nfs]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=128</guid>
		<description><![CDATA[After 4 hours of collaboration and testing I would like to share how to setup nfs rootfs for speeding up HTC (or whatever) development.I assume you have nfs server installed and running . In below example will be server ip:192.168.2.16 and target ip:192.168.2.15. 1. copy rootfs somewhere to filesystem e.g. /home/user/rootfs 2. export directory in [...]]]></description>
			<content:encoded><![CDATA[<p>After 4 hours of collaboration and testing I would like to share how to setup nfs rootfs for speeding up HTC (or whatever) development.<span id="more-128"></span>I assume you have nfs server installed and running <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . In below example will be server ip:192.168.2.16 and target ip:192.168.2.15.</p>
<p>1. copy rootfs somewhere to filesystem e.g. /home/user/rootfs</p>
<p>2. export directory in /etc/exports<br />
should look like:<br />
/home/user/rootfs   192.168.2.0/3(rw,sync,no_root_squash,no_subtree_check)</p>
<p>3. restart nfs-server: /etc/init.t/nfsserver restart</p>
<p>4. Server will be connected to target via cdc-ether interface. To avoid problems we need to add<br />
static ip configuration for usb0 interface. I&#8217;m running on opensuse for different distros check<br />
manual.<br />
Create new file in : /etc/sysconfig/network/ifcfg-usb0<br />
# USB configuration for HTC phones<br />
BOOTPROTO=&#8217;static&#8217;<br />
IPADDR=&#8217;192.168.2.16&#8242;<br />
NETMASK=&#8217;255.255.255.0&#8242;<br />
NAME=&#8217;usb0&#8242;<br />
STARTMODE=&#8217;hotplug&#8217;<br />
USERCONTROL=&#8217;no&#8217;<br />
BROADCAST=&#8221;<br />
ETHTOOL_OPTIONS=&#8221;<br />
MTU=&#8221;<br />
NETWORK=&#8221;<br />
REMOTE_IPADDR=&#8221;</p>
<p>5. Add correct kernel command parameters.<br />
set CMDLINE &#8220;root=/dev/nfs ip=192.168.2.15 nfsroot=192.168.2.16:/home/user/rootfs ,nfsvers=3&#8243;</p>
<p>5. Run Haret and enjoy. That&#8217;s all <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Note:</p>
<p>I face that problems with Kernel panic &#8211; attemp to kill init was caused by non existing /dev/console node. To create new one run sudo mknod &lt;path to rootfs dev&gt;/console c 5 1</p>
<p>Marek</p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2009/03/how-to-setup-nfs-root-for-htc-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

