Texas Instruments TMS320DM357 DVEVM v2.05 manual

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

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Texas Instruments TMS320DM357 DVEVM v2.05. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoTexas Instruments TMS320DM357 DVEVM v2.05 vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Texas Instruments TMS320DM357 DVEVM v2.05 você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Texas Instruments TMS320DM357 DVEVM v2.05, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Texas Instruments TMS320DM357 DVEVM v2.05 deve conte:
- dados técnicos do dispositivo Texas Instruments TMS320DM357 DVEVM v2.05
- nome do fabricante e ano de fabricação do dispositivo Texas Instruments TMS320DM357 DVEVM v2.05
- instruções de utilização, regulação e manutenção do dispositivo Texas Instruments TMS320DM357 DVEVM v2.05
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Texas Instruments TMS320DM357 DVEVM v2.05 não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Texas Instruments TMS320DM357 DVEVM v2.05 e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Texas Instruments na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Texas Instruments TMS320DM357 DVEVM v2.05, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Texas Instruments TMS320DM357 DVEVM v2.05, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Texas Instruments TMS320DM357 DVEVM v2.05. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    Printed on Recycled P aper TMS320DM357 DVEVM v2.05 Getting S t arted Guide Literature Number: SPRUGH0 December 2008[...]

  • Página 2

    IMPORT ANT NOTICE T exas Inst rument s Incorporated and it s subsidiari es (TI) reserve the right to make corre ctions , modific ations, enhanc ements , improv ements , and ot her chang es to it s product s and services a t any time and to discontinue any produ ct or servi ce with out not ice. Cus tomers s hould obt ain the latest relevant infor ma[...]

  • Página 3

    EV ALUA TION BOARD/KIT IMPORT ANT NOTICE T exas Ins trument s (TI) provides the enclo sed p roduct( s) under th e follo wing co nditions : This eva luation boa rd/kit is inte nded for us e for ENG INEERING DEVELOPMENT , DEM ON- STRA TION, OR EV ALUA TION PURPOSES ONL Y and is not considered by TI to be a finished end- product fit for gene ral consu[...]

  • Página 4

    FCC W arning This eva luation boa rd/kit is inte nded for us e for ENG INEERING DEVELOPMENT , DEM ON- STRA TION, OR EV ALUA TION PURPOSES ONL Y and is not consid ered by TI to be a finishe d end- product fit for gen eral consumer us e. It genera tes, uses, an d can radiate rad io frequen cy ener gy and has not been test ed for com pliance w ith the[...]

  • Página 5

    v This is a draft version printed from file: pref.fm on 12/15/08 Preface About This Guide The DVE VM (D ig ital Video Ev al uat ion Mo dul e) i s an e valua tio n platf orm that showc ases the DaVinci archi tectu re and le ts users evalua te the power and perform ance of Da Vinci as a M ultimedi a engi ne. This guide gives yo u overvi ew inform ati[...]

  • Página 6

    vi T ra demarks Tradema rks The T exa s Instru ments log o and T exas Instrum ents are register ed trademar ks of T exas Instrum ents. T rademark s of T ex as Instr uments include : TI, DaVinci, th e DaVinci logo, XDS , Code Composer , Code Compo ser S tudio, Probe P oint, Code Explorer , DSP/BIOS, RTDX, Online DSP Lab, DaVinci, TMS320 , TMS320 C54[...]

  • Página 7

    vii This is a draft version printed fro m file: davinci_gsgTOC.fm on 12/15/08 Content s 1 DVEVM Ove rview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 This cha pter intr oduce s the DVE VM (Dig ital V ideo Eva luation M odule). 1.1 What’s in t his Kit? . . . . . . . . . [...]

  • Página 8

    Conten ts viii 4.4 Setting Up the Buil d/Develop ment Environm ent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 -12 4.4.1 Writing a Simple Pr ogram and Run ning i t on the EV M . . . . . . . . . . . . . . . . 4 -12 4.5 Building a New Linux Kernel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 9

    1-1 Chap ter 1 DVEVM Overview This cha pter intr oduces the DVE VM (Dig ital Video Eval uation Mod ule). 1.1 What’s in thi s Kit? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 – 2 1.2 What’s on the Board? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 – 3 1.3 What’s Next? . [...]

  • Página 10

    What’ s in thi s Kit? 1-2 1.1 What’s in this Ki t? Y our TM S230 DM35 7 DVEVM ki t co nta ins the foll owin g har dwar e it ems. Section 2.1, Settin g Up the Hardware tell s how to connec t these compo nents. ❏ EVM Board This boa rd contains a DaVinci TMS 320DM35 7 Digital Media System- on-Chip . ❏ Universal Power Supply . B oth U.S. and Eu[...]

  • Página 11

    What’ s on the Board ? DVEVM Overview 1-3 1.2 What’s on the Board? The EV M comes loade d with per iphera ls your m ultime dia ap plications may need to ma ke use of. The fol lo win g bl ock di agram sho ws th e maj or hardwar e compone nts. Figure 1–1 DM357 Hardware Blo ck Diagram For mor e inf ormation about the hardware, s ee t he Sp ectru[...]

  • Página 12

    What’ s Nex t? 1-4 1.3 What’s Ne xt? T o get started ev al uating t he DVEV M k it and d evelo pin g ap pli c ations for the DM357, begin b y using this Ge tting St arted guide. It will step yo u through connecti ng the hardware, testin g the sof tware, and begin ning t o develop appli cation s. When you ar e ready for mo re inform ation about [...]

  • Página 13

    2-1 Chap ter 2 EVM Hardware Setup This cha pter tell s you ho w to set up the EV M hardwar e. 2.1 Setting Up the Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 – 2 2.2 Connectin g to a Console Window . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 – 6 T opic Page[...]

  • Página 14

    Setting Up the Hardware 2-2 2.1 S et ti ng Up th e Har d w are T o set up the hardware provide d with the DV EVM k it, use the s teps that follow . Y ou may skip steps if you do not ne ed to acce ss a particul ar periphe ral. For examp le, if you do not need to use t he serial cabl e, skip that step. For referen ce, the numbers in the foll owing p [...]

  • Página 15

    Setting Up the Hardware EVM Hardware Setu p 2-3 1) On th e S3 mi ni-dip swi tch, ver ify that p ositions 1 through 4 are configur ed to boot fr om on-bo ard NAND as in the following f igure, where the black r ectangle is the sw itch loc ation. Also o n the S3 mi ni-dip swit ch, v erify that po sition 10 se lects th e correct v ideo for mat—NTSC o[...]

  • Página 16

    Setting Up the Hardware 2-4 3) Con nect your video dis play to the composit e video -out RCA conne ctor (J8) . 4) Con nect a v ideo so urce ( such a s a cam era or DVD play er) to th e composi te video- in RCA conne ctor (J12). Then power on your v ideo input and output dev ic es. Composite Vide o Out (J8) Composite Video In (J12)[...]

  • Página 17

    Setting Up the Hardware EVM Hardware Setu p 2-5 5) (Op tional) If you plan to us e the UART port for a c onsole win dow , conne ct the provid ed RS-2 32 nul l modem c able to the EV M UART port (P6) and to a CO M port o n your h ost Li nux workstatio n. 6) (Op tional) If y ou will be using an E thernet con nection, c onnect the provid ed Et he rnet[...]

  • Página 18

    Conne cting to a Console Wi ndow 2-6 9) Y ou should see the initial scree n of the demo s oftware on y our video display . Us e the IR remo te to run the software a s descr ibed in Chap te r 3. 2.2 Connecting to a Console Window Y ou c an open a conso le window that al lows you to watch an d interrup t EVM boot mess ages b y followi ng these steps:[...]

  • Página 19

    3-1 Chap ter 3 Running the Demonstration Software This chapte r explains how to run the softwar e demos pr ovided with the DVEVM kit. 3.1 Default Boo t Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 2 3.2 Starting the Stan dalone Demos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 2 3.3 Runni[...]

  • Página 20

    Defaul t Boot Config uration 3-2 3.1 Default Boot Configuration Out of the box, t he EVM bo ots from flash a nd starts the de mos automat ically af ter a few seco nds wh en you po wer u p the boar d. It d oes not require an NFS mount or a TFTP server to run the standard demos. Note: The defau lt U-Boot bootargs definitio n sets "ip= off",[...]

  • Página 21

    S tarti ng the S ta ndalone D emos Runnin g the De monstrati on Softwa re 3-3 ❏ Command line. Once yo u have co nnected the EV M to a worksta tion and ins talled the ne ces sar y so ftware ( as de scr ibe d i n S ecti on 4.3.1 , Installing th e T arg et Linux Software ), you ca n run the dem os from th e board’s Linux comman d line. For further[...]

  • Página 22

    S tarting the S tand alone Demos 3-4 Once th e EVM b oard has b ooted, your v ideo display sho uld show a pic ture of the r emote control . Y ou use t he IR remote to control the demos. The order of the buttons on the ac tual remo te may be di fferent from th e pictur e; if your remote look s different, find the buttons wi th the same labels o n yo[...]

  • Página 23

    Runni ng the S tanda lone Demos Runnin g the De monstrati on Softwa re 3-5 3.3 Running the Standalone Demos 1) Press "Play" or "OK" on the remote to move fro m the rem ote control diagram to the m ain menu s creen, which lo oks like t his: The Encod e + Decod e demo a llows y ou to rec ord and p layback video. T he En code d emo[...]

  • Página 24

    Runni ng the S tanda lone Demos 3-6 8) Thi s inform ation o verlays the video; as a r esult the vide o you see is darker than the actual video . T o hide the in formation dis play so that you can be tter see th e video, pr ess the "Inf o/Sele ct" button o n the IR remote. Y ou can change the tran sparency of the OSD (ov erlay) whil e runn[...]

  • Página 25

    Runni ng the S tanda lone Demos Runnin g the De monstrati on Softwa re 3-7 3.3.2 About the Encode + Decode Demo The Encode + Dec ode dem o allow s you to rec ord and pl ayback video. Video input comes f rom a sourc e, it is encode d, then deco ded, and sent to your video display . The Encode + D ecode does only vi deo proc essing ; it does not enco[...]

  • Página 26

    Runni ng the S tanda lone Demos 3-8 Note that you c an use only a speech encode r , not an aud io enco der . Th e support ed video alg orithms are H.264 (.264 exten sion) and MPEG4 (.mpeg4 fi le extens ion). The supported spe ech algor ithm is G . 71 1 (.g71 1 extension) . The appli cation ru ns on the ARM usi ng Linux. T he video and audio signals[...]

  • Página 27

    Runni ng the S tanda lone Demos Runnin g the De monstrati on Softwa re 3-9 3.3.4 About the Decode Demo Note: Y ou mus t run the En code de mo before y ou can run th e Decode demo unless you have placed app ropriately-na med audio and video files on the EVM’s NAND flash st orage device. If yo u see a messag e that sa ys " File Not Fo und"[...]

  • Página 28

    Runni ng the Demos from the C ommand Line 3-10 3.4 Running the Demos from the Command Line Y ou can run t he demo a ppl icati ons from the L inu x she ll i n a te rmin al window connec ted to the EVM board’s seri al port. These are the same demos de scribe d in Sec tion 3.2 , St arting the Standalone De mos . Before r unning d emo ap plica tions [...]

  • Página 29

    Runnin g the Ne twork Demo Runnin g the De monstrati on Softwa re 3-1 1 3.5 Running the Network Demo As an ex ample of s tandard TCP/ IP netwo rking supp ort, the DVE VM example s include a small HTT P web server . This web ser ver is started as part of t he Lin ux start up sequen ce. It configur ed to servic e reque sts from web b rowsers o n the [...]

  • Página 30

    3-12[...]

  • Página 31

    4-1 Chap ter 4 DVEVM Software Setup This chap ter explain s how to use the so ftware pro vided wit h the DVEVM . 4.1 Software Overvi ew . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 – 2 4.2 Preparing to Ins tall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 – 5 4.3 Installing t[...]

  • Página 32

    Software Overvie w 4-2 4.1 Soft ware O vervie w T o begin deve lopin g applicati ons, yo u need to install the DVEV M develop ment env ironmen t. This sec tion out lines the s teps requ ired to load the DVE VM so ftware onto the de velop ment hos t. Y ou will ne ed the distributi on dis ks or the files the y con tain to get starte d. The DaVinci s [...]

  • Página 33

    Sof t ware Overv iew DVEVM Software Setu p 4-3 T exas In struments, in agreement wi th MontaVista Software Inc., is provid ing a dem ons tr ation versio n of the Li nux Prof essi ona l E dit ion v5. 0 embedded operatin g system a nd developm ent tools . The base DVEVM kit inc ludes a demonstr ation vers ion. The demo v ersion i s a subs et of what [...]

  • Página 34

    Software Overvie w 4-4 4.1.2 Software Component s The foll owing figure s hows t he softwa re compo nents used for applica tion develop ment in the DVEVM kit: In the pr evious figure, every thing ru ns on the ARM. The app licatio n handles I/O and app lica tion proc essing. T o process video , image , speech, and audio sign als, it us es the VISA A[...]

  • Página 35

    Prepar i ng t o In stall 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 temp orary location with at least 1.2 GB a vailable space. Since y ou ca n dele te the in stallation fi les after ins talling the software , a direc tory li ke /tm p is recom mended . [...]

  • Página 36

    Inst alling the Software 4-6 4.3 Install ing t he So ftware Installing t he softwar e used by the DVE VM invo lves pe rformin g the followin g steps: ❏ Sec tion 4 .3.1 , Installing the T arget Linux Software ❏ Sec tion 4 .3.2 , Installing the DVSDK Software ❏ Sec tion 4 .3.3 , Installing the A/ V Demo Files ❏ Sec tion 4 .3.4 , Exporting a S[...]

  • Página 37

    Insta lli ng the Softw a re DVEVM Software Setu p 4-7 5) Unpack the tar file s (a s root) by usin g the fo llowin g com mands: host $ tar zxf mvltools5.0- ####### .tar.gz host $ tar zxf DaVinciLSP-#_#_#_#.t ar.gz This cr eates the MontaVista direct ory str ucture under th e /opt/mv_p ro _5.0 /mo ntavista/ direc tory . Note that u npacking th ese ta[...]

  • Página 38

    Inst alling the Software 4-8 Note: Y ou ca n uninstall these co mponents by using the rm -rf comm and on its dir ectory . Y ou shoul d ignore the uni nstall fil es crea ted b y th e ins tal ler . 4.3.3 Install ing the A/V Demo Files The fourth disk co ntains the A /V files u sed by the demos . Afte r followin g the in structi ons in th e previ ous [...]

  • Página 39

    Insta lli ng the Softw a re DVEVM Software Setu p 4-9 3) Swi tch us er to " root " on th e host Li nux wo rks tat io n. host $ su root 4) Pe rform the followin g comm ands to cr eate a cop y of the target file system with perm issions s et for writi ng to the shared a rea as <use racc t> . Substi tute your user na me for <u sera [...]

  • Página 40

    Inst alling the Software 4-10 4.3.5 Testing t he Shared Fil e System T o test you r NFS setup, fo llow th ese steps: 1) Ge t the IP add ress o f your hos t Lin ux work stations as fo llows. Look for the IP addres s associa ted with the eth0 E thernet po rt. host $ /sbin/ifconfig 2) Open a ter mi nal e mulati on win dow to c onne ct to the E VM bo a[...]

  • Página 41

    Insta lli ng the Softw a re DVEVM Software Setu p 4-1 1 4.3.6 Notes on Usi ng Evaluation/ Production Codecs As part of the DM357 DV SDK i nstallation, you rec eived a numbe r of codecs: ❏ Seque ntia l JP EG Deco der ❏ Seque ntia l JP EG Enc ode r ❏ MPEG4 Rest ric ted Simpl e Pr ofile Dec ode r ❏ MPEG4 Simple P rofile E ncoder ❏ H.264 Bas [...]

  • Página 42

    Sett ing U p th e B uil d/D evel opm ent E nvir onm ent 4-12 4.4 Setti ng Up the Build/Devel opment Environment T o set u p the devel opmen t and bu ild envi ronment, follow thes e ste ps: 1) Log in to your user ac count (and not as root) on the NF S host syste m. 2) Se t your P A T H so that the Mo ntaVista tool chain host tool s and cross compile[...]

  • Página 43

    Bui ldin g a Ne w Lin ux Ke rnel DVEVM Software Setu p 4-13 4.5 Building a New Linux Kernel If you mod ify the targe t’s Linux kernel sourc es, you will need to rebuil d it and then boot it u p by e ither r eplacin g the kerne l that c omes i nstalled o n the EVM boar d’s flash or by havi ng the U-Boot u tility use TFTP to boo t the kern el ove[...]

  • Página 44

    Rebuildi ng the DVEVM Software fo r the T arget 4-14 7) If th e kernel is configur ed with an y load able modul es (that is, sele cting <M> for a mod ule in menuco nfig) , use the fol lowin g commands to rebu ild an d install the se modul es: host $ make ARCH=arm CROSS_CO MPILE=arm_v5t_le- modules host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le[...]

  • Página 45

    Building w ith DSPLin k DVEVM Software Setu p 4-15 ■ Make su re LINU XKERNEL_ INST ALL_DIR i s defined as follow s: LINUXKE RNEL _INST ALL_DIR =/ho me/< userac ct >/work dir/l sp/t i-davin ci/li nux- 2.6.1 8 _p r o5 0 0 ■ Modify the following env ironme nt variab le as needed to m atch the locati on of XDCtoo ls on you r Linux h ost. We r[...]

  • Página 46

    Booting t he New Linux Ker nel 4-16 4.8 Booting the New Linux Kernel After bui ldin g the new kernel, in or der to us e it to b oot the Da Vinci board, you must tran sfer it to the board via TFTP . It is a ssumed you have complete d the s teps in Sec tion 4.5, Buil ding a New Lin ux Ker nel and th e boot file, uImage ha s been copie d to /tftpboot [...]

  • Página 47

    Using th e Digit al Video T est Bench (DVTB) DVEVM Software Setu p 4-17 4.9 Using the Digital Video Tes t Bench (DVTB) The Dig ital Video T est B ench (DV TB) is a Lin ux utility that wa s devel oped to execute end-to-end d ata flows using the DVSDK for any platfo rm. DVTB uses the Cod ec Engine VIS A APIs and Lin ux driver perip heral APIs to enco[...]

  • Página 48

    4-18[...]

  • Página 49

    A-1 Appendix A Additional Procedures This a ppendix descri bes opti onal p rocedur es you may u se de pendin g on your s etup and specif ic nee ds. A.1 Changing the Video Inpu t/Output Me thods. . . . . . . . . . . . . . . . . . . . A – 2 A.2 Putting Demo App lications in the Third-Pa rty Menu . . . . . . . . . . . . A – 3 A.3 Setting Up a TF T[...]

  • Página 50

    Changing the V ideo Input/Ou tput Me thods A-2 A.1 Changing the Vide o Input/Output Methods U-Boot re ads th e S 3 mi ni-dip switc h, posit ion 10 setting on bo ot-up and stores the results in the vi deostd environ ment variab le. As long as your U-Boot boo tcmd se ts the video output us ing the vide ostd variable ( as the example bootcmd s in Sect[...]

  • Página 51

    Putting Demo Appli ca tio ns in the Thi rd-Party Menu Addi ti onal P roc edur es A-3 A.2 Putting Demo Applications in the Third-Party Menu Y ou can add your o wn demo s to the T hird-Pa r ty Menu by following th e steps in this sec tion. Onl y four demos c an be show n at once in the u ser- interfac e. If you add more than four demos, the fir st fo[...]

  • Página 52

    Putting D emo Appl ications in th e Third-P arty Menu A-4 uses relati ve refer ences to ac cess the m. For examp le, the fol lowin g directo ry str ucture m ight b e used in the ar chive: |-- app.sh |-- data | |-- datafile1 | `-- datafile2 |-- logo.jpg `-- readme.txt T o check the format of the fi le you c reate, ex ecute the follo wing comm and in[...]

  • Página 53

    Setting Up a TFTP Server Addi ti onal P roc edur es A-5 A.3 Setting Up a TFTP Server Y ou can check to see if a TFTP serve r is set up with the following comm and: host $ rpm -q tftp-server If it is not s et up, you can fo llow t hese steps: 1) If yo u have not ye t installed MontaVista Linux Dem o Editi on (see Section 4.3.1) , y ou ca n down load[...]

  • Página 54

    Alternate Boot Metho ds A-6 A.4 Alternate Boot Methods The defa ult conf iguratio n for the EVM is to b oot fr om flash with th e file system on the board’s NAND flash. T he follo wing a re alter nate way s you may want t o boot th e board: ❏ TFTP boot with NAND fla sh file sy stem (Sectio n A.4.2) ❏ Flash boo t with NFS fil e system (S ectio[...]

  • Página 55

    Alternate Bo ot Method s Addi ti onal P roc edur es A-7 A.4.2 Booting via TFTP Using Board’s NAND Flash File System T o boot in thi s mode, s et the follo wing paramete rs after you a bort the automat ic boot s equence: EVM # setenv bootcmd 'dhcp;bootm' EVM # setenv bootargs console=ttyS0,115200n8 ip=dhcp root=/dev/mtdblock0 rw rootfsty[...]

  • Página 56

    Alternate Boot Metho ds A-8 When you boot, l ook for the followi ng lines that conf irm t he boot mode: ## Booting image at 80700000 ... ... Starting kernel ... ... VFS: Mounted root (nfs filesystem). A.4.4 Booting via TFTP Using NFS File System T o boot in thi s mode, s et the follo wing paramete rs after you a bort the automat ic boot s equence: [...]

  • Página 57

    Up da ting /R estori ng the Bootloa der s Addi ti onal P roc edur es A-9 A.5 Updating/Restoring the Bootloaders The DM357 EV M board contain s 2 GB of NAND flash memo ry . During the b oot pr ocess 64 M B of NA ND is used . Afte r bo oti ng, 2 GB are us ed for the file system. When the EV M board is reset, the RO M bootloade r (RBL) executes, initi[...]

  • Página 58

    Up dating/R estoring t he Bootloaders A-10 ■ T o assign a dynami c addres s, use the foll owing: EVM # dhcp EVM # setenv ipaddr < IP address returned by dhcp > 2) Set the TFTP server IP address: EVM # setenv serverip < TFTP server IP address > 3) Sa ve these se ttings to t he flash m emory: EVM # saveenv 4) Loa d U-Boo t. T o l oad U-[...]

  • Página 59

    Up da ting /R estori ng the Bootloa der s Addi ti onal P roc edur es A-1 1 A.5.2 Updating UBL a nd U-Boot Bootl oaders Using an Emulator and CCStudio If workin g U-Boot (or UBL) ima ges are no t present in fl ash, you wi ll need to restore thes e image s using Code Composer S tudi o (CCS tudio) and an emulator . Foll ow these s teps: 1) Fin d the N[...]

  • Página 60

    Restoring the NAND Flash A-12 A.6 Restoring the NAND Flash Y ou ca n re sto re th e con tents of t he DVS DK NA ND f las h me mory on th e EVM boar d via N FS (S ection A.6.2) o r via R AM Dis k and an SD c ard (Section A. 6.3). These conte nt s include the Li nux kernel and fil esystem and the d emo applicati on softwar e. Ho wever , you mus t fir[...]

  • Página 61

    Restoring the NAND Flash Addi ti onal P roc edur es A-13 A.6.2 Restoring t he NAND Flash Usi ng NFS Once yo u have load ed the kerne l binary to the correspon ding NAND partition as described in Sectio n A.6.1, you c an use NFS to po pulate the Y AFFS2 image (d m357_flas h_image_ #_#_#_# .tar) to the NAND partition. The Y AF FS2 image sh ould res i[...]

  • Página 62

    Restoring the NAND Flash A-14 A.6.3 Restoring t he NAND Flash Usi ng RAM Disk and a 2 GB SD Car d This pro cedure assum es the TFTP setup i n Section A.3 has been performed. Once yo u have loade d the kerne l binary to the correspon ding NAND partition as desc ribed i n Sect ion A.6. 1, you ca n load t he Ramdi sk imag e (ramdisk.gz) to the DDR me [...]

  • Página 63

    Restoring the NAND Flash Addi ti onal P roc edur es A-15 7) Exec ute the fo llowin g comm ands to mo unt the MM C/SD and NA ND partitions and popul ate the Y AFFS 2 imag e: EVM # mkdir /mnt/mmc EVM # mkdir /mnt/nand EVM # mount -t vfat /dev/mmcblk0 /mn t/mmc/ EVM # flash_eraseall /dev/mtd0 EVM # mount -t yaffs2 /dev/mtdblock0 /mnt/nand/ EVM # cd /m[...]

  • Página 64

    A-16[...]

  • Página 65

    Index--1 This is a draft version printed fro m file: davinci_gsgIX.fm on 12/15/08 Index A applica tion 4- 4 arr ow but to ns 3-5 audio 2-3 B battery 1- 3, 3-4 bin file s 4-6 block d iagram 1-3 boot con figurat ions A-6 flash with NAND flash A-6 flash with NFS A-7 NFS 4-10 standard 3-2 TFTP with NAND flash A-7 TFTP with NFS A-8 boot seq uence A-6 bo[...]

  • Página 66

    Index--2 Inde x Encod e demo 3-7 on dis ks 4-2 flash m emory boot config uration A-6, A-7 G G.711 s peech 3-8, 3-9 GNU make, version 4-15 H H.264 video 3-7, 3-8, 3-9 host $ prom pt 4-3 I Info/S ele ct button 3-6 insta lli ng DVEVM software 4-7 hardware 2-2 Linux sof tware 4-6 IR remote 1-2, 3-4 resettin g code 3-4 K kit conten ts 1-2 L Linux 4- 4 i[...]

  • Página 67

    Index--3 Index compon ents 1-2, 4-4 ins talli ng 4-6 speake r 2-3 Spectrum Digital websi te 1-3 standal one de mos 3-2 static precau tions 2-2 Ster eo L i ne In (P 3) 2-3 Stereo Lin e Out (P5) 2-3 Stop but t on 3- 6 SuSe Worksta tion 4-6 T target $ p rompt 4-3 term inal se ssi on 2-6 test program 4-12 TFTP boot config uration A-7, A-8 server A -5 t[...]

  • Página 68

    Spec trum Digi tal, In c. 51 1 458- 0001 B[...]