
Rebuilding the DVEVM Software for the Target
4-12
4.5
Rebuilding the DVEVM Software for the Target
To place demo files in the /opt/dvevm directory, you need to rebuild the
DVEVM software. To do this, follow these steps:
1) Change directory to ~/dvevm_#_##.
2) Edit the ~/dvevm_#_##/Rules.make file. Make sure that EXEC_DIR
points to the opt directory on the NFS exported file system as follows
and that LINUXKERNEL_INSTALL_DIR is defined as follows:
EXEC_DIR=/home/<
useracct
>/workdir/filesys/opt/dvevm
LINUXKERNEL_INSTALL_DIR=/opt/mv_pro_4.0/montavista/pro/devkit/lsp/ti-davinci
3) While in the same directory that contains Rules.make, use the
following commands to build the DVEVM product and put the
resulting binaries on the target file system (for example, /opt/dvevm).
host $
make
host $
make install
4.6
Building a New Linux Kernel
If you modify the target’s Linux kernel sources, you will need to rebuild it
and then boot it up by either replacing the kernel that comes installed on
the DVEVM board’s flash or by having the U-Boot utility use TFTP to boot
the kernel over a network connection.
Make sure you have completed Section 4.4,
Program and Running it on the DVEVM
before attempting to build a new
kernel. You must at a minimum have the MontaVista tools in your path:
PATH="/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin:
/opt/mv_pro_4.0/montavista/pro/bin:$PATH"
To rebuild the Linux Kernel, follow these steps:
1) Log in to your user account (not as root).
2) Use commands like the following to make a local working copy of the
MontaVista Linux Support Package (LSP) in your home directory.
This copy contains the embedded Linux 2.6.10 kernel plus the
DaVinci drivers. If you installed in a location other than
/opt/mv_pro_4.0, use your location in the cp command.
host $
cd ~
host $
mkdir -p workdir/lsp
host $
cd workdir/lsp
host $
cp -R /opt/mv_pro_4.0/montavista/pro/devkit/lsp/ti-davinci .
Summary of Contents for DVEVM
Page 1: ...DVEVM Getting Started Guide Literature Number SPRUE66A August 2006...
Page 14: ...1 6...
Page 70: ...Index 4...