background image

TMS320DM6446 DVEVM v2.0

Getting Started Guide

Literature Number: SPRUE66E

December 2008

Содержание TMS320DM6446 DVEVM v2.0

Страница 1: ...TMS320DM6446 DVEVM v2 0 Getting Started Guide Literature Number SPRUE66E December 2008...

Страница 2: ...TI to use such products or services or a warranty or endorsement thereof Use of such information may require a license from a third party under the patents or other intellectual property of the third...

Страница 3: ...UTORY IN CLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE The user assumes all responsibility and liability for proper and safe handling of the goods Further the user inde...

Страница 4: ...adio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to part 15 of FCC rules which are designed to provide reasonable protection against radio fre...

Страница 5: ...the DVEVM release notes for a complete list of documents that have been included with the product Additional Documents and Resources You can use the following sources to supplement this user s guide...

Страница 6: ...The Texas Instruments logo and Texas Instruments are registered trademarks of Texas Instruments Trademarks of Texas Instruments include TI DaVinci the DaVinci logo XDS Code Composer Code Composer Stud...

Страница 7: ...e Demos 3 2 3 3 Running the Standalone Demos 3 4 3 3 1 Shutting Down the Demos 3 5 3 3 2 About the Encode Decode Demo 3 6 3 3 3 About the Encode Demo 3 7 3 3 4 About the Decode Demo 3 8 3 3 5 About th...

Страница 8: ...or the Target 4 16 4 7 Booting the New Linux Kernel 4 17 4 8 Testing the Build Environment 4 18 4 9 Using the Digital Video Test Bench DVTB 4 18 4 10 Running The SoC Analyzer 4 20 4 11 Documentation f...

Страница 9: ...1 1 Chapter 1 DVEVM Overview This chapter introduces the DVEVM Digital Video Evaluation Module kit 1 1 Welcome 1 2 1 2 What s in this Kit 1 3 1 3 What s on the Board 1 4 1 4 What s Next 1 5 Topic Page...

Страница 10: ...igital Video Evaluation Module kit will allow you to evaluate TI s new DaVinciTM Technology and the DM644x architecture This technology brings together system solution components tailored for efficien...

Страница 11: ...Display The LCD display provided with the DVEVM kit has a 5 6 screen and 320x240 pixels Cables and a power supply are provided The NTSC version has a 110 VAC power supply The PAL version has a 220 VA...

Страница 12: ...Figure 1 1 EVM Hardware Block Diagram For more information about the EVM hardware see the DaVinci EVM website at http c6000 spectrumdigital com davincievm The DaVinci EVM incorporates a battery holder...

Страница 13: ...n about DaVinci Technology and the DM644x architecture see the following Spectrum Digital website http c6000 spectrumdigital com davincievm TI Linux Community for DaVinci Processors http linux davinci...

Страница 14: ...1 6...

Страница 15: ...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...

Страница 16: ...grounding strap or other device to prevent damaging the board Be sure to connect communication cables before applying power to any equipment 2 If you use PAL video set switch 10 on the S3 USER bank o...

Страница 17: ...NC to RCA connector to the coax cable Then connect the coax cable to the video camera and the EVM Video Input 6 Connect the power jack for the video camera To be ESD safe do not plug in the other end...

Страница 18: ...power jack on the board To be ESD safe do not plug in the other end of the cable yet 9 If you will use the Ethernet connection connect the Ethernet cable to the Ethernet Port on the EVM and to an Ethe...

Страница 19: ...window 11 Plug in the LCD display to a power supply 12 Plug in the NTSC PAL video camera to a power supply 13 Connect the power cable to the EVM power jack on the board To be ESD safe plug in the oth...

Страница 20: ...terminal session such as Minicom on Linux or HyperTerminal on Windows on the workstation and configure it to connect to that serial port with the following characteristics Bits per Second 115200 Data...

Страница 21: ...ains how to run the software demos provided with the DVEVM kit 3 1 Default Boot Configuration 3 2 3 2 Starting the Standalone Demos 3 2 3 3 Running the Standalone Demos 3 4 3 4 Running the Demos from...

Страница 22: ...matically on the display These examples encode and decode audio video and speech There are two ways to use the demos Standalone This is the default power on mode The demos run automatically with no co...

Страница 23: ...initial screen shows a diagram of the IR remote which you use to run the standalone demos Take a minute to look at the functions of the various buttons 3 Since this is a universal remote you may need...

Страница 24: ...n be used to add additional demos see Section A 2 Putting Demo Applications in the Third Party Menu 2 Use the up and down arrows to change which demo is selected Then press OK or Play to move to the s...

Страница 25: ...hen you want to end or pause a demo The first time you press Stop you return to the settings screen Press Stop from the settings screen to go back to the main menu For information about running the in...

Страница 26: ...ing Linux The video signal is passed to video encoders and decoders on the DSP by the Codec Engine Shared memory is used when passing data To use this demo from the command line see Section 3 4 Runnin...

Страница 27: ...t is not decoded and sent to the display or speakers other than to show the settings and dynamic data collected about the load and rates Note that you can use only a speech encoder not an audio encode...

Страница 28: ...and a source audio or speech file Use the left and right arrow buttons to choose from the demo files and the files created by the Encode demo which are stored on the EVM s hard disk drive The decoded...

Страница 29: ...o Applications in the Third Party Menu 3 4 Running the Demos from the Command Line You can run the demo applications from the Linux shell in a terminal window connected to the EVM board s serial port...

Страница 30: ...t 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...

Страница 31: ...u of the A V demos You should see a web page with information about DaVinci technology and the DVEVM software Use this web page to interact with the board and run the A V demos described in Section 3...

Страница 32: ...3 12...

Страница 33: ...e Software 4 5 4 4 Setting Up the Build Development Environment 4 13 4 5 Building a New Linux Kernel 4 14 4 6 Rebuilding the DVEVM Software for the Target 4 16 4 7 Booting the New Linux Kernel 4 17 4...

Страница 34: ...ion 3 2 and Section 3 5 Disk 1 MontaVista Linux Pro v5 0 System Tools and Target File System The version provided with the DVEVM kit is the demonstration version It contains the following file mvl_5_0...

Страница 35: ...license and no direct customer support warranty or indemnification from MontaVista Software Inc is provided You may choose to order the DaVinci Software Production Bundle DVSPB which includes the prod...

Страница 36: ...g drivers and timers CodecEngine Engine VID IMG SPH AUD VISAAPI VISA API VISA API I Node Image Task A Node Audio Task V Node Video Task S Node Speech Task DSKT2 DMAN3 ACPY3 RMAN Codec Engine Remote Se...

Страница 37: ...tallers may be available on the TI DaVinci Software Updates website listed in Section 1 4 Ensure that an X graphical display is available and point your DISPLAY environment variable to this value For...

Страница 38: ...nstallation directory we suggest that you change the installation directory to opt mv_pro_5 0 host mvl_5_0_demo_sys_setuplinux bin host mvl_5_0_0_demo_lsp_setuplinux_ _ _ _ bin 3 After you execute the...

Страница 39: ...dvsdk_setuplinux_ _ _ _ bin and xdctools_setuplinux_ _ _ bin files 2 Execute the DVSDK installer that you previously copied from the DVSDK DVD For example host cd tmp host dvsdk_setuplinux_ _ _ _ bin...

Страница 40: ...ou can now delete the bin files that you loaded into the temporary directory Note You can uninstall these components by using the rm rf command on its directory You should ignore the uninstall files c...

Страница 41: ...t to have the target board NFS mount a file system on a host Linux workstation Once you have tested the application you can store it on the board s hard drive for a standalone demonstration Note Using...

Страница 42: ...he 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 Not...

Страница 43: ...setenv bootargs video davincifb vid0 720x576x16 2500K vid1 720x576x16 2500K osd0 720x576x16 2025K davinci_enc_mngr ch0_output COMPOSITE davinci_enc_mngr ch0_mode videostd console ttyS0 115200n8 noini...

Страница 44: ...setenv bootargs video davincifb vid0 720x576x16 2500K vid1 720x576x16 2500K osd0 720x576x16 2025K davinci_enc_mngr ch0_output COMPOSITE console ttyS0 115200n8 noinitrd rw ip dhcp root dev hda1 mem 120...

Страница 45: ...ta LSP you should add a definition like the following to your shell resource file for example bashrc PATH opt mv_pro_5 0 montavista pro devkit arm v5t_le bin opt mv_pro_5 0 montavista pro bin opt mv_p...

Страница 46: ...efore attempting to build a new kernel To rebuild the Linux Kernel follow these steps 1 Log in to your user account not as root 2 Set the PLATFORM variable in the Rules make file as described in Secti...

Страница 47: ...d host make ARCH arm CROSS_COMPILE arm_v5t_le uImage 8 If the kernel is configured with any loadable modules that is selecting M for a module in menuconfig use the following commands to rebuild and in...

Страница 48: ...PLATFORM Make sure MVTOOL_DIR points to the MontaVista Linux tools directory as follows MVTOOL_DIR opt mv_pro_5 0 montavista pro devkit arm v5t_le Make sure LINUXKERNEL_INSTALL_DIR is defined as foll...

Страница 49: ...starting from a default clean U Boot environment See Section 3 1 Default Boot Configuration for information on the U Boot default environment EVM setenv bootcmd dhcp bootm EVM setenv serverip tftp ser...

Страница 50: ...vsdk_ _ codec_engine_ _ examples servers video_copy to inspect the built server 4 9 Using the Digital Video Test Bench DVTB The Digital Video Test Bench DVTB is a Linux utility that was developed to e...

Страница 51: ...dm6446 on the device s target filesystem and run it there It must be in the same directory as the DSP executables For further details on the DVTB see the following documents Release Notes home useracc...

Страница 52: ...ng analysis and optimization of DVEVM applications It collects execution interaction and resource utilization logs from Linux DSP BIOS Codec Engine and drivers and presents system level analysis and g...

Страница 53: ...bled by default The uImage must be rebuilt to enable logging 4 11 Documentation for DSP Side Development After you have installed the DVSDK software you can begin to create and modify DSP side applica...

Страница 54: ...Run Instructions home useracct dvsdk_ _ codec_engine_ _ examples build_instructions html Codec Engine API Reference home useracct dvsdk_ _ codec_engine_ _ docs html index html Codec Engine SPI Refere...

Страница 55: ...on your setup and specific needs A 1 Changing the Video Input Output Methods A 2 A 2 Putting Demo Applications in the Third Party Menu A 5 A 3 Setting Up a TFTP Server A 7 A 4 Alternate Boot Methods A...

Страница 56: ...difference between the different inputs and outputs However the cables in the DVEVM kit support only composite video You will need to get S Video or Component video cables from another source A 1 1 U...

Страница 57: ...t does not include an S Video cable In addition you will need a video display with an S Video input 2 On the kernel command line you can configure the EVM to select both NTSC vs PAL and the S Video ou...

Страница 58: ...en and blue connectors but you should be aware that the Y Pr and Pb signals used by component video do not correspond to RGB signals In addition you will need a video display with component video inpu...

Страница 59: ...executes the executable If this is a shell script make sure its executable bit is set for all A script could look something like bin sh exec mydemoname other files If app sh is a shell script your de...

Страница 60: ...ux The result should say gzip compressed data file filename tar gz 3 Put your archive in the thirdpartydemos subdirectory of the target installation directory This is where the DVSDK software was inst...

Страница 61: ...Linux host from many locations on the Internet Search for tftp server 2 To install TFTP use this command where is the version number portion of the filename host rpm ivh tftp server rpm You should see...

Страница 62: ...Note Using video files from an NFS file system may result in a low frame rate when encoding decoding videos To boot in one of these modes follow these steps 1 Power on the EVM board and abort the auto...

Страница 63: ...boot look for the following line that confirms the boot mode Booting image at 02050000 A 4 2 Booting via TFTP Using the EVM s Hard Drive File System To boot in this mode set the following parameters...

Страница 64: ...have flashed a new kernel to the NOR flash at an address other than 0x2050000 modify the bootcmd definition accordingly When you boot look for the following lines that confirm the boot mode Booting i...

Страница 65: ...racct dvsdk_ _ dsplink_ packages dsplink make Linux directory to make sure the BASE_BUILDOS and BASE_CGTOOLS variables correctly point to the correct locations For example BASE_BUILDOS home useracct w...

Страница 66: ...am is booted from the target flash memory address of 0x02050000 Note If you have flashed a new kernel to the NOR flash at an address other than 0x2050000 then the flash memory address will be differen...

Страница 67: ...tm 0x2050000 Note If you have flashed a new kernel to the NOR flash at an address other than 0x2050000 modify this command accordingly 4 Configure bootargs as follows to root mount the file system fro...

Страница 68: ...f boot are provided in Section A 4 1 Booting from Flash Using the EVM s Hard Drive File System A 6 4 Restoring From Target EVM HDD Partition Follow these steps to restore the HDD from the restore part...

Страница 69: ...ion A 4 1 Booting from Flash Using the EVM s Hard Drive File System A 6 5 Restoring From Host Linux Workstation File System This section assumes that you have installed the DVEVM software to the host...

Страница 70: ...to partition and format dev hda1 Type yes 8 After the HDD restore is complete shutdown the EVM EVM halt 9 When the Power down message is printed in the terminal window it is safe to power down the EV...

Страница 71: ...COM port 2 6 command line demos 3 9 command prompts 4 3 component video A 2 A 4 composite video A 2 console window 2 6 contents of kit 1 3 CPU load 3 5 D data files 4 8 DaVinci technology 1 2 Decode...

Страница 72: ...installation location 4 8 installing DVEVM software 4 7 hardware 2 2 Linux software 4 6 IR remote 1 3 2 5 3 3 resetting code 3 3 K kit contents 1 3 L LCD display 1 3 2 2 Link DSP BIOS 4 4 Linux 4 4 i...

Страница 73: ...g 4 6 Spectrum Digital website 1 4 standalone demos 3 2 static precautions 2 2 Stop button 3 5 S Video A 2 input A 2 output A 3 T target prompt 4 3 terminal session 2 6 test program 4 13 TFTP boot con...

Страница 74: ...Index 4...

Страница 75: ......

Страница 76: ...Spectrum Digital Inc 508168 0001C...

Отзывы: