Texas Instruments TMS320DM6446 DVEVM v2.0 manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Texas Instruments TMS320DM6446 DVEVM v2.0. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Texas Instruments TMS320DM6446 DVEVM v2.0 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Texas Instruments TMS320DM6446 DVEVM v2.0 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Texas Instruments TMS320DM6446 DVEVM v2.0 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Texas Instruments TMS320DM6446 DVEVM v2.0
- nom du fabricant et année de fabrication Texas Instruments TMS320DM6446 DVEVM v2.0
- instructions d'utilisation, de réglage et d’entretien de l'équipement Texas Instruments TMS320DM6446 DVEVM v2.0
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Texas Instruments TMS320DM6446 DVEVM v2.0 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Texas Instruments TMS320DM6446 DVEVM v2.0 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Texas Instruments en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Texas Instruments TMS320DM6446 DVEVM v2.0, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Texas Instruments TMS320DM6446 DVEVM v2.0, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Texas Instruments TMS320DM6446 DVEVM v2.0. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    TMS320DM6446 DVEVM v2.0 Getting S tarted Guide Literature Number: S PRUE66E December 2008[...]

  • Page 2

    IMPORT ANT NOTICE T exas Inst ruments Incorp orated and it s subsidiaries (TI) reserve the right to make corre ctions, modific ations, enhanc ements , improv ements , and othe r chang es to it s product s and services a t any time and to discontinue any produ ct or servi ce without not ice. Customers should obta in the latest relevant infor m ation[...]

  • Page 3

    EV ALUA TION BOARD/KIT IMPORT ANT NOTICE T exas Ins trument s (TI) provid es the en closed produ ct(s) unde r the following conditions: This eva l uatio n board/kit is intende d for use for ENGINEERING DEVELOPMENT , DEM ON- STRA TION, OR EV ALUA TION PURPOSES ONL Y and is not considered by TI to be a finishe d end- product fit for general con s ume[...]

  • Page 4

    FCC W arning This eva l uatio n board/kit is intende d for use for ENGINEERING DEVELOPMENT , DEM ON- STRA TION, OR EV ALUA TION PURPOSES ONL Y and is not consid ered by TI to be a finis hed end- product fit for gen eral consumer use. It genera tes, uses, and can radiate rad io frequency ener gy and has not been tested for complian ce with the limi [...]

  • Page 5

    v This is a draft version printed from file: pref.fm on 12/18/08 Preface About This Guide The DVEV M (Digital Video Evaluation Mo dule) kit is an eva luation platform that show case s the DM64 4x archit ecture a nd lets use rs evaluate the power and perform ance of the DM644x as a mult imedia engin e. This guide gives yo u overview i nformatio n ab[...]

  • Page 6

    vi Not ational Conv entions Notational Con ventions This doc ument uses th e followi ng conventi ons: ❏ Progra m listings, pr ogram e xamples, an d interac tive displ ays are shown in a mono-spaced font . Examp les us e bold for emphasis , and inte ractive d isplays use bold to distin guish c ommands that yo u enter fro m items that th e system d[...]

  • Page 7

    vii This is a draft version printed fro m file: davinci_gsgTOC.fm on 12/18/08 Content s 1 DVEV M Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 This cha pter intr oduces the DVEVM ( Digital V ideo Eva luation Modu le) kit . 1.1 Welcome! . . . . . . . . . . . . . . .[...]

  • Page 8

    Conten ts viii 4.3.5 Exporting a S hared File Syste m for Target A ccess . . . . . . . . . . . . . . . . . . . 4-9 4.3.6 Testing th e Shared Fil e System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11 4.3.7 Configuring the Boot S etup for PA L Video Users . . . . . . . . . . . . . . . . . . . . 4-12 4.3.8 Notes on Us ing Eva[...]

  • Page 9

    1-1 Chap ter 1 DVEVM Overview This chapte r introduc es the DVEVM (Di gital Video Evaluation Module) kit. 1.1 Welcome! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 – 2 1.2 What’s in thi s Kit? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 – 3 1.3 What’s o[...]

  • Page 10

    Wel c om e ! 1-2 1.1 Wel come! Y our new DVEVM ( Digital Video Evalua tion Module) kit will allow you to evalu ate TI’s new DaVinci TM T echnol ogy and the DM644x archite cture. This techno logy br ings to gether sy stem-so lutio n compo nents tailored fo r efficient an d compe llin g digital vid eo and aud io.[...]

  • Page 11

    What’ s in this Kit? DVEVM Overview 1-3 1.2 What’s in this Kit? Y our DVEVM kit c ontains the following hardware item s. Secti on 2.1, Setting Up the Hardware tells how to connect these com ponents. ❏ EVM Board . This board contains a DaVinci TM S320DM644 6 dual- core dev ice with an A RM9 and C64+ DSP for developm ent of applica tions t hat [...]

  • Page 12

    What’ s on the Boar d? 1-4 1.3 What’s on the Board? The EV M comes loaded wi th peripher als your multime dia appl ications may need to make u se of. T he hard d rive on th e boar d also comes pr e- loaded wi th demons tration s oftware. Th e followi ng bloc k diagram shows the major hardware com ponents. Figure 1–1 EVM Hardware Block Diagram[...]

  • Page 13

    What’ s Next? DVEVM Overview 1-5 1.4 What’s Ne xt? T o get started ev al uating t he DVEVM k it a nd d ev elo pin g ap pli cati ons for the DM644 x, begin by using this Get ting S tarted gui de. It wi ll ste p you through connecti ng the ha rdware, testing th e software, and be ginning t o develop applica tions. When you ar e ready for mo re in[...]

  • Page 14

    1-6[...]

  • Page 15

    2-1 Chap ter 2 EVM Hardware Setup This cha pter tells y ou how to s et up the E VM hard ware. 2.1 Setting Up the Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 – 2 2.2 Connectin g to a Console Window . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 – 6 T opic Page[...]

  • Page 16

    Setting Up the Hardware 2-2 2.1 S et ti n g U p the Har dw are T o set up th e hardware pr ovided w ith the EVM, us e the steps in th e sect ions th at foll ow . Y ou may s kip sec tions if you do not ne ed to access a particular p er ipher al . Fo r examp le, i f y ou do no t n eed to us e the s erial cable, s kip that section. 1) The EV M is sens[...]

  • Page 17

    Setting Up the Hardware EVM Hardware Setu p 2-3 4) Con nect the red and white audio cable s to the EVM Audio O utput and the LCD display R/L Audio Input jacks as shown be low: 5) Con nect the BNC-to- RCA connector to the coax cable. Then connect the coax cable to the video camera and the EV M Video Input. 6) Con nect the power j ack for the vide o [...]

  • Page 18

    Setting Up the Hardware 2-4 7) Con nect the mic rophone t o the EVM. 8) Con nect the power ca ble to the EVM powe r jack on the boa rd. T o be ESD safe , do not plu g in the ot her end of the cable yet. 9) If you will us e the Etherne t connec tion, connec t the Ether net cable t o the Ether net Port on the EVM and to an E thernet netwo rk port. No[...]

  • Page 19

    Setting Up the Hardware EVM Hardware Setu p 2-5 10) If you pla n to use th e UART port for a co nsole windo w , c onnect the RS-232 n ull modem cable to t he EVM UART port and a COM por t on your host Linux wor kst ation. See Se ction 2.2 , Con necting to a Console Wi ndow for m ore abou t using a console window . 1 1) Plug in the LCD display to a [...]

  • Page 20

    Conne cting to a Cons ole Wi ndow 2-6 2.2 Connecting to a Console Window Y ou c an open a console window that allow s you to watch and interrup t EVM boot message s by foll owing thes e steps: 1) Con nect a serial cable betwee n the serial port on the EV M and the serial po rt (for ex ample, COM1) on a PC. 2) Run a terminal se ssion ( such as Mini [...]

  • Page 21

    3-1 Chap ter 3 Running the Demonstration Software This chapte r ex plains how to ru n the software de mos provide d with the DVEVM k it. 3.1 Default Boo t Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 2 3.2 Starting the Stan dalone Demos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 2 3.3 Ru[...]

  • Page 22

    Defaul t Boot Co nfiguration 3-2 3.1 Default Boot Configuration Out of the box, the E VM boots from f lash and starts the demos automa tically af ter a few seconds when you power u p the board. It does not require an NFS mount or a TFTP server to run the standard demos. Note: The defau lt U-Boot bootargs defini tion sets "i p=off", which [...]

  • Page 23

    S tarting t he S tandalon e Demos Runnin g the Demons tration Softw are 3- 3 running . Ot he rwis e y ou wil l see er r or me ss ag es rais ed whe n d evice drivers fail to op en. Once the EV M board has boot ed, the disp la y should show a picture o f the re mote cont rol. Y ou u se the IR rem ote to con trol the demo s. The order of the buttons o[...]

  • Page 24

    Runni ng the S tandalon e Demos 3-4 3.3 Running the Standalone Demos 1) Press "Play" or " OK" on the remo te to mov e from the rem ote control diagram to the mai n menu sc reen, which looks l ike this: The Encod e + Decod e demo all ows you to r ecord and p layback video. T he Enco de demo record s audio/spe ech an d video in th[...]

  • Page 25

    Runni ng the S tandalon e Demos Runnin g the Demons tration Softw are 3- 5 5) Use the le ft and right arr ows to cycle th rough the options until the setting y ou want is shown. 6) Pres s "Pla y" to begi n the Enco de+Decod e and Decod e demos. Press "R ec" (r ecord) twice to begin th e Encode demo. 7) Wh ile the d emo runs, da [...]

  • Page 26

    Runni ng the S tandalon e Demos 3-6 3.3.2 About the E ncode + Decode Demo The Encode + Dec ode demo al lows you to record an d playback video. Video comes from the ca mera, is enco ded, the n decoded , and then sent to the L DC displa y. The Enc ode + Dec ode does on ly vide o processi ng; it does not encod e and decod e audio or speech . The suppo[...]

  • Page 27

    Runni ng the S tandalon e Demos Runnin g the Demons tration Softw are 3- 7 3.3.3 About the E ncode Demo Like the Encode + Deco de dem o, the En code dem o also e ncode s video . In addit ion, it also encodes s peech. The spe ech sour ce is the microp hone. The enc oded data is written to files on the EV M’s hard dis k drive. Th e possible fi lena[...]

  • Page 28

    Runni ng the S tandalon e Demos 3-8 The appli cation runs on the ARM using Linux. The vide o and audio signals are passed to e ncoders on the DSP b y the Codec Engine. S hared memory is used whe n passing data. T o use th is demo from the comman d line, see S ection 3.4 , Running the Demos from t he Comm and Line . 3.3.4 About the D ecode Demo The [...]

  • Page 29

    Runn ing th e Dem os fro m th e C omman d Li ne Runnin g the Demons tration Softw are 3- 9 The su pported vid eo algor ithms are M PEG4 (.mp eg4 file extensio n), H.264 (.26 4 file ex tension) an d MPEG2 ( .m2v fil e extension). The su pported a udio algor ithm is AA C (.aac file extens ion). Th e support ed speec h algorithm is G .71 1 (.g71 1 fil[...]

  • Page 30

    Runni ng the Demos from the Comma nd Line 3-10 3) Mo ve to the ap propriate directo ry on the target using the followin g comm and. (See Se ction 4.1.1 for the meanin gs of com mand pro mpts shown in this docume nt.) Target $ cd /opt/dvsdk/dm6446 4) Be fore runni ng demo applica tions fr om the comma nd line, the CME M and acc elerator k ernel modu[...]

  • Page 31

    Runnin g the Ne twork Dem o Runnin g the Demons tration Softw are 3-1 1 3.5 Running the Network Demo As an ex ample of standa rd TCP/IP n etworking s upport, the DVEVM example s include a small HTTP web ser ver . This web s erver is started on the GPP-si de as part of the Linux startup sequenc e. It configured to service requests from web brows ers[...]

  • Page 32

    3-12[...]

  • Page 33

    4-1 Chap ter 4 DVEVM Software Setup This cha pter explains how to use t he software pr ovided with the DVEV M kit. 4.1 Software Overvi ew . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 – 2 4.2 Preparing to Ins tall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 – 5 4.3 Installing[...]

  • Page 34

    Software Overvie w 4-2 4.1 Softw are O verview T o begin deve loping a pplications , you need to install the DVE VM develop ment envi ronment. Th is chapt er outline s the st eps required t o load the DVE VM so ftware onto the de velop ment hos t. Y ou will ne ed the distributi on disk s or the fil es they contain to get started. The DaVinci s oftw[...]

  • Page 35

    Sof t ware Ov ervie w DVEVM Software Setu p 4-3 T exas In struments, in agreement with Mo ntaVist a Softwar e Inc., is provid ing a dem ons trati on versio n of th e Li nux Prof es si ona l E dit ion v5.0 embedded operatin g system a nd developm ent tools . The base DVEVM kit incl udes thi s demon stra tion ver sio n. The demo ve rsi on is a sub se[...]

  • Page 36

    Software Overvie w 4-4 4.1.2 Software Component s The foll owing figure s hows the s oftware co mponents used for applica tion develop ment with th e DVEVM kit : In the pr evious fi gure, you r appli cation r uns on the ARM subsyste m. It handles I/O and app licatio n process ing. T o proc ess video , image, speech, an d audi o signa ls it u se s t[...]

  • Page 37

    Prepar i ng t o Insta ll DVEVM Software Setu p 4-5 4.2 Preparing to Install On a host syst em, mount the DVEVM demonstra tion DVD an d copy the followin g files to a tempor ary locati on wit h at least 2.3 GB ava ilable space. Sinc e you ca n delete th e installati on files after installin g the software , a direct ory like /tmp is rec ommended . ?[...]

  • Page 38

    Inst alling the Sof tware 4-6 4.3.1 Install ing the Target Linux Software This sec tion expl ains how to ins tall Linux for us e on the target boa rd. This is a dem onstration v ersio n of MontaVista Linux Pr o v5.0. Note that separate version s of Linux ar e used by the targe t and your host Linux works tation. The fol lowing Lin ux host ope ratin[...]

  • Page 39

    Insta lli ng the Softw a re DVEVM Software Setu p 4-7 4.3.2 Install ing the DVSDK Software The DVSD K softwar e include s Codec En gine comp onents, DSP /BIOS Link, sa mple data file s, xDAIS and xDM heade r files, and a cont iguous memory allocator for Linux (CME M). Note: The in stallers for DSP /BIOS a nd Code Gener ation T oo ls (codege n) have[...]

  • Page 40

    Inst alling the Sof tware 4-8 When the i nstaller prom pts for an ins tallation locati on, do not us e the default locati on. Instead, us e the entire path to the dvsdk _#_# codeg en directo ry . Y ou w ill need to manua lly cr eate the folder cg6x_6_ #_#, wher e # repres ents part of the v ersion num ber . For example : /home/< useracct >/dv[...]

  • Page 41

    Insta lli ng the Softw a re DVEVM Software Setu p 4-9 4.3.4 Install ing the SoC Analyzer SoC An alyzer is a graphic al tool tha t runs on a Windows de velop ment host and uses data collect ed from Lin ux, DSP/BIO S, and Code c Engin e to provi de sys tem-level executio n and pe rformance analysi s for debugging and profiling DV EVM softwar e execut[...]

  • Page 42

    Inst alling the Sof tware 4-10 4) Pe rform the fol lowing co mmands to create a c opy of the target file system with perm issions set fo r writing to the shared a rea as <use racc t> . Subs titute yo ur user na me for <u sera cct> . If you installed in a loc ation other than /opt/ mv_pro_5.0, use you r location in the cp comm and. host [...]

  • Page 43

    Insta lli ng the Softw a re DVEVM Software Setu p 4-1 1 4.3.6 Testing t he Shared Fil e System T o test you r NFS setup, fo llow thes e steps: 1) G et the IP add ress o f your hos t Linux work stations as fo llows. L ook for the IP address a ssociated with the eth 0 Etherne t port. host $ /sbin/ifconfig 2) Open a terminal e mul ation win dow to c o[...]

  • Page 44

    Inst alling the Sof tware 4-12 See Se ction A. 4, Alternate B oot Methods for inform ation abou t booting with TFTP or NFS and using flash or the EVM’ s hard drive. 4.3.7 Configuring the Boot Setup for PAL Video Users Y ou ca n configur e the EVM to sele ct either the NTSC or P AL vide o standard du ring the d efau lt boot s equ enc e. T o sel ec[...]

  • Page 45

    Sett ing U p the B uild /Dev elo pm ent Envir onm ent DVEVM Software Setu p 4-13 These codecs ar e prov ided un der a " for demo nstration- only" license agreemen t. If you w ish to use t hese cod ecs in a pr oductio n develop ment environme nt, you c an go to the DVEV M Updates web site a t http://www .ti .com/dve vmupdates t o download [...]

  • Page 46

    Building a New Linux Ker nel 4-14 4) host $ arm_v5t_le-gcc hello.c -o hello Perfor m the f ollowing steps on the targe t boar d. Y ou may use either th e target's con sole window ( Section 2.2 ) or a t elnet sessi on. 1) target $ cd /opt/hello 2) Run ./hello. The output sh ould be: Buongiorno DaVinci! 4.5 Building a New Linux K ernel If you mo[...]

  • Page 47

    Bui lding a New Linux Kern el DVEVM Software Setu p 4-15 5) T o modi fy the kernel options, yo u will need to use a c onfigura tion comm and suc h a s " mak e m enu co nfi g" o r " ma ke xconf ig" . T o enable the MontaVista defaul t kernel opt ions, us e the follo wing com mand: host $ make ARCH=arm CROS S_COMPILE=arm_v5t_le- c[...]

  • Page 48

    Rebuildi ng the DVEVM Software fo r the T arget 4-16 4.6 Re building the DV EV M Software for the Target T o place demo files in the /o pt/dvsdk /dm6446 dir ectory , you need to rebuild the DVSDK s oftware. T o do this, follo w these st eps: 1) If y ou have not al ready done so , rebuild th e Linux kern el as descr ibed in Se ction 4.5. 2) Cha nge [...]

  • Page 49

    Boo ting t he Ne w Lin ux Ker n el DVEVM Software Setu p 4-17 5) Y ou can test the r ebuilt DVE VM softwa re by booting your NF S file system and running the demos from the command li ne as descr ibed in Se ction 3.4. 4.7 Booting the New Linux Kernel After bui lding the new ke rnel, in order to us e it to boot t he DaVinci boa rd, you must transfe [...]

  • Page 50

    T est ing th e Buil d Env ironm ent 4-18 4.8 Testing the Build Environment T o test your DVSDK so ftware installa tion, you can b uild one of the Codec Engin e servers. This se rver is a D SP-side a pplicati on. Building it tes ts the installatio n of DS P-side dev elopment componen ts. T o buil d the vide o_copy ser ver , foll ow these st eps: 1) [...]

  • Page 51

    Using th e Digital V ideo T est Bench (DVTB) DVEVM Software Setu p 4-19 3) Cop y th e binar ie s " dv tb-d" and "d vtb -r" to /op t/dv s dk /dm 6 446 on th e device ’s t ar get filesyste m and run it there. It must be in the same directo ry as the DS P exec utables. For furth er details on th e DVTB, see the fol lowing do cume[...]

  • Page 52

    Runni ng The SoC Analyzer 4-20 4.10 Running The SoC Analyzer Built up on T exas Instru ments' eXpress DSP data vis ualizat ion tech nology (DVT), the S oC Analyz er simplifies debugging, analysi s, and optimiza tion of DVEVM applica tions. It collects ex ecution, inte raction , and res ource utilizat ion logs from Linux, DSP/ BIOS, Codec Engin[...]

  • Page 53

    Doc umen tat ion f or DSP -Si de Dev elopm ent DVEVM Software Setu p 4-21 T o run the S oC Analy zer , double- click the S oC Analyz er icon on th e Windows Desktop or select i t from the Windows S t art menu u nder T exas Instru ments. The SoC An aly z er come s w ith onl in e he lp , whi ch c an be a cc es sed f rom the SoC Anal yzer Help m enu ([...]

  • Page 54

    Documen tation for D SP-Side Developmen t 4-22 Sec tion 4 .9, Usi ng th e Dig i- tal Video T est Be nch (DVTB) this do cument Codec Engin e Codec En gine Appli cation Develop er User's Guid e (SPRUE67) /home/< us eracct >/ dvsdk_# _#/codec _engine_# _#/doc s Codec En gine Serve r Integrator U ser's Guide (SPRUED5) /home/< us erac[...]

  • Page 55

    A-1 Appendix A Additional Procedures This a ppendix describes o ptional p rocedur es you may use dependin g on your s etup and s pecific needs. A.1 Changing the Video Input/Output Methods. . . . . . . . . . . . . . . . . . . . A – 2 A.2 Putting Demo App lications in the T hird-Party Menu . . . . . . . . . . . . A – 5 A.3 Setting Up a TFTP Serve[...]

  • Page 56

    Changing the Video Input/Output Me thods A-2 A.1 Changing the Video Input/Output Methods The EV M can inp ut video usi ng the fol lowing met hods: ❏ Composit e [defau lt] ❏ S-Video (bes t quality ) In additi on, there a re three types of video output: ❏ Composit e [defau lt] (lowest q uality) ❏ S-Video (medi um quali ty) ❏ Component (b es[...]

  • Page 57

    Changin g the Vide o Input/O utput Methods Addi tion al Pr ocedu res A-3 A.1.2 Using S-Video Output T o switch t o higher -quality S -Video output , follow the se steps: 1) Unp lug th e com posite vi deo c onn ec tor . Then , c on nec t yo ur S-Vide o connect or to the S-Video output po rt, which is to the right of the curre ntl y-us ed co mpo si t[...]

  • Page 58

    Changing the Video Input/Output Me thods A-4 A.1.3 Using Component Vi deo Output T o switc h to high est-quality compone nt video output, foll ow these ste ps: 1) Con nect your c omponent vide o connec tors to the con nectors in a square on the far left of the board. Ins tead of conne cting one conne ctor as wit h compos ite video , connec t the YP[...]

  • Page 59

    Putting Demo Appli ca tio ns in the Thi r d-Part y Men u Addi tion al Pr ocedu res A-5 A.2 Putting Demo Applications in the Third-Party Menu Y ou can add your o wn demos to the Third-Pa rty Menu by followin g the steps in this sec tion. Only fou r demos can be shown at once i n the user- interfac e. If you add more than four demos, the first four i[...]

  • Page 60

    Putting D emo Appl ications in th e Third-Party Me nu A-6 uses relati ve refer ences to ac cess the m. For examp le, the fol lowin g directo ry struc ture mig ht be used in the ar chive: |-- app.sh |-- data | |-- datafile1 | `-- datafile2 |-- logo.jpg `-- readme.txt T o check the format of the file you cr eate, execut e the follo wing comm and in L[...]

  • Page 61

    Setting Up a TFTP Server Addi tion al Pr ocedu res A-7 A.3 Setting Up a TFTP Server Y ou can check to see if a TFTP server i s set up with the foll owing comm and: host $ rpm -q tftp-server If it is n ot set up, you can foll ow these s teps: 1) If yo u have not ye t installed MontaVista Linux Dem o Edition (se e Section 4.3.1) , y ou ca n down lo a[...]

  • Page 62

    Alternate Boot Metho ds A-8 A.4 Alternate Boot Methods The defa ult conf iguration fo r the E VM is t o boot fr om flash wi th the fil e system on the EV M’s hard drive. The fol lowing are a lternate ways yo u may want t o boot th e board: ❏ TFTP b oot with hard drive file system (Section A .4.2) ❏ Flash boo t with NFS file s ystem (Sec tion [...]

  • Page 63

    Alternate Bo ot Methods Addi tion al Pr ocedu res A-9 T o boot in this mode, s et the follo wing parameters after y ou abort the automa tic boot seq uence: EVM # setenv bootcmd bootm 0x2050000 setenv bootcmd nboot 80700000 0 a0000;b ootm EVM # setenv bootargs video=davincifb:vid0=720x576x16, 2500K:vid1=720x576x16,2500K:osd0=720 x576x16,2025K davinc[...]

  • Page 64

    Alternate Boot Metho ds A-10 A.4.3 Booting fr om Flash Using NFS File System T o boot in this mode, s et the follo wing parameters after y ou abort the automa tic boot seq uence: EVM # setenv bootcmd 0x2050000 setenv bootcmd nboot 80700000 0 a0000;bootm EVM # setenv nf- shost < ip address of nfs host > EVM # setenv rootpath < directory to [...]

  • Page 65

    Rebuild ing DSP/BIOS L ink Addi tion al Pr ocedu res A-1 1 The < root di rector y to mount > m ust match the file syst em that yo u set up on your workstation . For exam ple, /home /< user acct > /wo rkdi r/fil esys . When you boot, look for the following lines that c onfirm t he boot mod e: TFTP from server 192.168.160.71; our IP addre[...]

  • Page 66

    Rest orin g and U pdatin g the E VM Ha rd Dis k Dri ve A-12 A.6 Restoring and Updating the EVM Hard Disk Driv e This sect ion describ es how to r estore and update all the files on the EVM hard dis k drive (H DD), incl uding the Linux file system and the dem os. Using thes e restore proc edures , you can retur n your boar d to a known state if anyt[...]

  • Page 67

    Restori ng and U pdating t he EVM Ha rd Disk Driv e Addi tion al Pr ocedu res A-13 For exam ple, y ou ca n create a ter minal s ession with Hy perT er minal or T eraT er m on MS W indows, and M inicom or C-Kermit o n Linux. 6) S tart an NFS server o n the hos t workstatio n. This d ocument assumes the host path / home/user /workdir/ filesys c ontai[...]

  • Page 68

    Rest orin g and U pdatin g the E VM Ha rd Dis k Dri ve A-14 A.6.3 Restore the EVM Hard Disk Drive The EVM hard dis k drive (HDD) ca n be restored from a t arget EVM HDD partition or fro m the host Li nux workstation file system. Either met hod will achiev e the same result. Restoring the EVM HD D takes 10 to 15 minute s. The re store scri pt must u[...]

  • Page 69

    Restori ng and U pdating t he EVM Ha rd Disk Driv e Addi tion al Pr ocedu res A-15 7) The s cript will ask for confirma tion: "Th is will destr oy all data on /dev/hda1 - are you sure?" T y pe yes . 8) Af ter the HDD restore is complete, s hutdown the EVM: EVM # halt 9) Wh en the "P ower dow n" mess age is pr inted in the termi [...]

  • Page 70

    Rest orin g and U pdatin g the E VM Ha rd Dis k Dri ve A-16 3) Go to the /rest ore direc tory . EVM # cd /restore 4) Se t the Linux date v ariable to today's date. If the date i s too far off, the target fil e system installation ge nerates warnings for each file it install s. EVM # date MMDDHHMMCCYY For examp le, for 9:00 am on April 18 th, 2[...]

  • Page 71

    Index--1 This is a draft version printed fro m file: davinci_gsgIX.fm on 12/18/08 Index A A/V files 4 -8 AAC audio 3- 9 applica tion 4-4 ARM9 1-3 arr ow but t ons 3-4 audio c ables 2-3 B battery 1- 4, 3-3 bin file s 4-6 BIOS_INST ALL_DIR envi ronment v ariable 4-16 block d iagram 1-4 boot con figurations A-8 flash with hard drive A-8 flash with NFS[...]

  • Page 72

    Index--2 Index BIOS_INS TALL_DIR 4 -16 FC_I NSTA LL_D IR 4-16 XDC_INSTALL_DIR 4- 1 6 ESD pr eca u tions 2-3 Ethe rnet 2- 4 setup 2-5 EVM # prom pt 2-6, 4-3 exampl es 3-2 exit de mo 3-5 expor ts fi le 4-1 0 F FC_I N STALL _DI R envi ronm ent va riabl e 4-1 6 file ex tensions 3-7, 3-9 file sy stem 4-9 video perf orm an ce 4 -9 files Deco de demo 3-8 [...]

  • Page 73

    Index--3 Index prompts 4-3 Q quit demo 3-5 R rebuildi ng DVEVM software 4-16 Linux k ernel 4-14 Record bu tton 3-5 Red Hat Enterprise Linux 4-6 remote con trol 1-3, 3-3 resettin g code 3-3 rest ore H DD A-12 Rules.m ake file 4-16 running app lic at ions 3-4 S s-bit A- 16 seria l cable 2-6 serial c o nnection 2-5 SoC Anal yzer 4-2, 4-9 software 4-2 [...]

  • Page 74

    Index--4[...]

  • Page 75

    [...]

  • Page 76

    Spectrum Digital, Inc. 5081 68-000 1C[...]