Building U-Boot; Building A New Linux Kernel - Texas Instruments OMAP-L137 EVM User Manual

Psp
Hide thumbs Also See for OMAP-L137 EVM:
Table of Contents

Advertisement

Building U-Boot

4.1

Building U-Boot

4.2

Building a New Linux Kernel

4-2
Follow these steps to compile U-Boot:
1) Go to the u-boot-1.3.3 directory created by the installation.
2) Run the following commands to build U-Boot:
make distclean
make da830_omapl137_config
make
The compiled u-boot.bin file will be created in the same directory.
The
U-Boot
build
include/configs/da8xx_evm.h, which is in the U-Boot source tree. You
can change the build options by editing this file and re-building the U-Boot
binary.
The following build options can be modified:
❏ Choice of flash supported:
■ CFG_USE_SPIFLASH. When this flag is defined, U-Boot
supports the SPI flash part on the OMAP-L137 EVM DSK board.
The environment variables are stored on SPI flash. This option is
switched on by default.
❏ Environment variable size configuration is through CFG_ENV_SIZE.
Please change this variable when you change the flash type.
❏ Environment
variable
CFG_ENV_OFFSET
The following are steps to compile the Linux Kernel:
1) Change Directory to Linux source obtained in the installation step.
2) Run the following commands
make distclean ARCH=arm CROSS_COMPILE=arm_v5t_le-
make da830_omapl137_defconfig ARCH=arm CROSS_COMPILE=arm_v5t_le-
make uImage ARCH=arm CROSS_COMPILE=arm_v5t_le-
3) The compiled uImage is copied into the arch/arm/boot directory
under the kernel tree.
options
are
specified
offset
configuration
in
the
include
file
is
through

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents