Texas Instruments TMS320DM6467 DVEVM Getting Started Manual Download Page 66

Restoring and Updating the EVM Hard Disk Drive

A-10

A.5.2

Restoring From Host Linux Workstation File System

Follow these steps to restore the HDD from the host Linux workstation
restore directory:

1) On your host workstation, copy the restore directory from the TI

DVSDK disk to /home/<

useracct

>/workdir/filesys/restore. After NFS

mounting this file system, this will appear as the /restore directory on
the EVM.

2) Login to the EVM as root.

3) Go to the /restore directory.

    EVM # 

cd /restore 

4) Set the Linux date variable to today's date. If the date is too far off,

the target file system installation generates warnings for each file it
installs.

    EVM # 

date MMDDHHMMCCYY 

For example, for 9:00 am on April 18th, 2006, enter 041809002006. 

5) Add execute permissions on the prep-hdd script. 

    EVM # 

chmod +x prep-hdd 

6) Run the prep-hdd script in the /restore directory. 

    EVM # 

./prep-hdd /restore

7) The script will ask for confirmation: "Are you sure you want to

partition and format /dev/hda?" Type 

yes

.

8) After the HDD restore is complete, shutdown the EVM:

    EVM # 

halt

 

9) When the "Power down" message is printed in the terminal window,

it is safe to power down the EVM. 

10) Restart the EVM and configure U-Boot to root mount via the local

HDD. Follow the steps in Section A.3.1, 

Booting from Flash Using the

EVM’s Hard Drive File System

.

Summary of Contents for TMS320DM6467 DVEVM

Page 1: ...TMS320DM6467 DVEVM v2 0 Getting Started Guide Literature Number SPRUF88E April 2009...

Page 2: ...e TI is not responsible or liable for any such statements TI products are not authorized for use in safety critical applications such as life support where a failure of the TI product would reasonably...

Page 3: ...UTORY 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 inde...

Page 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...

Page 5: ...e 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 LSP...

Page 6: ...s The Texas Instruments logo and Texas Instruments are registered trademarks of Texas Instruments Trademarks of Texas Instruments include TI DaVinci the DaVinci logo XDS Code Composer Code Composer St...

Page 7: ...d 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...

Page 8: ...9 4 10 Configuring and Compiling the Linux Performance Test Bench 4 20 4 11 Running The SoC Analyzer 4 21 4 12 Documentation for DSP Side Development 4 22 A Additional Procedures A 1 This appendix des...

Page 9: ...This chapter introduces the DVEVM Digital Video Evaluation Module kit 1 1 Welcome 1 2 1 2 What s in this Kit 1 2 1 3 What s on the Board 1 3 1 4 Registering the Software and Downloading Updates 1 4 1...

Page 10: ...e full set of MV Pro disks and a MV license is called a DVSPB DaVinci Software Product Bundle Your DVEVM kit contains the following hardware items Section 2 1 Setting Up the Hardware tells how to conn...

Page 11: ...components Figure 1 1 EVM Hardware Block Diagram For more information about the EVM hardware see the DaVinci EVM website at http support spectrumdigital com boards evmdm6467 ENET RJ45 PWR HP OUT LINE...

Page 12: ...ck Get Updates In addition to software updates you can download PDF documents about the software 1 5 What s Next To get started evaluating the DVEVM kit and developing applications for the DM646x begi...

Page 13: ...2 1 Chapter 2 EVM Hardware Setup 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 7 Topic Page...

Page 14: ...al For example if you do not need to use the serial cable skip that section 1 The EVM is sensitive to static discharges Use a grounding strap or other device to prevent damaging the board Be sure to c...

Page 15: ...ese switch settings which are shown in the following figure enable the following SPI boot mode EMIF A is 8 bit data bus for CS2 PCI pin multiplexing enabled on DM6467 DSP is booted via ARM processor 4...

Page 16: ...ill need to have an HD 720p video source connected to the EVM board s component input connectors 6 Connect your video display to the EVM board s component output video connectors J10 J11 and J12 using...

Page 17: ...Setting Up the Hardware EVM Hardware Setup 2 5 7 Connect an audio speaker to the headphone connector P4 8 Connect an audio source to the microphone connector P8...

Page 18: ...er on your video input and output devices 11 Connect the power cable to the EVM power jack on the board To be ESD safe plug in the other end of the power cable only after you have connected the power...

Page 19: ...2 Run a terminal session such as Minicom on Linux or HyperTerminal on Windows on the workstation and configure it to connect to that serial port with the following characteristics Bits per Second 115...

Page 20: ...2 8...

Page 21: ...ains 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 4 Running the Demos from...

Page 22: ...connected to the component input connectors 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 autom...

Page 23: ...ke sure an HD display is connected to the EVM board s component output connectors Note The demos do not currently support composite video output 3 The initial screen shows a diagram of the IR remote w...

Page 24: ...n be used to add additional demos see Section A 1 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 move to the s...

Page 25: ...hen you want to end or pause a demo The first time you press Stop you return to the settings screen Press Stop from the settings screen to go back to the main menu For information about running the in...

Page 26: ...o Since HD displays accept standard video input you should not need to modify your hardware setup to run this demo The Encode Decode does only video processing it does not encode and decode audio or s...

Page 27: ...d Line 3 3 3 About the Encode Demo Like the Encode Decode demo the Encode demo also encodes 720p video In addition it also encodes audio or speech The audio speech source is the microphone The encoded...

Page 28: ...by the Codec Engine Shared memory is used when passing data To use this demo from the command line see Section 3 4 Running the Demos from the Command Line Table 3 2 IR Remote Buttons for Encode Demo I...

Page 29: ...sk drive The decoded signals are sent to an HD display connected to the EVM board s component video output connectors The supported video algorithms are H 264 264 file extension and MPEG2 m2v file ext...

Page 30: ...4 3 1 Installing the Target Linux Software you can run the demo applications from the Linux shell in a terminal window connected to the EVM board s serial port These are the same demos described in S...

Page 31: ...the main menu Or use the following commands Target killall 9 interface 6 To see the command line options for the demos use one of the following commands with the h or help option Target encodedecode h...

Page 32: ...in menu of the A V demos You should see a web page similar to the following with information about DaVinci technology and the DVEVM software Use this web page to interact with the board and run the A...

Page 33: ...Build Development Environment 4 14 4 5 Building a New Linux Kernel 4 15 4 6 Rebuilding the DVSDK Software for the Target 4 17 4 7 Booting the New Linux Kernel 4 18 4 8 Testing the Build Environment 4...

Page 34: ...0 System Tools and Target File System The version provided with the DVEVM kit is the demonstration version It contains the following file mvl_5_0_ _demo_sys_setuplinux bin This installation file cont...

Page 35: ...ded but it is otherwise fully functional and useful for customers evaluating the DaVinci platform Also please note that this release does not include a MontaVista user license and no direct customer s...

Page 36: ...g drivers and timers CodecEngine Engine VID IMG SPH AUD VISAAPI VISA API VISA API I Node Image Task A Node Audio Task V Node Video Task S Node Speech Task DSKT2 DMAN3 ACPY3 RMAN Codec Engine Remote Se...

Page 37: ...CGT v bin disk 2 linux_performance_testbench_setup_ bin disk 2 Updates to these installers may be available on the TI DaVinci Software Updates website listed in Section 1 5 Ensure that an X graphical...

Page 38: ...g command This will be the directory into which you install the software host mkdir opt mv_pro_5 0 3 Execute each of the following bin files where _ _ _ is the current version number from the temporar...

Page 39: ...r DSP BIOS and Code Generation Tools codegen have a different default installation location However we strongly recommend that you change the default installation locations to place the components tog...

Page 40: ...sdk_ _ 5 Manually create the folder cg6x_6_ _ where represents part of the version number For example you might create the following folder home useracct dvsdk_ _ cg6x_6_0_16 6 Execute the Code Genera...

Page 41: ...y home useracct dvsdk_ _ For example host dm6467_codecs_setuplinux_ _ _ _ bin If you decide to install the codec servers elsewhere remember to update the CODEC_INSTALL_DIR location in Rules make 4 3 4...

Page 42: ...ost Linux workstation 2 Execute the following bin file where _ _ _ is the current version number from the temporary location to which you copied it This extracts the installer for the Linux Performanc...

Page 43: ...g in with a user account on the host Linux workstation 2 Perform the following commands to prepare a location for the MontaVista file system For example host cd home useracct host mkdir p workdir file...

Page 44: ...ct to the EVM board via RS 232 using the instructions in Section 2 2 If you have a Windows workstation you can use HyperTerminal If you have a Linux workstation you might use Minicom You may need to t...

Page 45: ...ot Methods for information about booting with TFTP or NFS and using flash or the EVM s hard drive 4 3 9 Notes on Using Evaluation Production Codecs As part of the DVSDK installation you received a num...

Page 46: ...a common bin PATH If you installed in a location other than opt mv_pro_5 0 use your own location in the PATH 3 Remember to use the following command after modifying your bashrc file host source bashrc...

Page 47: ...the PLATFORM variable in the Rules make file as described in Section 4 6 3 Use commands like the following to make a local working copy of the MontaVista Linux Support Package LSP in your home direct...

Page 48: ...module in menuconfig use the following commands to rebuild and install these modules host make ARCH arm CROSS_COMPILE arm_v5t_le modules host make ARCH arm CROSS_COMPILE arm_v5t_le INSTALL_MOD_PATH ho...

Page 49: ...ct dvsdk_ _ Modify the following variables as needed to match the locations of these components on your Linux host We recommend that these components be installed in the home useracct dvsdk_ _ directo...

Page 50: ...ironment 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 bootcmd...

Page 51: ...o the video_copy server directory home useracct dvsdk_ _ codec_engine_ _ examples servers video_copy to inspect the built server 4 9 Using the Digital Video Test Bench DVTB The Digital Video Test Benc...

Page 52: ...lowing documents Release Notes home useracct dvsdk_ _ dvtb_ _ _ docs dvtb_release_notes pdf User Guide home useracct dvsdk_ _ dvtb_ _ _ docs dvtb_user_guide pdf 4 10 Configuring and Compiling the Linu...

Page 53: ...es debugging analysis and optimization of DVEVM applications It collects execution interaction and resource utilization logs from Linux DSP BIOS Codec Engine and drivers and presents system level anal...

Page 54: ...ault The uImage must be rebuilt to enable logging 4 12 Documentation for DSP Side Development After you have installed the DVSDK software you can begin to create and modify DSP side applications for y...

Page 55: ...Build and Run Instructions home useracct dvsdk_ _ codec_engine_ _ examples build_instructions html Codec Engine API Reference home useracct dvsdk_ _ codec_engine_ _ docs html index html Codec Engine...

Page 56: ...4 24...

Page 57: ...es you may use depending on your setup and specific needs A 1 Putting Demo Applications in the Third Party Menu A 2 A 2 Setting Up a TFTP Server A 4 A 3 Alternate Boot Methods A 5 A 4 Rebuilding DSP B...

Page 58: ...he 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 demo executab...

Page 59: ...mand in Linux The result should say gzip compressed data file filename tar gz 3 Put your archive in the thirdpartydemos subdirectory of the target installation directory This is where the DVSDK softwa...

Page 60: ...from many locations on the Internet Search for tftp server 2 To install TFTP use this command where is the version number portion of the filename host rpm ivh tftp server rpm You should see the follow...

Page 61: ...teps 1 Power on the EVM 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 the following subsections for the b...

Page 62: ...h directory to mount EVM setenv bootargs console ttyS0 115200n8 noinitrd rw ip dhcp root dev nfs nfsroot nfshost rootpath nolock mem 120M davincihd_capture channel0_numbuffers 4 For example directory...

Page 63: ...UILDOS home useracct workdir lsp ti davinci linux 2 6 18_pro500 BASE_CGTOOLS opt mv_pro_5 0 montavista pro devkit arm v5t_le bin 2 Define the DSPLINK environment variable to be the absolute path to th...

Page 64: ...system see Section A 3 3 The EVM hard disk drive HDD can be restored from a target EVM HDD partition or from the host Linux workstation file system Either method will achieve the same result Restorin...

Page 65: ...hdd 7 The script will ask for confirmation This will destroy all data on dev hda1 are you sure Type yes 8 After the HDD restore is complete shutdown the EVM EVM halt 9 When the Power down message is...

Page 66: ...far off the target file system installation generates warnings for each file it installs EVM date MMDDHHMMCCYY For example for 9 00 am on April 18th 2006 enter 041809002006 5 Add execute permissions o...

Page 67: ...OM port 2 7 command line demos 3 10 command prompts 4 3 component video 2 4 3 3 composite video 3 3 console window 2 6 2 7 contents of kit 1 2 CPU load 3 5 D data files 4 9 DaVinci technology 1 2 Deco...

Page 68: ...ector 2 5 host prompt 4 3 I Info Select button 3 5 installation location 4 8 installing DVEVM software 4 7 hardware 2 2 Linux software 4 6 IR remote 1 2 2 6 3 3 resetting code 3 3 J JTAG 2 2 K kit con...

Page 69: ...zer 4 2 4 10 software 4 2 components 1 3 4 4 installing 4 6 Spectrum Digital website 1 3 standalone demos 3 2 static precautions 2 2 Stop button 3 5 T target prompt 4 3 terminal session 2 7 test progr...

Page 70: ...Index 4...

Page 71: ......

Page 72: ...Spectrum Digital Inc 509538 0001F...

Reviews: