Texas Instruments DVEVM Скачать руководство пользователя страница 57

Alternate Boot Methods

Additional Procedures

A-13

For example, the environment variables set for this mode might be:

bootargs=mem=120M console=ttyS0,115200n8 root=/dev/hda1 rw 
noinitrd ip=dhcp

bootdelay=3

baudrate=115200

bootfile=library/davinci/0.4.2/uImage (NOT USED)

serverip=192.168.160.71 (NOT USED)

bootcmd=bootm 0x2050000

stdin=serial

stdout=serial

stderr=serial

ethaddr=00:0e:99:02:51:46

When you boot, look for the following line that confirms the boot mode:

## Booting image at 02050000 ...

A.5.2

Booting via TFTP Using Board’s Hard Drive File System

To boot in this mode, set the following parameters after you abort the
automatic boot sequence:

EVM # 

setenv bootcmd 'dhcp;bootm'

EVM # 

setenv bootargs mem=120M console=ttyS0,115200n8 

   root=/dev/hda1 rw noinitrd ip=dhcp

EVM # 

setenv serverip <

your_tftp_server_ip_address

>

EVM # 

setenv bootfile <

path_on_tftpserver

>/uImage

For example, the environment variables set for this mode might be:

bootargs=mem=120M console=ttyS0,115200n8 root=/dev/hda1 rw 
noinitrd ip=dhcp

bootdelay=3

baudrate=115200

stdin=serial

stdout=serial

stderr=serial

ethaddr=00:0e:99:02:51:46

serverip=xxx.xxx.xxx.xxx (

your tftp server

)

bootcmd=dhcp;bootm

bootfile=tftp_path/uImage

Содержание DVEVM

Страница 1: ...DVEVM Getting Started Guide Literature Number SPRUE66A August 2006...

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

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

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

Страница 5: ...initial getting to know you document for the DVEVM Other documents provide more in depth information See the DVEVM documentation index for a complete list of documents that have been included with the...

Страница 6: ...BIOS RTDX Online DSP Lab DaVinci TMS320 TMS320C54x TMS320C55x TMS320C62x TMS320C64x TMS320C67x TMS320C5000 and TMS320C6000 MS DOS Windows and Windows NT are trademarks of Microsoft Corporation UNIX is...

Страница 7: ...ng the Standalone Demos 3 2 3 3 Running the Standalone Demos 3 3 3 3 1 About the Encode Decode Demo 3 5 3 3 2 About the Encode Demo 3 6 3 3 3 About the Decode Demo 3 8 3 3 4 About the Third Party Menu...

Страница 8: ...es 4 14 A Additional Procedures A 1 This appendix describes optional procedures you may use depending on your setup and specific needs A 1 Running the Demos from the Command Line A 2 A 2 Changing the...

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

Страница 10: ...lution components tailored for efficient and compelling digital video and audio The intended audience is a user developing Linux based software on the DM644x ARM core The DVEVM does not expose the DSP...

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

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

Страница 13: ...ting the software and beginning to develop applications When you are ready for more information about DaVinci Technology and the DM644x architecture see the following DaVinci EVM Home at Spectrum Digi...

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

Страница 15: ...2 1 Chapter 2 DVEVM Hardware Setup This chapter tells you how to set up the DVEVM hardware 2 1 Setting Up the Hardware 2 2 2 2 Connecting to a Console Window 2 6 Topic Page...

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

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

Страница 18: ...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 DVEVM and to an Ethernet network port If you do...

Страница 19: ...or 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 Plug in the DVEVM board to a power supply 14 Power on the LC...

Страница 20: ...e between the serial port on the DVEVM and the serial COM port on a PC 2 Run a HyperTerminal session on the PC and configure it to connect to that serial port 3 When you power on the DVEVM you will se...

Страница 21: ...Software This chapter explains how to run the software demos provided with the DVEVM 3 1 Default Boot Configuration 3 2 3 2 Starting the Standalone Demos 3 2 3 3 Running the Standalone Demos 3 3 3 4 R...

Страница 22: ...d installed the necessary software as described in Section 4 3 1 Installing the Target Linux Software you can run the demos from the board s Linux command line as described in Section A 1 Running the...

Страница 23: ...itional demos see Section A 3 Putting Demo Applications in the Third Party Menu 2 Use the up and down arrows to change which demo is selected Then press OK or Play to switch to the selected demo You c...

Страница 24: ...e Info Select button on the IR remote You can change the transparency of the OSD overlay while running a demo by using the left and right arrows on the remote 9 Press Stop or Pause when you want to en...

Страница 25: ...code audio or speech The supported video algorithm is H 264 Baseline Profile 264 file extension Table 3 1 IR Remote Buttons for Encode Decode Demo IR Remote Button Mode Action Performed Up Down no act...

Страница 26: ...dio or speech The audio speech source is the microphone The encoded data is written to files on the DVEVM s hard disk drive The possible filenames are demo 264 demo mpeg4 demompeg4 g711 and demo264 g7...

Страница 27: ...Remote Buttons for Encode Demo IR Remote Button Mode Action Performed Up Down Setup Change option selection Left Right Setup Change setting of selected option Play Setup Switch to decode demo setup Re...

Страница 28: ...splay and speakers The supported video algorithms are MPEG4 mpeg4 file extension H 264 264 file extension and MPEG2 m2v file extension The supported audio algorithms are AAC aac file extension and MPE...

Страница 29: ...demo from the command line see Section A 1 3 Decode Demo Command Line 3 3 4 About the Third Party Menu The Third Party Menu can be used to add additional demos See Section A 3 Putting Demo Applicatio...

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

Страница 31: ...1 Software Overview 4 2 4 2 Preparing to Install 4 5 4 3 Installing the Software 4 6 4 4 Setting Up the Build Development Environment 4 11 4 5 Rebuilding the DVEVM Software for the Target 4 12 4 6 Bui...

Страница 32: ...ion software This is provided on the hard drive on the DVEVM The hard wired examples encode and decode audio video and speech Another demo shows the board s network capabilities See Section 3 2 Starti...

Страница 33: ...not include a MontaVista user license and no direct customer support warranty or indemnification from MontaVista Software Inc is provided You may choose to order the DVSDK which includes the productio...

Страница 34: ...e VID IMG SPH AUD VISA API VISA API Codec Engine Engine VID IMG SPH AUD Codec Engine Engine VID IMG SPH AUD VISA API VISA API VISA API VISA API Codec Engine Remote Server ARM Subsystem DSP Subsystem U...

Страница 35: ...stallation files after installing the software a directory like tmp is recommended mvl_setuplinux_ _ _ _ bin mvl_target_setuplinux_ _ _ _ bin mvl_lsp_setuplinux_ _ _ _ bin dvevm_setuplinux_ _ _ _ bin...

Страница 36: ...he target and your host Linux workstation The following Linux host operating systems are supported for use with the DVEVM Red Hat Enterprise Linux v3 Red Hat Enterprise Linux v4 SuSe v10 0 Workstation...

Страница 37: ...S Link sample data files xDAIS and xDM header files and a contiguous memory allocator for Linux CMEM Codec Engine provides a framework for creating and interacting with A V codecs running on the DSP v...

Страница 38: ...in the previous section follow these instructions to install the A V files 1 Go to the DVEVM directory that you set up previously For example host cd dvevm_1_xx 2 Mount the A V data CD and copy the f...

Страница 39: ...t chown R useracct opt 5 Edit the etc exports file on the host Linux workstation Add the following line for exporting the filesys area substituting your user name for useracct Use the full path from r...

Страница 40: ...S3 USER user bank of switches to On For NTSC set this switch to Off The switch causes the U Boot environment variable videostd to be set to pal or ntsc Using the videostd variable in the bootargs envi...

Страница 41: ...vista pro devkit arm v5t_le bin opt mv_pro_4 0 montavista pro bin opt mv_pro_4 0 montavista common bin PATH 4 4 1 Writing a Simple Program and Running it on the DVEVM Make sure you have performed the...

Страница 42: ...need to rebuild it and then boot it up by either replacing the kernel that comes installed on the DVEVM board s flash or by having the U Boot utility use TFTP to boot the kernel over a network connect...

Страница 43: ...efault kernel options use the following command host make ARCH arm CROSS_COMPILE arm_v5t_le checksetconfig 5 Compile the kernel using the following command host make ARCH arm CROSS_COMPILE arm_v5t_le...

Страница 44: ...wing environment variables This assumes you are starting from a default clean U Boot environment See Section 3 1 Default Boot Configuration for information on the U Boot default environment EVM setenv...

Страница 45: ...Demos from the Command Line A 2 A 2 Changing the Video Input Output Methods A 6 A 3 Putting Demo Applications in the Third Party Menu A 9 A 4 Setting Up a TFTP Server A 11 A 5 Alternate Boot Methods A...

Страница 46: ...aseline Profile 264 files Video MPEG4 mpeg4 files Video MPEG2 m2v files Speech G 711 g711 files Audio AAC aac files Audio MPEG1 Layer 2 mp2 files A 1 1 Encode Decode Demo Command Line This demo uses C...

Страница 47: ...peripheral device drivers to files Video and speech files are supported The files created are raw frames of encoded data with no headers Target encode options Options s speechfile Specify the filenam...

Страница 48: ...e following example uses H 264 video encode and G 711 speech encode Target encode v test 264 s test g711 You must supply at least a video or a speech file or both with appropriate extensions for the f...

Страница 49: ...causes the main demo interface to launch when this demo exits By default this is off h help Print this help message The following example uses MPEG2 video decode no speech or audio decode and quits af...

Страница 50: ...utputs However the cables in the DVEVM kit support only composite video You will need to get S Video or Component video cables from another source A 2 1 Using S Video Input To switch to higher quality...

Страница 51: ...utput port The DVEVM kit does not include an S Video cable In addition you will need a video display with an S Video input 2 On the kernel command line you can configure the DVEVM to select both NTSC...

Страница 52: ...kit does not include a 3 connector cable used for component YPrPb video In addition you will need a video display with component video inputs 2 On the kernel command line you can configure the DVEVM...

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

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

Страница 55: ...sion number portion of the filename host rpm ivh db ztree useracct tftp server rpm You should see the following output warning db ztree useracct tftp server rpm V3 DSA signature NOKEY key ID 4f2a6fd2...

Страница 56: ...one of these modes follow these steps 1 Power on the DVEVM board and abort the automatic boot sequence by pressing a key in the console window Section 2 2 2 Set the environment variables indicated in...

Страница 57: ...A 5 2 Booting via TFTP Using Board s Hard Drive File System To boot in this mode set the following parameters after you abort the automatic boot sequence EVM setenv bootcmd dhcp bootm EVM setenv boota...

Страница 58: ...ootargs console ttyS0 115200n8 noinitrd rw ip dhcp root dev nfs nfsroot nfshost rootpath nolock mem 120M For example the environment variables set for this mode might be bootdelay 3 baudrate 115200 bo...

Страница 59: ...h nolock mem 120M For example the environment variables set for this mode might be bootdelay 3 baudrate 115200 stdin serial stdout serial stderr serial ethaddr 00 0e 99 02 51 46 bootcmd dhcp bootm ser...

Страница 60: ...struments You must also have the Windows version of the MVL Target cross compilers that run on Windows to generate target side code To set up a Windows host for DaVinci development follow these steps...

Страница 61: ...ariables correctly point to the correct locations 2 Define the DSPLINK environment variable to be the absolute path to the dsplink directory Use export for bash shell and setenv for tcsh shell For exa...

Страница 62: ...een performed before you attempt to restore or update the hard disk drive 1 Inspect jumper J4 which is labeled CS2 SELECT Make sure FLASH is selected 2 Connect the Ethernet port of the host workstatio...

Страница 63: ...ure to replace the IP address 192 168 1 102 with the actual address of your host Linux workstation 5 Optional Print the U Boot parameters EVM printenv 6 Save the U Boot parameters EVM saveenv 7 Boot D...

Страница 64: ...t ext3 dev hda2 mnt restore 3 Set the Linux date variable to today s date If the date is too far off the target file system installation generates a bunch of warnings EVM date MMDDHHMMCCYY For exampl...

Страница 65: ...st Linux workstation restore directory 1 Login to the DVEVM as root 2 Go to the restore directory EVM cd restore 3 Set the Linux date variable to today s date If the date is too far off the target fil...

Страница 66: ...bsite To do this follow these steps 1 Download the latest DVEVM Software Update dvevm_setuplinux_ _ _ _ bin from the following location to your host file system https www a ti com extranet cm product...

Страница 67: ...line demos A 2 command prompts 4 3 component video A 6 A 8 composite video A 6 console window 2 6 contents of kit 1 3 CPU load 3 4 cross compiler A 16 D data files 4 8 DaVinci technology 1 2 community...

Страница 68: ...3 L LCD display 1 3 2 2 Link DSP BIOS 4 4 Linux 4 4 installing 4 6 kernel 4 12 versions supported 4 6 Linux Support Package 4 12 M microphone 1 3 2 4 Microsoft Windows 4 8 A 16 modules tar gz file 4...

Страница 69: ...e 1 4 standalone demos 3 2 static precautions 2 2 Stop button 3 4 SuSe Workstation 4 6 S Video A 3 A 4 A 6 input A 6 output A 7 T target prompt 4 3 test program 4 11 TFTP boot configuration A 13 A 15...

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

Отзывы: