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.

Problem On Booting with NFS about DM8168

I had been  booting my evm with NFS, but it could't ,so I debug it ,and  output is:

  

eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, id=282f013)
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
     device=eth0, addr=192.168.1.3, mask=255.255.255.0, gw=192.168.1.254,
     host=DM86168, domain=, nis-domain=(none),
     bootserver=192.168.1.2, rootserver=192.168.1.2, rootpath=
RPC:     1 call_start mount3 proc NULL (sync)
RPC:     2 call_start rpcbind2 proc GETPORT (async)
RPC:     1 remote rpcbind unreachable: -113
RPC:     3 call_start rpcbind2 proc GETPORT (async)
RPC:     1 remote rpcbind unreachable: -113
RPC:     4 call_start rpcbind2 proc GETPORT (async)
PHY: 1:01 - Link is Up - 1000/Full
PHY: 1:01 - Link is Down
RPC:     1 remote rpcbind unreachable: -113
RPC:     5 call_start rpcbind2 proc GETPORT (async)
RPC:     1 remote rpcbind unreachable: -113
RPC:     6 call_start rpcbind2 proc GETPORT (async)
PHY: 1:01 - Link is Up - 100/Full

How can I solve it ,please help me .Thanks.

  • Hi

    can you also provide details about the bootargs param passed to the kernel

    It would be helpful if you can attach a dump of all the u-boot environment variables (at u-boot type "printenv")

     

    Also, can you verify whether the NFS server is setup properly by trying to mount the NFS share on a Linux PC for instance

     

    Regards

    Sriram

  • Yes, I had do something as what the document said, my bootargs is:

    setenv bootcmd 'run addip;tftp 81000000 uImage;bootm'

    setenv bootargs 'console=ttyO2,115200n8 nolock rw mem=166M earlyprintk vram=50M ti816xfb.vram=0:16M,1:16M,2:6M root=/dev/nfs nfsroot=192.168.1.2:/home/xianghui/targetfs'

    setenv addip 'setenv bootargs ${bootargs} ip=192.168.1.3:192.168.1.2:192.168.1.254:255.255.255.0:xcaids-desktop:eth0:off'

    Then  the output is:

    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, id=282f013)
    IP-Config: Guessing netmask 255.255.255.0
    IP-Config: Complete:
         device=eth0, addr=192.168.1.3, mask=255.255.255.0, gw=192.168.1.254,
         host=DM86168, domain=, nis-domain=(none),
         bootserver=192.168.1.2, rootserver=192.168.1.2, rootpath=
    RPC:     1 call_start mount3 proc NULL (sync)
    RPC:     2 call_start rpcbind2 proc GETPORT (async)
    RPC:     1 remote rpcbind unreachable: -113
    RPC:     3 call_start rpcbind2 proc GETPORT (async)
    RPC:     1 remote rpcbind unreachable: -113

    And I have another question, is it need DHCP server? Because I run dhcp in U-boot env ,it can't work ,but the document motioned it.

    Thanks.

  • I think you need to provide details of your NFS server on 192.168.1.2. Check that the NFS server running. Try disabling the firewall.