I have a custom board that running on MCF5271.
The board is just fine when booting from flash; but has a strange
error when loading root fs from NFS, the FEC ethernet driver could not
open eth0:
=====
FEC Ethernet Driver
fec: PHY @ 0x1, ID 0x20005c90 -- DP83848
PPP generic driver version 2.4.2
TCP cubic registered
NET: Registered protocol family 17
IP-Config: Failed to open eth0
IP-Config: Device `eth0' not found.
Looking up port of RPC 100003/2 on 192.168.2.2
rpcbind: server 192.168.2.2 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.2.2
rpcbind: server 192.168.2.2 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -101 while mounting /srv/nfs
=====

If from u-boot, I execute any tftpboot command
=====
> tftp $loadaddr 1
Using FEC0 device
TFTP from server 192.168.2.2; our IP address is 192.168.2.200
Filename '1'.
Load address: 0x20000
Loading: *
TFTP error: 'File not found' (1)
=====

Then kernel will be booted normally
=====
> bootm $kernel_addr
...
FEC Ethernet Driver
fec: PHY @ 0x1, ID 0x20005c90 -- DP83848
PPP generic driver version 2.4.2
TCP cubic registered
NET: Registered protocol family 17
eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
IP-Config: Complete:
     device=eth0, addr=192.168.2.200, mask=255.255.255.0, gw=192.168.2.1,
     host=test, domain=, nis-domain=(none),
     bootserver=192.168.2.2, rootserver=192.168.2.2, rootpath=
Looking up port of RPC 100003/2 on 192.168.2.2
Looking up port of RPC 100005/1 on 192.168.2.2
VFS: Mounted root (nfs filesystem) on device 0:9
=====

In kernel setting, I used FEC ethernet controller (of ColdFire and
some i.MX CPUs), uClinux-dist 20090618 + patch 20100315, Toolchain
Codesourcery 2010.09.

Does anyone have any idea about this problem?
Thanks.
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to