Texas Instruments TMS320DM6446 DVEVM v2.0 manual Target $ cd /opt/dvsdk/dm6446

Page 30

Running the Demos from the Command Line

3)Move to the appropriate directory on the target using the following command. (See Section 4.1.1 for the meanings of command prompts shown in this document.)

Target $ cd /opt/dvsdk/dm6446

4)Before running demo applications from the command line, the CMEM and accelerator kernel modules must be loaded.

Use "lsmod" to see if they are loaded. You should see output similar to the following:

Target $ lsmod

 

 

Module

Size

Used by

dsplinkk

98220

0

cmemk

20072

0

If they are not loaded, use the following commands to load these modules.

Target $ ./loadmodules.sh

5)If a standalone demo is running, kill that process. You can do this by pressing the Power button on the remote from the main menu. Or, use the following commands:

Target $ killall -9 interface

6)To see the command-line options for the demos, use one of the following commands with the -h or --help option:

Target $ ./encodedecode -h

Target $ ./encode -h

Target $ ./decode -h

7)To stop a demo, press Ctrl+C at the command line or press the Stop button on the remote.

You can also find the list of command-line options in encode.txt, decode.txt, and encodedecode.txt in the respective demo directories of the DVSDK package on the host.

Note: When you run loadmodules.sh, you may see warnings about the kernel being tainted by cmemk and dsplinkk. You can ignore these warnings. They occur because DSP/BIOS Link does not use the kernel build system and is not under the same license as the kernel itself.

3-10

Image 30
Contents TMS320DM6446 Dvevm Getting Started Guide Important Notice Evaluation BOARD/KIT Important Notice FCC Warning Preface About This GuideNotational Conventions Contents Contents Dvevm Overview Welcome What’s in this Kit? EVM Hardware Block Diagram What’s on the Board?What’s Next? Page EVM Hardware Setup Setting Up the Hardware EVM Hardware Setup Setting Up the Hardware Setting Up the Hardware Connecting to a Console Window Running the Demonstration Software Default Boot Configuration Starting the Standalone DemosStarting the Standalone Demos Running the Standalone Demos Shutting Down the Demos About the Encode + Decode Demo IR Remote Buttons for Encode + Decode DemoAbout the Encode Demo IR Remote Buttons for Encode DemoAbout the Decode Demo Running the Demos from the Command Line About the Third Party MenuTarget $ cd /opt/dvsdk/dm6446 Running the Network Demo Page Dvevm Software Setup Software Overview Command Prompts in This Guide Software Components DmaiPreparing to Install Installing the SoftwareInstalling the Target Linux Software Installing the Dvsdk Software Installing the A/V Demo Files Installing the SoC Analyzer Exporting a Shared File System for Target AccessVerify that the server firewall is turned off Testing the Shared File System EVM # setenv nfshost ip address of nfs hostConfiguring the Boot Setup for PAL Video Users Setting Up the Build/Development Environment Writing a Simple Program and Running it on the EVMBuilding a New Linux Kernel Enable Linux Trace Toolkit Support as built-in Rebuilding the Dvevm Software for the Target Booting the New Linux Kernel EVM # setenv serverip tftp server ip addressTesting the Build Environment Using the Digital Video Test Bench DvtbRelease Notes User Guide Running The SoC Analyzer Documentation for DSP-Side Development Documentation for Dvsdk ComponentsXDAIS-DM Digital Additional Procedures Using S-Video Input Changing the Video Input/Output MethodsUsing S-Video Output OUTUsing Component Video Output Pr PbPutting Demo Applications in the Third-Party Menu File filename.tar.gz Setting Up a Tftp Server You should see the following outputAlternate Boot Methods Booting from Flash Using the EVM’s Hard Drive File SystemBooting via Tftp Using the EVM’s Hard Drive File System Booting from Flash Using NFS File System Booting via Tftp Using NFS File SystemRebuilding DSP/BIOS Link System Setup Restoring and Updating the EVM Hard Disk DriveConfigure EVM for NFS Root Mount Restore the EVM Hard Disk Drive Restoring From Target EVM HDD PartitionRestoring From Host Linux Workstation File System Go to the /restore directory Index Index--2 Index--3 Index--4 Page Spectrum Digital, Inc 508168-0001C