Texas Instruments TMS320DM6446 DVEVM v2.0 Getting Started Manual

TMS320DM6446 DVEVM v2.0
Getting St arted Guide
Literature Number: SPRUE66E
December 2008
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements , improv ements , and othe r chang es to it s product s and services a t any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI's terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants pe rformance of it s hardware products to the specific ations appl icable at the time of sale i n accordance with TI's standard w arranty . T esting and other quali ty control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes n o liability for a pplications assi stance or customer produc t design. Custom ers are responsibl e for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work rig ht, or o ther TI inte llect ual pr operty r ight rela ting to an y combin ation, m achin e, or pr ocess in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use s uch prod uct s or serv ices or a warranty or en dorsem ent there of. Use of such information may require a license from a thi rd p a r ty un der the p a t ents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction o f informa tion in T I data books or data sheet s is permissible only i f reproduc tion is without alteratio n and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this infor­mation with alteration is an unfair and de ce ptiv e b us ine ss prac ti ce. TI is not responsib le o r lia bl e for s uc h al tere d documentation.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or servic e voids all exp res s a nd any implied wa rran tie s f or the associated TI p roduct or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.
Following are UR Ls where you can obt ain in form ati on on other Texas Instruments product s an d a ppl ic ati on s ol u­tions:
Products Applications
Amplifiers amplifier.ti.com Audio www.ti.com/audio Data Converters dataconverter.ti.com Automotive www.ti.com/automotive DSP dsp.ti.com Broadband www.ti.com/broadband Interface interface.ti.com Digital Control www.ti.com/digitalcontrol Logic logic.ti.com Military www.ti.com/military Power Mgmt power.ti.com Optical Networking www.ti.com/opticalnetwork Microcontrollers microcontroller.ti.com Security www.ti.com/security Low Power Wireless www.ti.com/lpw Telephony www.ti.com/telephony
Video & Imaging www.ti.com/video Wireless www.ti.com/wireless
Mailing Address: Texas Instruments
Post Office Box 655303 Dallas, Texas 75265
Copyright © 2008, Texas Instruments Incorporated
EVALUATION BOARD/KIT IMPORTANT NOTICE
Texas Instruments (TI) provides the enclosed product(s) under the following conditions: This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMON-
STRA TION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end-product fit for general consumer use. Perso ns handling the product( s) must have electronics training and observe good engineering practice standards. As such, the goods being provided are not intend ed to be compl ete in terms of required de sign-, marke ting-, and/or m anufacturing ­related protecti ve considerations, including pr oduct safety and environmental measures typically found in end prod uc t s t hat i nc orpo rate such semicon ductor c om po nents or circuit b oards. This evaluation board/kit does not fall within the scope of the European Union directives regarding electromagnetic comp atibility , restricted substances (RoHS), rec ycling (WEEE), FCC, CE or UL, and therefore may not meet the technical requirements of these directives or other related directives.
Should this evaluation board/kit not meet the specifications indicated in the User's Guide, the board/kit may b e returned with in 30 days from th e date of de livery fo r a ful l refun d. TH E FORE­GOING WARRANTY IS THE EXCLUSIVE WARRANTY MADE BY SELLER TO BUYER AND IS IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED, IMPLIED, OR STATUTORY, 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 indemnifies TI from all claims arising from the handling or use of the goods. Due to the open construction of the product, it is the user's responsibility to take any and all appropriate precautions with regard to electrostatic discharge.
EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT, SPECIAL, INCIDENT AL, OR CON­SEQUENTIAL DAMAGES.
TI currently deals w i th a v ari ety of c us tom ers for pro du ct s , an d the refore our arrangement w it h the user is not exclusive.
TI assumes no liability for applications assistance, customer product design, software performance, or infringement of patents or services described herein.
Please read the U ser's Guide and, specificall y, the W arnings and Restric tions notice in the User's Guide prior to handling the product. This notice contains important safety information about temperatures and vo ltages. For additional informatio n on TI's environmental and/or sa fety pro ­grams, please contact the TI application engineer or visit www.ti.com/esh.
No license is granted un der an y pa tent right or other intel lectu al proper ty rig ht of TI cove ring or relating to any machine, process, or combination in which such TI products or services might be or are used.
Mailing Address:
Texas I nstruments
Post Office Box 655303
Dallas, Texas 75265
Copyright © 2008, Texas Instruments Incorporated
FCC Warning
This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMON­STRA TION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished
end-product fit for general consumer use. It generates, uses, and can radiate radio 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 frequency interference. Operation of thi s eq uipment in other enviro nm ent s ma y c aus e in terfe r ­ence with radio co mm un ic atio ns , in which case the user at his own ex pe nse will be require d t o take whatever measures may be required to correct this interference.
About This Guide
The DVEVM (Digital Video Evaluation Module) kit is an evaluation platform that showcases the DM644x architecture and lets users evaluate the power and performance of the DM644x as a multimedia engine.
This guide gives you overview information about the board and the software provided with the board. It is intended to be used as an introductory docum ent for the DVEVM. Other do cuments provide more in-depth information. See 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:
Preface
Spectrum Digital website:
http://c6000.spectrumdigital.com/davincievm
TI Linux Community for DaVinci Processors:
http://linux.davincidsp.com
TI DaVinci Software Updates: http://www.ti.com/dvevmupdates TI DaVinci Technology Developers Wiki: http://wiki.davincidsp.com Codec Engine Application Developer's Guide (SPRUE67)
Other PDF documents included with the DVEVM kit Section 4.11 lists documentation in the DVSDK software installation. SoC Analyzer Help menu
v
Notational Conventions
Notational Conventions
This document uses the following conventions:
Program listings, program examples, and interactive displays are
Square brackets ( [ and ] ) identify an option al paramete r. If you use
Trademarks
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 Studio, Probe Point, Code Explorer, DSP/BIOS, RTDX, Online DSP Lab, DaVinci, TMS320, TMS320C54x, TMS320C55x, TMS320C62x, TMS320C64x, TMS320C67x, TMS320C5000, and TMS320C6000.
shown in a mono-spaced font. Examp les us e bold for emphasis, and interactive displays use bold to distinguish commands that you enter from items that the system displays (such as prompts, command output, error messages, etc.).
an optional parameter, you specify the information within the brackets. Unless the square brac k ets a re in a bold typefac e, do not enter the brackets themselves.
MS-DOS, Windows, and Windows NT are trademarks of Microsoft Corporation.
UNIX is a registered tr adema rk of Th e Open Gr oup in the Unite d States and other countries.
Linux is a registered trademark of Linus Torvalds. Solaris, SunO S, and Java are trademarks or registered trade marks of
Sun Microsystems, Inc. All other brand, produc t names, and service names are trademark s or
registered trademarks of their respective companies or organizations.
December 18, 2008
vi
Contents
1 DVEVM Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
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
2 EVM Hardware Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
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
3 Running the Demonstration Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1
This chapter explains 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.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 the Third Party Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-9
3.4 Running the Demos from the Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-9
3.5 Running the Network Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-11
4 DVEVM Software Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-1
This chapter explains how to use the software provided with the DVEVM kit.
4.1 Software Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-2
4.1.1 Command Prompts in This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-3
4.1.2 Software Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-4
4.2 Preparing to Install . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-5
4.3 Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-5
4.3.1 Installing the Target Linux Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-6
4.3.2 Installing the DVSDK Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-7
4.3.3 Installing the A/V Demo Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-8
4.3.4 Installing the SoC Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-9
vii
Contents
4.3.5 Exporting a Shared File System for Target Access . . . . . . . . . . . . . . . . . . . 4-9
4.3.6 Testing the Shared File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
4.3.7 Configuring the Boot Setup for PAL Video Users . . . . . . . . . . . . . . . . . . . . 4-12
4.3.8 Notes on Using Evaluation/Production Codecs . . . . . . . . . . . . . . . . . . . . . 4-12
4.4 Setting Up the Build/Development Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
4.4.1 Writing a Simple Program and Running it on the EVM. . . . . . . . . . . . . . . . 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.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 for DSP-Side Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
A Additional Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
This appendix describes optional procedures you may use depending 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-8
A.5 Rebuilding DSP/BIOS Link. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-11
A.6 Restoring and Updating the EVM Hard Disk Drive. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-12
viii
Chapter 1
DVEVM Overview
This chapter introduces the DVEVM (Digital Video Evaluation Module) kit.
Topic Page
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
1-1
Welcome!
1.1 Welcome!
Your new DVEVM (Digital Video Evaluation Module) kit will allow you to evaluate TI’s new DaVinci
TM
Technology and the DM644x
architecture. This technology brin gs togeth er syste m-solu tion
components tailored for e fficient and co mpe lling digital video and audio.
1-2
1.2 What’s in this Kit?
Your 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 TMS320DM6446 dua l-
Hard Disk Drive. The hard drive provided w ith the EVM is a 2.5"
CCD Camera. This camera provides NTSC or PAL video imaging for
LCD Display. The LCD display prov ided with the DVEV M kit has a
What’s in this Kit?
core device with an ARM9 and C64+ DSP for development of applications that use both a general-purpose processor and an accelerated DSP proces s or.
Spinpoint drive with 40 GB of storage. The drive speed in 5400 RPM and it has an 8MB cache. The drive is an Ultra A TA 66/100/133 IDE. Software has been preloaded on this EVM board’s hard disk drive.
DaVinci applications.
5.6" screen and 320x240 pixels. Cables and a power supply are provided. The NTSC v ersi on ha s a 110 VA C powe r supp ly. The PA L version has a 220 VAC power supply.
PC Desktop Microphone. The microphone provides a way to
capture audio for use by DaVinci applications.
IR Remote Control. This universal remote control is included to
provide a user interface to the demo applications.
Cables. Cables used to connect the EVM board to peripheral
devices and to a hos t Linux workstation used for devel opment are provided in the kit.
The DVEVM kit also comes with the following software. Information about how to use the software components is provided in Chapter 4.
DaVinci Digital Video Evaluation Kit. TI DaVinci Demonstration Version of MontaVista Linux Pro v5.0
Target
TI DaVinci Demonstration Version of MontaVista Linux Pro v5.0
Tools
A/V Media Clips Spectrum Digital EVM Tools SoC Analyzer
DVEVM Overview 1-3
What’s on the Board?
1.3 What’s on the Board?
The EVM comes lo aded with peripherals your mult imedia applications may need to make use of. The hard dri ve on the bo ard al so co mes pre­loaded with demonstration software. The following block diagram shows the major hardware components.
Figure 1–1 EVM Hardware Block Diagram
For more informa tion about the EVM hardware, see the DaVinci EVM website at http://c6000.spectrumdigital.com/davincievm.
The DaVinci EVM incorporates a battery holder to provide backup power to the MSP430’s real-ti me clock when the power is not ap plied to the board. The battery is not inclu ded in the kit. See the Spectrum Digital DaVinci EVM Technical Reference for suggested battery part numbers.
1-4
Diagram provided courtesy of Spectrum Digital Inc.
1.4 What’s Next?
What’s Next?
To get started eval uati ng t he DV EVM k it a nd d ev elo pin g ap pli cati ons for the DM644x, b egin by using this Getting Started guide. It will step you through connecting the hardware, testing the software, and beginning to develop applications.
When you are ready for more information 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.davincidsp.com
TI DaVinci Software Updates: http://www.ti.com/dvevmupdates TI DaVinci Technology Developers Wiki: http://wiki.davincidsp.com
Codec Engine Application Developer's Guide (SPRUE67) Other PDF documents included with the DVEVM kit Section 4.11 lists documentation in the DVSDK software installation. SoC Analyzer Help menu
DVEVM Overview 1-5
1-6
EVM Hardware Setup
This chapter tells you how to set up the EVM hardware.
Chapter 2
Topic Page
2.1 Setting Up the Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–2
2.2 Connecting to a Console Window . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–6
2-1
Setting Up the Hardware
2.1 Settin g U p the Hardware
To set up the hardware provided with the EVM, use the steps in the sections that fo llow. You ma y sk ip secti ons if you do n ot ne ed to acce ss a particular peripher al . Fo r examp le, i f y ou do no t n eed to us e the s erial cable, skip that section.
1) The EVM is sensitive to static discharges. Use a 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 of switches to On. If you use NTSC video, set this switch to Off. See Figure 1–1 for S3 switch bank location.
3) Connect the yellow v ideo cable to the upper-rig ht Video Out jack on the EVM and the LCD display Video Input as shown below.
See Section A.1, Changing the Video Input/Output Methods for information about using S-Video or Component video.
2-2
Setting Up the Hardware
4) Connect the red and white audio cables to the EVM Audio Output and the LCD display R/L Audio Input jacks as shown below:
5) Connect the BNC-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. T o be ESD safe, do not plug in the other end of the camera power cord until the later step that instructs you to do so.
See Section A.1, Changing the Video Input/Output Methods for information about using S-Video or Component video.
EVM Hardware Setup 2-3
Setting Up the Hardware
7) Connect the microphone to the EVM.
8) Connect the power cable to the EVM 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 Ethernet network port.
Note that the U-Boot bootargs must in clude "ip=dh cp" to enable the network connection.
2-4
Setting Up the Hardware
10) If you plan to use th e UART port for a co nsole windo w, connect the RS-232 null modem cable to the EVM UART port and a COM port on your host Linux workstation. See Section 2.2, Connecting to a Console Window for more about using a console 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 er end of the power cable only aft er you have connected the power cord to the board.
14) Power on the LCD display.
15) Power on the EVM board.
16) The initial sc reen of the demo software should b e displayed o n the LCD display. Use the IR r emote to run the software a s describ ed in Chapter 3.
EVM Hardware Setup 2-5
Connecting to a Console Window
2.2 Connecting to a Console Window
You can ope n a console window that allows you to watch an d interrupt EVM boot messages by following these steps:
1) Connect a ser ial cable be tween the seri al port on the EVM and th e serial port (for example, COM1) on a PC.
2) Run a terminal session (such as Minicom on Linux or HyperTerminal on Windows) on th e workstation and config ure it to connect to tha t serial port with the following characteristics:
Bits per Second: 115200
Data Bits: 8
Parity: None
Stop Bits: 1
Flow Control: None
3) When you power on the EVM, you will see boot sequence messages. You can press a key to interrupt the boot sequence and type commands in the U-Boot command shell. In this guide, commands to be typed in the U-Boot shell are indicated by an
EVM # prompt.
2-6
Chapter 3
Running the Demonstration Software
This chapter explains how to run the software demos prov ided with the DVEVM kit.
Topic Page
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 the Command Line . . . . . . . . . . . . . . . . . 3 –9
3.5 Running the Network Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–11
3-1
Default Boot Configuration
3.1 Default Boot Configuration
Out of the box, the EVM boots from flash and starts the demos automatically after a few seconds when you power up the board. It does not require an NFS mount or a TFTP server to run the standard demos.
Note: The default U-Boot bootargs definition sets "ip=off", which disables the Ethernet connection.
The out-of-the-box boot parameters are listed in Section A.4.1. The following are alternate ways you may want to boot the board:
TFTP boot with hard drive file system (Section A.4.2) Flash boot with NFS file system (Section A.4.3) TFTP boot with NFS file system (Section A.4.4) PAL video mode vs. NTSC video mode (Section 4.3.7)
To abort the standard boot, press any key in th e console window (see Section 2.2). Also see Section A.4, Alternate Boot Methods if you want to change the boot configuration.
3.2 Starting the Standalone Demos
When you connect the EVM hardware, the pre-loaded examples run automatically 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 wi th n o connection to a wor kstation in the defa ult boo t configuration. This is the mode documented in the rest of this chapter.
The standalone demo was se t up by the DVSDK, which copies the file /examples/dvevmdemo to the directory /etc/rc.d/init.d (the central repository for startup scripts). This file is symbolically linked to /etc/rc.d/rc3id/S88demo. When the board boots up and enters runlevel 3, this file is ex ecute d to s tart th e de mo we b s erve r and th e demo interface.
Command line. Once you have connected the EVM to a workstation
and installed the nec ess ar y software (as desc ribe d i n S ec ti on 4.3.1 , Installing the T arget Linux Software), you can run the demos from the board’s Linux command line. For furt her information on running the demos from the comman d line, s ee the demo documentation th at is linked to by the DVSDK release notes.
Note: When you run the demos fr om the comma nd line, make s ure the interface process used by the standalone mode demos is not
3-2
Starting the Standalone Demos
running. Otherwis e y ou wil l see er ro r me ss ag es rais ed whe n device drivers fail to open.
Once the EVM board has booted, the disp la y should show a pi cture of the remote control. You use the IR remote to control the demos.
The order of the buttons on the actual remote may be different from the picture; if your remote looks different, find the buttons with the same labels on your remote.
To use the demos in standalone mode, follow these steps:
1) Check to make sure the batteries are installed in your IR remote.
2) The 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 to set it to use the codes necessary to run the DVEVM demos. To do this, hold down the "Code Search" button until the red light on the remote stays lit. Then press the "DVD" b utton an d enter "0020 " as the code (for older remotes shipped with the kit, the code is "020").
4) If you accidentally put the remote in TV or some other mode , press " DVD" to return the remote to the correct mode.
5) If the remote does not accept the DVD+0020 code, do a full reset by removing the batteries, pressing the Power button for at least a minute, then reinserting the batteries. Then program the remote as in Step 3.
Running the Demonstration Software 3-3
Loading...
+ 53 hidden pages