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

Models: TMS320DM6446 DVEVM v2.0

1 76
Download 76 pages 55.16 Kb
Page 47
Image 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

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