
Installing the Software
DVEVM Software Setup
4-9
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. (In the
following steps, we refer to the home user directory as "~".)
2) Perform the following commands to prepare a location for the
MontaVista file system:
host $
cd ~
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_4.0, use your location
in the cp command.
host $
cp -a /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/*
.
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.
/home/<
useracct
>/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)
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 -a
host $
/sbin/service nfs restart
4.3.5
Testing the Shared File System
To test your NFS setup, follow these steps:
1) Get the IP address of your host Linux workstations as follows. Look
for the IP address associated with the eth0 Ethernet port.
host $
/sbin/ifconfig
2) Open a terminal emulation window to connect to the DVEVM board
via RS-232. If you have a Windows workstation, you can use
HyperTerminal. If you have a Linux workstation, you might use
Minicom.
3) Power on the DVEVM board, and abort the automatic boot sequence
by pressing a key in the console window (Section 2.2).
Summary of Contents for DVEVM
Page 1: ...DVEVM Getting Started Guide Literature Number SPRUE66A August 2006...
Page 14: ...1 6...
Page 70: ...Index 4...