Texas Instruments TMS320DM6446 DVEVM v2.0 manual Rebuilding the Dvevm Software for the Target

Page 48

Rebuilding the DVEVM Software for the Target

4.6Rebuilding the DVEVM Software for the Target

To place demo files in the /opt/dvsdk/dm6446 directory, you need to rebuild the DVSDK software. To do this, follow these steps:

1)If you have not already done so, rebuild the Linux kernel as described in Section 4.5.

2)Change directory to dvsdk_#_#.

3)Edit the Rules.make file in the dvsdk_#_#. directory.

■ Set PLATFORM to match your EVM board as follows:

PLATFORM=dm6446

Set DVSDK_INSTALL_DIR to the top-level DVSDK installation directory as follows:

DVSDK_INSTALL_DIR=/home/<useracct>/dvsdk_#_#

Make sure EXEC_DIR points to the opt directory on the NFS exported file system as follows:

EXEC_DIR=/home/<useracct>/workdir/filesys/opt/dvsdk/$(PLATFORM)

Make sure MVTOOL_DIR points to the MontaVista Linux tools directory as follows:

MVTOOL_DIR=/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le

Make sure LINUXKERNEL_INSTALL_DIR is defined as follows:

LINUXKERNEL_INSTALL_DIR=/home/<useracct>/workdir/lsp/ti-davinci/linux-2.6.18_pro500

Modify the following environment 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_#_# directory, but you may have installed them elsewhere.

BIOS_INSTALL_DIR=/home/<useracct>/dvsdk_#_#/bios_#_#

FC_INSTALL_DIR=/home/<useracct>/dvsdk_#_#/fc_#_#

XDC_INSTALL_DIR=/home/<useracct>/dvsdk_#_#/xdctools_#_#

4)While in the same directory that contains Rules.make, use the following commands to build the DVSDK demo applications and put the resulting binaries on the target file system specified by EXEC_DIR.

host $ make clean

host $ make

host $ make install

4-16

Image 48
Contents TMS320DM6446 Dvevm Getting Started Guide Important Notice Evaluation BOARD/KIT Important Notice FCC Warning Preface About This GuideNotational Conventions Contents Contents Dvevm Overview Welcome What’s in this Kit? EVM Hardware Block Diagram What’s on the Board?What’s Next? Page EVM Hardware Setup Setting Up the Hardware EVM Hardware Setup Setting Up the Hardware Setting Up the Hardware Connecting to a Console Window Running the Demonstration Software Default Boot Configuration Starting the Standalone DemosStarting the Standalone Demos Running the Standalone Demos Shutting Down the Demos About the Encode + Decode Demo IR Remote Buttons for Encode + Decode DemoAbout the Encode Demo IR Remote Buttons for Encode DemoAbout the Decode Demo Running the Demos from the Command Line About the Third Party MenuTarget $ cd /opt/dvsdk/dm6446 Running the Network Demo Page Dvevm Software Setup Software Overview Command Prompts in This Guide Software Components DmaiPreparing to Install Installing the SoftwareInstalling the Target Linux Software Installing the Dvsdk Software Installing the A/V Demo Files Installing the SoC Analyzer Exporting a Shared File System for Target AccessVerify that the server firewall is turned off Testing the Shared File System EVM # setenv nfshost ip address of nfs hostConfiguring the Boot Setup for PAL Video Users Setting Up the Build/Development Environment Writing a Simple Program and Running it on the EVMBuilding a New Linux Kernel Enable Linux Trace Toolkit Support as built-in Rebuilding the Dvevm Software for the Target Booting the New Linux Kernel EVM # setenv serverip tftp server ip addressTesting the Build Environment Using the Digital Video Test Bench DvtbRelease Notes User Guide Running The SoC Analyzer Documentation for DSP-Side Development Documentation for Dvsdk ComponentsXDAIS-DM Digital Additional Procedures Using S-Video Input Changing the Video Input/Output MethodsUsing S-Video Output OUTUsing Component Video Output Pr PbPutting 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 the EVM’s Hard Drive File SystemBooting via Tftp Using the EVM’s Hard Drive File System Booting from Flash Using NFS File System Booting via Tftp Using NFS File SystemRebuilding DSP/BIOS Link System Setup Restoring and Updating the EVM Hard Disk DriveConfigure EVM for NFS Root Mount Restore the EVM Hard Disk Drive Restoring From Target EVM HDD PartitionRestoring From Host Linux Workstation File System Go to the /restore directory Index Index--2 Index--3 Index--4 Page Spectrum Digital, Inc 508168-0001C