Texas Instruments TMS320DM6446 DVEVM User Manual

TMS320DM6446 DVEVM v2.0
Getting Started 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 changes to its product s and se rvices a t any time and to dis continue 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 perform ance of it s hardware pro ducts to the specificati ons applic able at the ti me of sale i n accordance with TI's standard warra nty. T esting and other quality c ontrol techniques are used to the exte nt 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 no li ability for appl ications assi stance or cu stomer product d esign. Customers 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 other TI intelle ct ual prop erty righ t relatin g to any c ombin ation, mac hine, or proc ess in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a lic ense from TI to use such produc t s or servic es or a warrant y or endors emen t thereof. Use of such information may r equ ire a l ice ns e from a thi rd p a r ty un der the p atents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of i nformation in TI data books or data sheet s is perm issible only if re productio n is w ithout al teration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this infor­mation with alteratio n is an u nfa ir an d de ceptive business practice. TI is not responsible or liable for such altere 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 voi ds al l e xp res s and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.
Following are URLs w here y ou c an obtain information on other Texa s In st rum ent s products and application 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 EV ALUATION PURPOSES ONL Y and is not cons idered by TI to be a finished end-product fit for g eneral consumer use. Perso ns handling the product(s) m ust have electronics training and observe good engineering practice standards. As such, the goods being provided are not intended to be complete in terms of re quired desi gn-, market ing-, and/or man ufacturing ­related protective c onsiderations, including produ ct safety and environmental measures typically found in end produc t s t hat i nc orpo r ate su ch sem ic on duc tor c omponents or circuit boards. This evaluation board/kit does not fall within the scope of the European Union directives regarding electromagnetic compa tibility , restricted substances (RoHS), recyc ling (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 be re turned within 30 day s from the d ate of deliv ery fo r a ful l refund. T HE FOR E­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 wi th a v ari ety of c ustom ers for pro du ct s , an d the r efo re ou r arra nge ment with 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 Use r's Guide and, specifically , the W arnings and Restrictio ns notice in the User's Guide prior to handling the product. This notice contains important safety information about temperatures and vo lt ag es . Fo r ad ditional information on TI's en vi ronm en t al an d/or safety pro­grams, please contact the TI application engineer or visit www.ti.com/esh.
No license is granted un der any p aten t right or other intel lectual pro per ty right of TI co verin g or relating to any machine, process, or combination in which such TI products or services might be or are used.
Mailing Address:
Texas Instruments
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 EV ALUATION PURPOSES ONL Y 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 interfere nce . Op era tion of this equipment in other environment s may cause interfer­ence with radio co mm unications, in which case the use r at his own expense will be required 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: 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)

Preface

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 trade marks 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. Examples use 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 t he sq uar e brac k ets a re in a bold typeface, do not enter the brackets themselves.
MS-DOS, Windows, and Windows NT are trademarks of Microsoft Corporation.
UNIX is a registered trad emark of The O pen Grou p in the Un ited States and other countries.
Linux is a registered trademark of Linus Torvalds. Solaris, SunOS, and Java are trademarks or re gistered trademarks of
Sun Microsystems, Inc. All other brand, product na mes, 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 brings together system- solu tion
components tailored for efficien t and co mpellin g 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 con tains a DaVinci TMS320DM6446 dua l-
Hard Disk Drive. The hard d rive provided with the EVM is a 2.5"
CCD Camera. This camera provides NTSC or PAL video imaging for
LCD Display. The LCD display provide d with the DVEVM k it has a
PC Desktop Microphone. The microphone provides a way to
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 process 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 ATA 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 ver sion ha s a 110 VAC power supp ly. The PAL version has a 220 VAC power supply.
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 host Li nux workstation used for developm ent 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. T he har d drive on the bo ard also comes pre­loaded with demonstration software. The following block diagram shows the major hardware components.
1-4
Diagram provided courtesy of Spectrum Digital Inc.
Figure 1–1 EVM Hardware Block Diagram
For more informatio n 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-time clock when the power is not ap plied to the board. The battery is not included in the kit. See the Spectrum Digital DaVinci EVM Technical Reference for suggested battery part numbers.

1.4 What’s Next?

What’s Next?
To get started evaluating the DV EV M kit a nd d ev elo pin g ap pli c ations for the DM644x, b egin by using this G etting Started guide. It will ste p 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 Setting U p the Hardware

To set up the hardware provided with the EVM, use the steps in the sections that foll ow. You may skip s ections if you do n ot need to acce ss a particular peripheral . Fo r ex amp le, if you do no t n eed to use the serial cable, skip that section.
1) The EVM is sensitive to static discharges. Use a grounding strap or other dev ice 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 vide o cable to the uppe r-right Video Out jac k on the EVM and the LCD display Video Input as shown below.
2-2
See Section A.1, Changing the Video Input/Output Methods for information about using S-Video or Component video.
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 incl ude "ip=dhcp " to enable the network connection.
2-4
Setting Up the Hardware
10) If you plan to use the UA RT port for a cons ole window, 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. T o be ESD safe, plug in the oth er end of the power cable only after you have connected the power cord to the board.
14) Power on the LCD display.
15) Power on the EVM board.
16) The initial scr een of the demo s oftware should b e displayed on the LCD display. Use the IR rem ote to run the software as de scribed i n Chapter 3.
EVM Hardware Setup 2-5
Connecting to a Console Window

2.2 Connecting to a Console Window

You can open a console windo w that allows you to watch and interrupt EVM boot messages by following these steps:
1) Connect a seria l cable betwee n the serial port on the EVM and the serial port (for example, COM1) on a PC.
2) Run a terminal session (such as Minicom on Linux or HyperTerminal on Windows) on the wor kstation and configur e 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 ru n the software demos provide d 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, p ress any key in the console wi ndow (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 with n o c onn ec tio n to a wo rks tation 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 ec ute d to start th e de mo we b s erve r a nd th e demo interface.
Command line. Once you have connected the EVM to a workstation
and installed the neces sar y so ftware ( as de sc ribe d i n S ect ion 4.3.1, Installing the Target Linux Software), you can run the demos from the board’s Linux command line. For further information on running the demos from the command lin e, see the demo doc umentation th at is linked to by the DVSDK release notes.
Note: When you run the demos from th e comma nd line, make s ure the interface process used by the standalone mode demos is not
3-2
Starting the Standalone Demos
running. Otherwise y ou wil l se e err or messages raised whe n d evi c e drivers fail to open.
Once the EVM board has booted, the display 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" butto n an d enter "0 020" 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 lea st a minute, then reinserting the batteries. Then program the remote as in Step 3.
Running the Demonstration Software 3-3
Loading...
+ 53 hidden pages