Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:nfs [2012/10/10 16:51] – [Used version] niebelen:nfs [2016/06/07 15:52] ernst
Line 7: Line 7:
 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