Rebuilding the DVEVM Software for the Target
4-16
4.6
Rebuilding 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
Summary of Contents for TMS320DM6446 DVEVM v2.0
Page 1: ...TMS320DM6446 DVEVM v2 0 Getting Started Guide Literature Number SPRUE66E December 2008...
Page 14: ...1 6...
Page 32: ...3 12...
Page 74: ...Index 4...
Page 75: ......