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.

VFS: Unable to mount root fs via NFS, trying floppy.VFS: Cannot open root device "nfs" or unknown-block(2,0)

     挂载NFS文件系统时,出现这样的情况,已经好几天。求大神指教。boottargets和bootcmd参数设置如下:

setenv bootargs ‘console = ttyS2, 115200n8 noinitrd root = /dev/nfs/ nfsroot = 

192.168.1.41 :/home/user/L138filesys, nolock ip=192.168.1.144:192.168.1.41:

255.255.255.0::eth0:off rw mem=32M@0Xc0000000 mem=64M@0xc4000000 ’

网上的好多种方法都试过了,还是不行,用的是TI OMAP L138官方的板子。

  • 1.先在Uboot下面确认你的网络通讯是否正常?Ping NFS服务器

    2.确认NFS服务已经在PC上打开

    3.确认NFS的访问权限

  • 你好!我的是DM365 EVM开发板,也出现类似的问题,通过NFS挂载根文件系统的时候,只要设置了bootargs就卡在这里不动了,如下所示

    DM365 > nfs 0x82000000 192.168.1.100:/share/longwei/uImage
    File transfer via NFS from server 192.168.1.100; our IP address is 192.168.1.174
    Filename '/share/longwei/uImage'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #####################################
    done
    Bytes transferred = 4845408 (49ef60 hex)
    DM365 > bootm 0x82000000
    ## Booting kernel from Legacy Image at 82000000 ...
       Image Name:   Linux-2.6.37_IPNC_DM365EVM_5.1.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4845344 Bytes =  4.6 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

x 出现错误。请重试或与管理员联系。