Texas Instruments TMS320DM357 DVEVM v2.05 manual Building with DSPLink

Page 45

Building with DSPLink

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 variable as needed to match the location of XDCtools on your Linux host. We recommend that XDCtools be installed in the /home/<useracct>/dvsdk_#_# directory, but you may have installed it elsewhere.

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

5)You can test the rebuilt DVEVM software by booting your NFS file system and running the demos from the command line as described in Section 3.4.

4.7Building with DSPLink

The DSPLink build system now requires a GNU make version of 3.81 or greater. Currently, versions of GNU make that qualify are versions 3.81, 3.81beta1, 3.90, and 3.92. Red Hat Linux 3 and 4 usually have GNU make 3.80 pre-installed, which will not build DSPLink.

To work around this, either install and build a version of make 3.81+ or use the make 3.81beta1 distributed with XDCtools. The 3.81beta1 version of make is located in XDC_TOOLS_DIR/gmake.

See the DSPLink documentation for further information about building.

DVEVM Software Setup

4-15

Image 45
Contents TMS320DM357 Dvevm Getting Started Guide Important Notice Evaluation BOARD/KIT Important Notice FCC Warning About This Guide PrefaceTrademarks Contents Contents Dvevm Overview What’s in this Kit? DM357 What’s on the Board?What’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 Starting the Standalone Demos Default Boot ConfigurationStarting the Standalone Demos Starting the Standalone Demos Running the Standalone Demos Shutting Down the Demos About the Encode Demo About the Encode + Decode DemoIR Remote Buttons for Encode Demo IR Remote Buttons for Decode Demo About the Decode DemoRunning the Demos from the Command Line Running the Network Demo Page Dvevm Software Setup Software Overview Command Prompts in This Guide Software Components ApplicationPreparing to Install Installing the Target Linux Software Installing the SoftwareInstalling the Dvsdk Software Exporting a Shared File System for Target Access Installing the A/V Demo FilesSwitch user to root on the host Linux workstation EVM # setenv nfshost ip address of nfs host Testing the Shared File SystemInstalling the Software Writing a Simple Program and Running it on the EVM Setting Up the Build/Development EnvironmentBuilding a New Linux Kernel Compile the kernel using the following commandRebuilding the Dvevm Software for the Target Building with DSPLink EVM # setenv serverip tftp server ip address Booting the New Linux KernelUsing the Digital Video Test Bench Dvtb Page Additional Procedures Ntsc Changing the Video Input/Output MethodsPutting Demo Applications in the Third-Party Menu File filename.tar.gz You should see the following output Setting Up a Tftp ServerBooting from Flash Using Board’s Nand Flash File System Alternate Boot MethodsBooting from Flash Using NFS File System Booting via Tftp Using Board’s Nand Flash File SystemBooting via Tftp Using NFS File System Updating U-Boot Using U-Boot Updating/Restoring the BootloadersTo assign a dynamic address, use the following Updating/Restoring the Bootloaders Updating the Kernel Restoring the Nand FlashRestoring 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 NFS IndexIndex--2 Index--3 Spectrum Digital, Inc 511458-0001B