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

Hide thumbs Also See for OMAP35 DVEVM Series:
Table of Contents

Advertisement

Document
OMAP35x DVEVM Getting Started Guide
Document Number
SPRUFZ7
To install the toolchain, follow the sequence below. These are to be executed on the Linux host platform.
$ mkdir –p /home/<useracct>/toolchain 
$ cp arm‐2008q1‐126‐arm‐none‐linux‐gnueabi‐i686‐pc‐linux‐gnu.tar.bz2 /home/<useracct>/toolchain 
$ cd /home/<useracct>/toolchain 
$ tar ‐jxvf  arm‐2008q1‐126‐arm‐none‐linux‐gnueabi‐i686‐pc‐linux‐gnu.tar.bz2 
$ rm arm‐2008q1‐126‐arm‐none‐linux‐gnueabi‐i686‐pc‐linux‐gnu.tar.bz2 

4.4.5 Exporting a Shared File System for Target Access

Although the board's NAND flash 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 test the
application, you can store it on the board's flash 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. (In the following steps, we refer to the home
user directory as "~".)
2. Perform the following commands to prepare a location for the OMAP35x EVM target 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  
password:
There will be a prompt for entering the password as shown above. Type the root password, for getting
the root permissions
4. If you have already prepared a directory tree to use for the NFS root file-system (see Section
Rebuilding the NFS Image) you can proceed to the next step. Otherwise, copy the prepared
version(nfs_dvsdk_#_##_##_##.tar.gz) from the OMAP3530 DVSDK from the Download page to a
new directory created in step 2. Perform the following commands.
Note: Un-tar the file with root permissions
$ cp /tmp/nfs_dvsdk_#_##_##_##.tar.gz . 
$ tar –xvzf nfs_dvsdk_#_##_##_##.tar.gz
5. Make sure you can write into the opt folder in the file system by setting the permissions of the opt
folder within the target file system with your user account. Perform the following command
 
host $ chown ‐R <useracct> /home/<useracct>/workdir/filesys/opt 
Rev
Date
36
3.0
Sept 23, 2009

Advertisement

Table of Contents
loading

Table of Contents