Exporting A Shared File System For Target Access - Texas Instruments OMAP-L137 EVM User Manual

Psp
Hide thumbs Also See for OMAP-L137 EVM:
Table of Contents

Advertisement

3.3.2

Exporting a Shared File System for Target Access

host $ cp -a /opt/mv_pro_5.0.0/montavista/pro/devkit/arm/v5t_le/target/*
/home/<useracct>/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)
Although the EVM's flash memory can contain a Linux file system, during
development it is more convenient to have the target board NFS mount
a file system on a host Linux workstation. Once you have tested the
application, you can store it on the EVM's hard drive for a standalone
demonstration.
Before the board can mount a target file system, you must export that
target file system on the host Linux workstation. The file system uses an
NFS (Network File System) server. The exported file system will contain
the target file system and your executables.
To export the file system from your NFS server, perform the following
steps. You only need to perform these steps once.
1) Log in with a user account on the host Linux workstation.
2) Perform the following commands to prepare a location for the
MontaVista file system. For example:
host $ cd /home/<useracct>
host $ mkdir -p workdir/filesys
host $ cd workdir/filesys
3) Switch user to "root" on the host Linux workstation.
host $ su root
4) Perform the following commands to create a copy of the target file
system with permissions set for writing to the shared area as
<useracct>. Substitute your user name for <useracct>. If you
installed in a location other than /opt/mv_pro_5.0.0, use your location
in the cp command.
host $ chown -R <useracct> opt
5) Edit the /etc/exports file on the host Linux workstation. Add the
following line for exporting the filesys area, substituting your user
name for <useracct>. Use the full path from root; ~ may not work for
exports on all file systems.
Note: Make sure you do not add a space between the * and ( in the
above command.
6) Still as root, use the following commands to make the NFS server
aware of the change to its configuration and to invoke an NFS restart.
host $ /usr/sbin/exportfs -av
host $ /sbin/service nfs restart
Installing the Software
Installing MontaVista Tools
.
3-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents