Exporting A Shared File System For Target Access - Texas Instruments TMS320DM6467 DVEVM Getting Started Manual

V2.0
Table of Contents

Advertisement

4.3.7

Exporting a Shared File System for Target Access

/home/<useracct>/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)
Although the board's hard drive contains a 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 board's hard drive for a standalone
demonstration.
Note: Using video files from an NFS file system may result in a low
frame rate when encoding/decoding videos.
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, use your location
in the cp command.
host $ cp -a /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/*
host $ chown -R <useracct> opt
5) Edit the /etc/exports file on the host Linux workstation (not the
exports file on the target filesystem). 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 the ( in
the above command.
Installing the Software
DVEVM Software Setup
.
4-11

Advertisement

Table of Contents
loading

Table of Contents