
Building a New Linux Kernel
DVEVM Software Setup
4-15
Perform the following steps on the target board. You may use either the
target's console window (Section 2.2) or a telnet session.
1)
target $
cd /opt/hello
2) Run ./hello. The output should be:
Buongiorno DaVinci!
4.5
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 EVM 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 EVM
before attempting to build a new
kernel.
To rebuild the Linux Kernel, follow these steps:
1) Log in to your user account (not as root).
2) Set the
PLATFORM
variable in the Rules.make file as described in
3) 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.18 kernel plus the
DaVinci drivers. If you installed in a location other than
/opt/mv_pro_5.0, use your location in the cp command.
host $
cd /home/<
useracct
>
host $
mkdir -p workdir/lsp
host $
cd workdir/lsp
host $
cp -R /opt/mv_pro_5.0/montavista/pro/devkit/lsp/ti-davinci .
4) Use the following commands to configure the kernel using the
DaVinci defaults. Note that CROSS_COMPILE specifies a prefix for
the executables that is used during compilation:
host $
cd ti-davinci/linux-2.6.18_pro500
host $
make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm6467_defconfig
5) To modify the kernel options, you will need to use a configuration
command such as "make menuconfig" or "make xconfig". To verify
the MontaVista default kernel options, use the following command:
host $
make ARCH=arm CROSS_COMPILE=arm_v5t_le- checksetconfig
Содержание TMS320DM6467 DVEVM
Страница 1: ...TMS320DM6467 DVEVM v2 0 Getting Started Guide Literature Number SPRUF88E April 2009...
Страница 20: ...2 8...
Страница 56: ...4 24...
Страница 70: ...Index 4...
Страница 71: ......
Страница 72: ...Spectrum Digital Inc 509538 0001F...