Texas Instruments TMS320DM357 DVEVM v2.05 manual Installing the Software

Page 36

Installing the Software

4.3Installing the Software

Installing the software used by the DVEVM involves performing the following steps:

Section 4.3.1, Installing the Target Linux Software

Section 4.3.2, Installing the DVSDK Software

Section 4.3.3, Installing the A/V Demo Files

Section 4.3.4, Exporting a Shared File System for Target Access

Section 4.3.5, Testing the Shared File System

4.3.1Installing the Target Linux Software

This section explains how to install Linux for use on the target board. This is a demonstration version of MontaVista Linux Pro v5.0.

Note that separate versions of Linux are used by the target and your host Linux workstation. The following Linux host operating system is tested with the DVEVM:

Red Hat Enterprise Linux v4 (Server Edition)

To install the Linux software, follow these steps:

1)Log in as root on your host Linux workstation. This will allow you to successfully run the graphical installer to install MontaVista Linux.

2)Execute each of the following bin files (where #_#_#_# is the current version number) from the temporary location that they were copied in order to extract the installers for the Linux tools, Linux kernel, and the file system. If a bin file does not run, make sure these files are executable (use chmod +x *.bin).

Instead of the default installation directory, we suggest that you change the installation folder to /opt/mv_pro_5.0 directory.

host $ ./mvl_5_0_demo_sys_setuplinux.bin

host $ ./mvl_5_0_0_demo_lsp_setuplinux_#_#_#_#.bin

3)After you execute these .bin files, make sure the following files are located in /opt/mv_pro_5.0 (or in the /mv_pro_5.0 subdirectory of the directory you chose in place of the default):

mvltools5.0-#######.tar.gz

DaVinciLSP-#_#_#_#.tar.gz

4)Go to the location where you will unpack the tar files. For example:

host $ cd /opt/mv_pro_5.0

4-6

Image 36
Contents TMS320DM357 Dvevm Getting Started Guide Important Notice Evaluation BOARD/KIT Important Notice FCC Warning Preface About This GuideTrademarks Contents Contents Dvevm Overview What’s in this Kit? What’s on the Board? DM357What’s Next? EVM Hardware Setup Setting Up the Hardware Audio In P3 Audio Out P5 Composite Video Out J8 Uart P6 Connecting to a Console Window Running the Demonstration Software Default Boot Configuration Starting the Standalone DemosStarting the Standalone Demos Starting the Standalone Demos Running the Standalone Demos Shutting Down the Demos About the Encode + Decode Demo About the Encode DemoIR Remote Buttons for Encode Demo About the Decode Demo IR Remote Buttons for Decode DemoRunning the Demos from the Command Line Running the Network Demo Page Dvevm Software Setup Software Overview Command Prompts in This Guide Application Software ComponentsPreparing to Install Installing the Software Installing the Target Linux SoftwareInstalling the Dvsdk Software Installing the A/V Demo Files Exporting a Shared File System for Target AccessSwitch user to root on the host Linux workstation Testing the Shared File System EVM # setenv nfshost ip address of nfs hostInstalling the Software Setting Up the Build/Development Environment Writing a Simple Program and Running it on the EVMCompile the kernel using the following command Building a New Linux KernelRebuilding the Dvevm Software for the Target Building with DSPLink Booting the New Linux Kernel EVM # setenv serverip tftp server ip addressUsing the Digital Video Test Bench Dvtb Page Additional Procedures Changing the Video Input/Output Methods NtscPutting Demo Applications in the Third-Party Menu File filename.tar.gz Setting Up a Tftp Server You should see the following outputAlternate Boot Methods Booting from Flash Using Board’s Nand Flash File SystemBooting via Tftp Using Board’s Nand Flash File System Booting from Flash Using NFS File SystemBooting via Tftp Using NFS File System Updating/Restoring the Bootloaders Updating U-Boot Using U-BootTo assign a dynamic address, use the following Updating/Restoring the Bootloaders Restoring the Nand Flash Updating the KernelRestoring the Nand Flash Using NFS Restoring the Nand Flash Using RAM Disk and a 2 GB SD Card EVM # tar xf /mnt/mmc/dm357flashimage####.tar EVM # cd Page Index NFSIndex--2 Index--3 Spectrum Digital, Inc 511458-0001B