Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
en:nfs [2011/11/27 21:54] – created petzen:nfs [2016/06/07 15:52] ernst
Line 2: Line 2:
 ===== Used version ===== ===== Used version =====
   * Ubuntu 10.04 x86 in vmware player   * Ubuntu 10.04 x86 in vmware player
 +  * Ubuntu 12.04 x86 in vmware player
 ===== Installation ===== ===== Installation =====
 <code bash> <code bash>
 user@ubuntu:~$ sudo apt-get install nfs-kernel-server user@ubuntu:~$ sudo apt-get install nfs-kernel-server
 </code> </code>
 +
 +After installation create an NFS share in file /etc/exports and add the rootpath to /etc/exports. In this example we used the BSP for TQMa6x:
 +
 +<code>
 +/home/embedded/workspace/TQMa6x-BSP-REV.0109/platform-MBa6x/root       *(rw,async,no_subtree_check,no_root_squash)
 +</code>
 +
 +After editing the file /etc/exports the NFS Server needs to be restarted.
  
 ===== Configuration ===== ===== Configuration =====
Line 15: Line 23:
 For example For example
 <code> <code>
-/opt/eldk-4.2/ppc_4xx               192.168.0.0/255.255.0.0(rw,no_root_squash,sync,no_subtree_check)+/opt/eldk-4.2/ppc_4xx               192.168.0.0/255.255.0.0(rw,no_root_squash,async,no_subtree_check)
 </code> </code>
  
 This path must match the variable ''rootpath'' of the U-Boot on the target. This variable is added to the boot parameter ''nfsroot='' and defines the source for the NFS rootfs. This path must match the variable ''rootpath'' of the U-Boot on the target. This variable is added to the boot parameter ''nfsroot='' and defines the source for the NFS rootfs.
  
-<note>+<WRAP round info>
 After this file was changed the NFS server should be restarted: After this file was changed the NFS server should be restarted:
 <code bash> <code bash>
 user@ubuntu:~$ sudo service nfs-kernel-server restart user@ubuntu:~$ sudo service nfs-kernel-server restart
 </code> </code>
-</note>+</WRAP>
  
 ===== Test the configuration ===== ===== Test the configuration =====
  • Last modified: 2022/08/04 15:02