This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NFS problem

Hi All,

I have a problem loading NFS file system while u-booting from the EVM6467t.
My NFS server is OK and I'm able to mount the specific path from a different Linux machine on the net.
While I'm booting the EVM from the HDa1 I can't mount this directory, which seem to be the same problem.

my environment setting are:
--------------------------

DM6467 EVM > printenv
bootdelay=3
baudrate=115200
addclk=setenv bootargs ${bootargs} clkref=${clkref}
ethaddr=00:0e:99:02:b6:d6
ethact=DaVinci EMAC
filesize=1F7530
fileaddr=80700000
bootcmd=nboot 0x80700000 0 0x160000;bootm
nfshost=10.0.0.200
rootpath=/home/dvsdk/workdir/filesys
bootargs=console=ttyS0,115200n8 noinitrd rw nfsroot=$(nfshost):$(rootpath),nolock mem=120M ip=dhcp root=/dev/nfs vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2009.08-00002-gcab1855 (Jan 20 2010 - 04:20:31)


and the running result are:
---------------------------

IP-Config: Complete:
     device=eth0, addr=10.0.0.15, mask=255.255.255.0, gw=10.0.0.138,
     host=10.0.0.15, domain=home, nis-domain=(none),
     bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=

### Problems start here #####

Looking up port of RPC 100003/2 on 0.0.0.0
rpcbind: server 0.0.0.0 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 0.0.0.0
rpcbind: server 0.0.0.0 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /tftpboot/$(nfshost):$(rootpath)
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)




Please help.

  • Amit,

    Your problem is DHCP-related. You will need to modify your DHCP server configuration to support assigning bootserver and rootserver variables. I have the following in my /etc/dhcp3/dhcpd.conf file:

    host dvevm {

         hardware ethernet .....

         fixed-address a.b.c.d

         next-server <TFTP SERVER ADDRESS>

         filename <PATH_TO_UIMAGE>

         option root-path <SERVER:PATH>

    Regards.

    Alex

  • Tx Alex,

    But actually it was not it.

    The U-boot parser on the dm6467t EVM did not parse the following vars:

    nfsroot=$(nfshost):$(rootpath)

     

    And it was solved after put the values hard coded

     

    Regards,

    Amit.

  •  I must concur.  I made the mistake of following the directions in TI's Startup guide to my dismay once again.

    There is a problem with the parser that cannot handle the variables give for the bootargs