Texas Instruments TMS320DM6446 DVEVM v2.0 manual Rebuilding DSP/BIOS Link

Page 65

Rebuilding DSP/BIOS Link

The <root directory to mount> must match the file system that you set up on your workstation. For example, /home/<useracct>/workdir/filesys.

When you boot, look for the following lines that confirm the boot mode:

TFTP from server 192.168.160.71; our IP address is 192.168.161.186

Filename 'library/davinci/0.4.2/uImage'.

...

Starting kernel ...

...

VFS: Mounted root (nfs filesystem).

A.5 Rebuilding DSP/BIOS Link

If you want to rebuild the DSP/BIOS Link package, follow these steps (assuming you are using the bash shell):

1)Edit the davinci_mvlpro5.0.mk file, which is in the /home/<useracct>/dvsdk_#_#/dsplink_#/packages/dsplink/make/Linux/ directory, to make sure the BASE_BUILDOS and BASE_CGTOOLS variables correctly point to the correct locations. For example:

BASE_BUILDOS := /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 the "dsplink" directory. (Use export for bash shell, and setenv for tcsh shell.) For example:

host $ export DSPLINK=/home/<useracct>/dvsdk_#_#/dsplink_#/packages/dsplink

3)Move to the Linux build script directory:

host $ cd $DSPLINK/etc/host/scripts/Linux

4)Build DSP/BIOS Link as follows:

host $ sh –f buildmodule.sh

5)The rebuilt kernel module is called dsplinkk.ko. It is located in the $DSPLINK/gpp/export/BIN/Linux/Davinci/DM6446/RELEASE/ directory.

Additional Procedures

A-11

Image 65
Contents TMS320DM6446 Dvevm Getting Started Guide Important Notice Evaluation BOARD/KIT Important Notice FCC Warning About This Guide PrefaceNotational Conventions Contents Contents Dvevm Overview Welcome What’s in this Kit? What’s on the Board? EVM Hardware Block DiagramWhat’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 Starting the Standalone Demos Default Boot ConfigurationStarting the Standalone Demos Running the Standalone Demos Shutting Down the Demos IR Remote Buttons for Encode + Decode Demo About the Encode + Decode DemoIR Remote Buttons for Encode Demo About the Encode DemoAbout the Decode Demo About the Third Party Menu Running the Demos from the Command LineTarget $ cd /opt/dvsdk/dm6446 Running the Network Demo Page Dvevm Software Setup Software Overview Command Prompts in This Guide Dmai Software ComponentsInstalling the Software Preparing to InstallInstalling the Target Linux Software Installing the Dvsdk Software Installing the A/V Demo Files Exporting a Shared File System for Target Access Installing the SoC AnalyzerVerify that the server firewall is turned off EVM # setenv nfshost ip address of nfs host Testing the Shared File SystemConfiguring the Boot Setup for PAL Video Users Writing a Simple Program and Running it on the EVM Setting Up the Build/Development EnvironmentBuilding a New Linux Kernel Enable Linux Trace Toolkit Support as built-in Rebuilding the Dvevm Software for the Target EVM # setenv serverip tftp server ip address Booting the New Linux KernelUsing the Digital Video Test Bench Dvtb Testing the Build EnvironmentRelease Notes User Guide Running The SoC Analyzer Documentation for Dvsdk Components Documentation for DSP-Side DevelopmentXDAIS-DM Digital Additional Procedures Changing the Video Input/Output Methods Using S-Video InputOUT Using S-Video OutputPr Pb Using Component Video OutputPutting 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 the EVM’s Hard Drive File System Alternate Boot MethodsBooting via Tftp Using the EVM’s Hard Drive File System Booting via Tftp Using NFS File System Booting from Flash Using NFS File SystemRebuilding DSP/BIOS Link Restoring and Updating the EVM Hard Disk Drive System SetupConfigure EVM for NFS Root Mount Restoring From Target EVM HDD Partition Restore the EVM Hard Disk DriveRestoring From Host Linux Workstation File System Go to the /restore directory Index Index--2 Index--3 Index--4 Page Spectrum Digital, Inc 508168-0001C