Running The Standalone Demos; Running The Demos From Command Line - Texas Instruments OMAP35 Series Getting Started Manual

Hide thumbs Also See for OMAP35 Series:
Table of Contents

Advertisement

Document
Document Number
4. Copy the pre-built NFS target file system from
/
home/<user_account>/OMAP35x_Graphics_SDK_#_##_##_##/targetfs/nfs.tar.gz
created in step 2. Perform the following commands.
NOTE: Un-tar the file with root permissions. (Step 3)
$ cp /home/<user_account>/OMAP35x_Graphics_SDK_#_##_##_##/targetfs/nfs.tar.gz .
$ tar –xvzf nfs.tar.gz .
5. Perform the following command to make sure you can write into the target file system that you
want to export as NFS, from your user account.
host $ chown -R <user_account>
host $ chmod -R 755
6. Make sure the NFS server is configured and functioning properly. Add the following line to the
/etc/exports file of the server. Ensure you have root permission before editing this file.
/home/<user_account>/workdir/filesys (rw,sync,no_subtree_check)
7. Then issue the following command to notify the NFS server about the new exported directory.
host $ /usr/sbin/exportfs –a
host $ /sbin/service nfs restart
8. Make sure you exit from having the root permissions after completing all the above steps
host $ exit

3.3 Running the Standalone Demos

Out of the box, on EVM power on, the graphics SDK demos are played back if the graphics SDK demos
are flashed in the NAND flash file system.
Refer to the OMAP35x EVM Getting Started Guide or OMAP3530 DVSDK Getting Started Guide for
information on flash procedures and alternate boot methods.
By default, OpenGL ES1.x demos are executed and run once. After they are executed once, the demo
stops. Press "Enter" in the console window on the PC to go to the command line and execute more
demos from the command line as described in section 3.4

3.4 Running the Demos from Command Line

You can run the OMAP35x Graphics SDK demo applications from the Linux shell in a terminal window
connected to the EVM board's serial port.
Before running graphics SDK demo applications from the command line, the following commands need to
be executed.
target $ cd /etc/init.d
target $ ./rc.pvr start
This will insert all the kernel modules and perform necessary initializations
OMAP35x Graphics SDK Getting Started Guide
SPRUFZ8
/home/<user_account>/workdir/filesys/.
/home/<user_account>/workdir/filesys/.
18
Rev
1.2
Date
Feb 2, 2009
to a new directory

Advertisement

Table of Contents
loading

Table of Contents