Page 5 - Preface; About This Guide; bold; bold
v This is a draft version printed from file: pref.fm on 12/15/08 Preface About This Guide The DVEVM (Digital Video Evaluation Module) is an evaluation platformthat showcases the DaVinci architecture and lets users evaluate thepower and performance of DaVinci as a Multimedia engine. This guide gives ...
Page 6 - Trademarks
vi Trademarks Trademarks The Texas Instruments logo and TexasInstruments are registered trademarks of TexasInstruments. Trademarks of Texas Instrumentsinclude: TI, DaVinci, the DaVinci logo, XDS, CodeComposer, Code Composer Studio, Probe Point,Code Explorer, DSP/BIOS, RTDX, Online DSPLab, DaVinci, T...
Page 7 - Contents
vii This is a draft version printed from file: davinci_gsgTOC.fm on 12/15/08 Contents 1 DVEVM Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 This chapter introduces the DVEVM (Digital Video Evaluation Module). 1.1 Wh...
Page 9 - Chapter 1; DVEVM Overview; Topic
1-1 Chapter 1 DVEVM Overview This chapter introduces the DVEVM (Digital Video Evaluation Module). 1.1 What’s in this Kit? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 – 2 1.2 What’s on the Board? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 10 - EVM Board; Universal Power Supply.; IR Remote Control
What’s in this Kit? 1-2 1.1 What’s in this Kit? Your TMS230DM357 DVEVM kit contains the following hardware items.Section 2.1, Setting Up the Hardware tells how to connect these components. ❏ EVM Board This board contains a DaVinci TMS320DM357 Digital Media System-on-Chip. ❏ Universal Power Supply. B...
Page 11 - Figure 1–1 DM357 Hardware Block Diagram
What’s on the Board? DVEVM Overview 1-3 1.2 What’s on the Board? The EVM comes loaded with peripherals your multimedia applicationsmay need to make use of. The following block diagram shows the majorhardware components. Figure 1–1 DM357 Hardware Block Diagram For more information about the hardware,...
Page 13 - Chapter 2; EVM Hardware Setup
2-1 Chapter 2 EVM Hardware Setup This chapter tells you how to set up the EVM hardware. 2.1 Setting Up the Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 – 2 2.2 Connecting to a Console Window . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 – 6 Topic Page
Page 14 - Setting Up the Hardware
Setting Up the Hardware 2-2 2.1 Setting Up the Hardware To set up the hardware provided with the DVEVM kit, use the steps thatfollow. You may skip steps if you do not need to access a particularperipheral. For example, if you do not need to use the serial cable, skipthat step. For reference, the num...
Page 16 - Composite
Setting Up the Hardware 2-4 3) Connect your video display to the composite video-out RCA connector (J8). 4) Connect a video source (such as a camera or DVD player) to the composite video-in RCA connector (J12). Then power on your videoinput and output devices. Composite Video Out (J8) Composite Vide...
Page 18 - Connecting to a Console Window
Connecting to a Console Window 2-6 9) You should see the initial screen of the demo software on your video display. Use the IR remote to run the software as described inChapter 3. 2.2 Connecting to a Console Window You can open a console window that allows you to watch and interruptEVM boot messages...
Page 19 - Chapter 3; Running the Demonstration Software
3-1 Chapter 3 Running the Demonstration Software This chapter explains how to run the software demos provided with theDVEVM kit. 3.1 Default Boot Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 2 3.2 Starting the Standalone Demos . . . . . . . . . . . . . . . . . ...
Page 20 - Default Boot Configuration; Starting the Standalone Demos
Default Boot Configuration 3-2 3.1 Default Boot Configuration Out of the box, the EVM boots from flash and starts the demosautomatically after a few seconds when you power up the board. It doesnot require an NFS mount or a TFTP server to run the standard demos. Note: The default U-Boot bootargs defi...
Page 23 - Running the Standalone Demos
Running the Standalone Demos Running the Demonstration Software 3-5 3.3 Running the Standalone Demos 1) Press "Play" or "OK" on the remote to move from the remote control diagram to the main menu screen, which looks like this: The Encode + Decode demo allows you to record and playbac...
Page 24 - Shutting Down the Demos
Running the Standalone Demos 3-6 8) This information overlays the video; as a result the video you see is darker than the actual video. To hide the information display so thatyou can better see the video, press the "Info/Select" button on the IRremote. You can change the transparency of the ...
Page 25 - About the Encode + Decode Demo; About the Encode Demo; Table 3–1 IR Remote Buttons for Encode + Decode Demo
Running the Standalone Demos Running the Demonstration Software 3-7 3.3.2 About the Encode + Decode Demo The Encode + Decode demo allows you to record and playback video.Video input comes from a source, it is encoded, then decoded, and sentto your video display. The Encode + Decode does only video p...
Page 26 - Table 3–2 IR Remote Buttons for Encode Demo
Running the Standalone Demos 3-8 Note that you can use only a speech encoder, not an audio encoder. Thesupported video algorithms are H.264 (.264 extension) and MPEG4(.mpeg4 file extension). The supported speech algorithm is G.711 (.g711extension). The application runs on the ARM using Linux. The vi...
Page 27 - About the Decode Demo; Table 3–3 IR Remote Buttons for Decode Demo
Running the Standalone Demos Running the Demonstration Software 3-9 3.3.4 About the Decode Demo Note: You must run the Encode demo before you can run the Decode demo unless you have placed appropriately-named audioand video files on the EVM’s NAND flash storage device. If you seea message that says ...
Page 28 - Running the Demos from the Command Line
Running the Demos from the Command Line 3-10 3.4 Running the Demos from the Command Line You can run the demo applications from the Linux shell in a terminalwindow connected to the EVM board’s serial port. These are the samedemos described in Section 3.2, Starting the Standalone Demos . Before runni...
Page 29 - Running the Network Demo
Running the Network Demo Running the Demonstration Software 3-11 3.5 Running the Network Demo As an example of standard TCP/IP networking support, the DVEVMexamples include a small HTTP web server. This web server is startedas part of the Linux startup sequence. It configured to service requestsfrom...
Page 31 - Chapter 4; DVEVM Software Setup
4-1 Chapter 4 DVEVM Software Setup This chapter explains how to use the software provided with the DVEVM. 4.1 Software Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 – 2 4.2 Preparing to Install . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 32 - Software Overview; Standalone demonstration software.; SDI Board Support Software.
Software Overview 4-2 4.1 Software Overview To begin developing applications, you need to install the DVEVMdevelopment environment. This section outlines the steps required toload the DVEVM software onto the development host. You will need thedistribution disks or the files they contain to get start...
Page 33 - Command Prompts in This Guide
Software Overview DVEVM Software Setup 4-3 Texas Instruments, in agreement with MontaVista Software Inc., isproviding a demonstration version of the Linux Professional Edition v5.0embedded operating system and development tools. The base DVEVMkit includes a demonstration version. The demo version is...
Page 34 - Software Components; Codec Engine; Framework; Linux APIs; Application
Software Overview 4-4 4.1.2 Software Components The following figure shows the software components used for applicationdevelopment in the DVEVM kit: In the previous figure, everything runs on the ARM. The applicationhandles I/O and application processing. To process video, image,speech, and audio si...
Page 35 - Preparing to Install
Preparing to Install DVEVM Software Setup 4-5 4.2 Preparing to Install On a host system, mount the DVEVM demonstration DVD and copy thefollowing files to a temporary location with at least 1.2 GB availablespace. Since you can delete the installation files after installing thesoftware, a directory li...
Page 36 - Installing the Software; root
Installing the Software 4-6 4.3 Installing the Software Installing the software used by the DVEVM involves performing thefollowing steps: ❏ Section 4.3.1, Installing the Target Linux Software ❏ Section 4.3.2, Installing the DVSDK Software ❏ Section 4.3.3, Installing the A/V Demo Files ❏ Section 4.3....
Page 37 - Installing the DVSDK Software; user
Installing the Software DVEVM Software Setup 4-7 5) Unpack the tar files (as root) by using the following commands: host $ tar zxf mvltools5.0- ####### .tar.gz host $ tar zxf DaVinciLSP-#_#_#_#.tar.gz This creates the MontaVista directory structure under the/opt/mv_pro_5.0/montavista/ directory. Not...
Page 38 - Installing the A/V Demo Files; Exporting a Shared File System for Target Access
Installing the Software 4-8 Note: You can uninstall these components by using the rm -rf command on its directory. You should ignore the uninstall filescreated by the installer. 4.3.3 Installing the A/V Demo Files The fourth disk contains the A/V files used by the demos. After followingthe instructi...
Page 40 - Testing the Shared File System
Installing the Software 4-10 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...
Page 41 - Notes on Using Evaluation/Production Codecs
Installing the Software DVEVM Software Setup 4-11 4.3.6 Notes on Using Evaluation/Production Codecs As part of the DM357 DVSDK installation, you received a number ofcodecs: ❏ Sequential JPEG Decoder ❏ Sequential JPEG Encoder ❏ MPEG4 Restricted Simple Profile Decoder ❏ MPEG4 Simple Profile Encoder ❏ ...
Page 42 - Setting Up the Build/Development Environment; Writing a Simple Program and Running it on the EVM
Setting Up the Build/Development Environment 4-12 4.4 Setting Up the Build/Development Environment To set up the development and build environment, follow these steps: 1) Log in to your user account (and not as root) on the NFS host system. 2) Set your PATH so that the MontaVista tool chain host too...
Page 43 - Building a New Linux Kernel
Building a New Linux Kernel DVEVM Software Setup 4-13 4.5 Building a New Linux Kernel If you modify the target’s Linux kernel sources, you will need to rebuild itand then boot it up by either replacing the kernel that comes installed onthe EVM board’s flash or by having the U-Boot utility use TFTP t...
Page 44 - Rebuilding the DVEVM Software for the Target
Rebuilding the DVEVM Software for the Target 4-14 7) If the kernel is configured with any loadable modules (that is, selecting <M> for a module in menuconfig), use the followingcommands to rebuild and install these modules: host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- modules host $ make ARC...
Page 45 - Building with DSPLink
Building with DSPLink DVEVM Software Setup 4-15 ■ Make sure LINUXKERNEL_INSTALL_DIR is defined as follows: LINUXKERNEL_INSTALL_DIR=/home/< useracct >/workdir/lsp/ti-davinci/linux-2.6.18_pro500 ■ Modify the following environment variable as needed to matchthe location of XDCtools on your Linux ...
Page 46 - Booting the New Linux Kernel
Booting the New Linux Kernel 4-16 4.8 Booting the New Linux Kernel After building the new kernel, in order to use it to boot the DaVinci board,you must transfer it to the board via TFTP. It is assumed you havecompleted the steps in Section 4.5, Building a New Linux Kernel and the boot file, uImage h...
Page 47 - Using the Digital Video Test Bench (DVTB)
Using the Digital Video Test Bench (DVTB) DVEVM Software Setup 4-17 4.9 Using the Digital Video Test Bench (DVTB) The Digital Video Test Bench (DVTB) is a Linux utility that was developedto execute end-to-end data flows using the DVSDK for any platform.DVTB uses the Codec Engine VISA APIs and Linux ...
Page 49 - Appendix A; Additional Procedures
A-1 Appendix A Additional Procedures This appendix describes optional procedures you may use depending onyour setup and specific needs. A.1 Changing the Video Input/Output Methods. . . . . . . . . . . . . . . . . . . . A – 2 A.2 Putting Demo Applications in the Third-Party Menu . . . . . . . . . . ....
Page 50 - Changing the Video Input/Output Methods; NTSC
Changing the Video Input/Output Methods A-2 A.1 Changing the Video Input/Output Methods U-Boot reads the S3 mini-dip switch, position 10 setting on boot-up andstores the results in the videostd environment variable. As long as yourU-Boot bootcmd sets the video output using the videostd variable (as ...
Page 51 - Putting Demo Applications in the Third-Party Menu
Putting Demo Applications in the Third-Party Menu Additional Procedures A-3 A.2 Putting Demo Applications in the Third-Party Menu You can add your own demos to the Third-Party Menu by following thesteps in this section. Only four demos can be shown at once in the user-interface. If you add more than...
Page 53 - Setting Up a TFTP Server
Setting Up a TFTP Server Additional Procedures A-5 A.3 Setting Up a TFTP Server You can check to see if a TFTP server is set up with the followingcommand: host $ rpm -q tftp-server If it is not set up, you can follow these steps: 1) If you have not yet installed MontaVista Linux Demo Edition (see Se...
Page 54 - Booting from Flash Using Board’s NAND Flash File System
Alternate Boot Methods A-6 A.4 Alternate Boot Methods The default configuration for the EVM is to boot from flash with the filesystem on the board’s NAND flash. The following are alternate ways youmay want to boot the board: ❏ TFTP boot with NAND flash file system (Section A.4.2) ❏ Flash boot with N...
Page 55 - Booting via TFTP Using Board’s NAND Flash File System; Booting from Flash Using NFS File System
Alternate Boot Methods Additional Procedures A-7 A.4.2 Booting via TFTP Using Board’s NAND Flash File System To boot in this mode, set the following parameters after you abort theautomatic boot sequence: EVM # setenv bootcmd 'dhcp;bootm' EVM # setenv bootargs console=ttyS0,115200n8 ip=dhcp root=/dev...
Page 56 - Booting via TFTP Using NFS File System
Alternate Boot Methods A-8 When you boot, look for the following lines that confirm the boot mode: ## Booting image at 80700000 ... ... Starting kernel ... ... VFS: Mounted root (nfs filesystem). A.4.4 Booting via TFTP Using NFS File System To boot in this mode, set the following parameters after yo...
Page 57 - Updating/Restoring the Bootloaders
Updating/Restoring the Bootloaders Additional Procedures A-9 A.5 Updating/Restoring the Bootloaders The DM357 EVM board contains 2 GB of NAND flash memory. Duringthe boot process 64 MB of NAND is used. After booting, 2 GB are usedfor the file system. When the EVM board is reset, the ROM bootloader (...
Page 60 - Restoring the NAND Flash; Updating the Kernel
Restoring the NAND Flash A-12 A.6 Restoring the NAND Flash You can restore the contents of the DVSDK NAND flash memory on theEVM board via NFS (Section A.6.2) or via RAM Disk and an SD card(Section A.6.3). These contents include the Linux kernel and filesystemand the demo application software. Howev...
Page 61 - Restoring the NAND Flash Using NFS
Restoring the NAND Flash Additional Procedures A-13 A.6.2 Restoring the NAND Flash Using NFS Once you have loaded the kernel binary to the corresponding NANDpartition as described in Section A.6.1, you can use NFS to populate theYAFFS2 image (dm357_flash_image_#_#_#_#.tar) to the NANDpartition. The ...
Page 62 - Restoring the NAND Flash Using RAM Disk and a 2 GB SD Card
Restoring the NAND Flash A-14 A.6.3 Restoring the NAND Flash Using RAM Disk and a 2 GB SD Card This procedure assumes the TFTP setup in Section A.3 has beenperformed. Once you have loaded the kernel binary to the corresponding NANDpartition as described in Section A.6.1, you can load the Ramdisk ima...
Page 65 - Index
Index--1 This is a draft version printed from file: davinci_gsgIX.fm on 12/15/08 Index A application 4-4 arrow buttons 3-5 audio 2-3 B battery 1-3, 3-4 bin files 4-6 block diagram 1-3 boot configurations A-6 flash with NAND flash A-6 flash with NFS A-7 NFS 4-10 standard 3-2 TFTP with NAND flash A-7 ...