NFS with the IMX27 board


NFS with the IMX27 board

Contributor I
I successfully cross compiled with LTIB the linphone application from the website.
I downloaded the kernel on the board, the problem is that the rootfs.jffs2 is to big to fit on the NOR flash...

So i tried to boot from nfs...
My daemon nfs is working correctly because i can mount it from a distant computer...
But I am not able to do it from the iMX27 board

Here is what i did :
fis load kernel
exec -c "root=/dev/nfs nfsroot= console=ttymxc0  ip="

here is what i get :

eth0: using half-duplex 10Base-T (RJ-45)

IP-Config: Complete:

      device=eth0, addr=, mask=, gw=,

     host=imx27, domain=, nis-domain=(none),

     bootserver=, rootserver=, rootpath=

Looking up port of RPC 100003/2 on

Looking up port of RPC 100005/1 on

VFS: Mounted root (nfs filesystem).

Freeing init memory: 192K

Setting the hostname to freescale
Mounting /proc and /sys
Starting the hotplug events dispatcher udevd
Synthesizing initial hotplug events
Mounting filesystems
Starting syslogd and klogd
Running depmod
Setting up networking on loopback device:
Setting up networking on eth0:

Adding static route for default gateway to
nfs: server not responding, still trying

nfs: server not responding, still trying

Thanks for your help,


0 件の賞賛
3 返答(返信)

NXP Employee
NXP Employee
Default network (NFS, non-DHCP) configuration uses internal Freescale IP resources, that, of course, are not accessible for most (non Freescale) users.

Please try static IP configuration during system configuring as follows :

./ltib -c

Select :

Target System Configuration
Options ->
Start Networking
Network setup ->
Enable interface 0
[] IP address

Then enter (target) IP, appropriate for your network,
say, netmask =, set gateway
address, if your target MX27 board is placed in local
net (for example – and finally – nameserver IP address (say,, where your NFS is hosted.

After Linux kernel and file system are built, in target redboot the following may be entered as an example :

load -r -b 0x100000 /iMX27/zImage

exec -b 0x100000 -l 0x200000 -c "noinitrd console=ttymxc0,115200 root=/dev/nfs nfsroot= init=/linuxrc ip="

Message Edited by Yuri on 2008-08-25 12:14 PM
0 件の賞賛

Contributor I
So everything was ok, actually the problem was my network configuration in the LTIB, My board changed its IP since I booted from NFS, so it couldn't find anymore the NFS server
0 件の賞賛

Contributor I
You could try nfs over tcp instead of the default udp, in my case it works more reliable:

0 件の賞賛