2. Setting up an NFS Server

After installing the toolchain, you can compile your own software for the arm processor. In the early stages of development, it is convenient to mount the working directory on the development system with NFS (network file system), in order to make changes available quickly.

Installation of the NFS-Server:

apt-get install nfs-kernel-server

If an NFS server is already set up on the development system, you only need to add one line to the /etc/exports file:

/develop 192.168.1.*(ro)

This gives every host with an IP in the range from 192.168.1.1 to 192.168.1.254 read-only access to the directory /develop. For further options consult the exports(5) manual page. Adjust this line according to your network setup and preferences.

The exported directory can then be mounted to a directory on the target board with the mount command:

mkdir /mnt/develop
mount -t nfs -o nolock,tcp servername:/develop /mnt/develop