Contents |
This page describes the steps needed to boot the ARM Platform on the target hardware using NFS root.
One option is to use the build images to create the NFS root mount point. The second option is to use the Scratchbox target directly as the NFS root mount point. The second option enables easy and faster code development as the code with compiled Scratchbox can be immediately run on the device.
<path to the rootfs> 0.0.0.0(sync,rw,no_root_squash,no_all_squash)
The Scratchbox runs as a normal user and thus cannot make anything that needs root privileges. Therefore the target file system needs to be modified slightly as root user. The necessary script is provided by the generic config repository (which should already have been checked out under the project directory).
generic/bin/prepare-nfsroot.sh /scratchbox/users/<username>/targets/Matrix_arm
Since it may be a bit inconvenient to mess up the SB target you can also create the rootfs images normally, untar the rootstrap tar ball where-ever you like and run the prepare-nfsroot.sh script for that directory. Now it can be used as a NFS root filesystem but you loose the convenient way to just run "make install" inside the SB and have the files installed directly on the running hardware.