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.

use NFS to populate the YAFFS2 image

dear all

Please tell me why to turn up as the following question?

Root-NFS: Unable to get mountd port number from server, using default

mount: server 192.168.0.58 not responding, timed out

Root-NFS: Server returned error -5 while mounting /home/tlb1/workdir/filesys

VFS: Unable to mount root fs via NFS, trying floppy.

VFS: Cannot open root device "nfs" or unknown-block(2,0)

Please append a correct "root=" boot option

 

I carry out according to th following steps:

NFS config

 

1. [root]# setup

    choose 

  • nfs
  • portmap

 2   vi /etc/exports 

 /home/tlb/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)

 / *(rw,sync) #

 /home 192.168.0.58 (rw,sync) *(ro,sync)

 / tanglaibao(rw,no_root_squash)

 /share 192.168.0.102/255.255.0.0(ro)

 /share/private (noaccess)

 

 3.
      [root]# service portmap restart
   [root]# service nfs restart

 

 

 

 

 

 

 

EVM # setenv bootcmd 'nboot 0x80700000 0 0x400000; bootm'

 EVM # setenv bootargs 'console=ttyS0,115200n8 noinitrd ip=dhcp root=/dev/nfs rw nfsroot=192.168.0.58:/home/tlb1/workdir/filesys mem=116M'

 EVM #boot

Please tell me why to turn up as the following question?

Root-NFS: Unable to get mountd port number from server, using default

mount: server 192.168.0.58 not responding, timed out

Root-NFS: Server returned error -5 while mounting /home/tlb1/workdir/filesys

VFS: Unable to mount root fs via NFS, trying floppy.

VFS: Cannot open root device "nfs" or unknown-block(2,0)

Please append a correct "root=" boot option