Texas Instruments TMS320DM6446 DVEVM v2.0 manual Enable Linux Trace Toolkit Support as built-in

Page 47

Building a New Linux Kernel

5)To modify the kernel options, you will need to use a configuration command such as "make menuconfig" or "make xconfig". To enable the MontaVista default kernel options, use the following command:

host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- checksetconfig

6)If you want to enable Linux Trace for the SoC Analyzer, follow these substeps. Otherwise, skip to Step 7.

a)Use this command to go to the configuration menu for the ARM:

host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- menuconfig

b)Navigate to Device Drivers->Filesystems->Pseudo Filesystems.

c)Set Relayfs file system support to "built-in".

d)Return to the main menu and navigate to General Setup.

e)Enable Linux Trace Toolkit Support as "built-in".

f)Select Exit to save your changes and exit the configuration screen.

7)Compile the kernel using the following command:

host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage

8)If the kernel is configured with any loadable modules (that is, selecting <M> for a 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=/home/<useracct>/workdir/filesys modules_install

9)Use the following command to copy the uImage to a place where U- Boot can use TFTP to download it to the EVM. These commands assume you are using the default TFTP boot area, which is /tftpboot. If you use another TFTP root location, please change /tftpboot to your own TFTP root location. (Perform these commands as root or use a chown uImage command to get ownership of the file.)

host $ cp /home/<useracct>/workdir/lsp/ti-davinci/linux-2.6.18_pro500/arch/ arm/boot/uImage /tftpboot

host $ chmod a+r /tftpboot/uImage

For more information on setting up a TFTP server, see Section A.3.

See a standard Linux kernel reference book or online source for more about Linux build configuration options.

DVEVM Software Setup

4-15

Image 47
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