Skip to main content.

%CONTENTS{topic=LinuxConfiguration}%

No WebOrder in this web Embedded Linux Configuration

No WebOrder in this web Download and Unpack the Linux Kernel Sources

You can download the Linux Kernel Sources from our anonymous CVS server at http://www.denx.de. To checkout the module for the first time, proceed as follows:

bash$ cd /opt/eldk/usr/src
bash$ cvs -d :pserver:anonymous@www.denx.de:/cvsroot login
[Press return when asked for a password]
bash$ cvs -z6 -d :pserver:anonymous@www.denx.de:/cvsroot co -P foo
bash$ cd foo

You can download the Linux Kernel Sources from our anonymous git server at http://www.denx.de/cgi-bin/gitweb.cgi. To checkout the module for the first time, proceed as follows:

bash$ cd /opt/eldk/usr/src
bash$ cg-clone http://www.denx.net/git/linux-2.6.git linux-2.6
bash$ cd linux-2.6

No WebOrder in this web Kernel Configuration and Compilation

The %BOARDNAME% board is fully supported by DENX Software Engineering. This means that you will always be able to build a working default configuration with just minimal interaction.

Please be aware that you will need the ppc cross development tools for the following steps. Make sure that the directory which contains the binaries of your ELDK? are in your PATH.

To be sure that no intermediate results of previous builds are left in your Linux kernel source tree you can clean it up as follows:

bash$ make mrproper

The following command selects a standard configuration for the %BOARDNAME% board that has been extensively tested. It is recommended to use this as a starting point for other, customized configurations:

bash$ make ARCH=%ARCH% CROSS_COMPILE=%CROSS_COMPILE% %BOARD%_defconfig

Note: Included topic DULGData.BOARDLinuxConfig? does not exist yet

TIP Note: The name of this default configuration file is . By listing the contents of the directory you can easily find out which other default configurations are available.

If you don't want to change the default configuration you can now continue to use it to build a kernel image:

bash$ make ARCH=%ARCH% CROSS_COMPILE=%CROSS_COMPILE% uImage

Otherwise you can modify the kernel configuration as follows:

bash$ make ARCH=%ARCH% CROSS_COMPILE=%CROSS_COMPILE%  config

or

bash$ make ARCH=%ARCH% CROSS_COMPILE=%CROSS_COMPILE%  menuconfig

ALERT! Note: Because of problems (especially with some older Linux kernel versions) the use of "make xconfig" is not recommended.

The make target uImage uses the tool mkimage (from the U-Boot package) to create a Linux kernel image in which is immediately usable for download and booting with U-Boot.

In case you configured modules you will also need to compile the modules:

make ARCH=%ARCH% CROSS_COMPILE=%CROSS_COMPILE% modules

add install the modules (make sure to pass the correct root path for module installation):

bash$ make ARCH=%ARCH% CROSS_COMPILE=%CROSS_COMPILE% INSTALL_MOD_PATH=%ROOTPATH% modules_install

No WebOrder in this web Installation

For now it is sufficient to copy the Linux kernel image into the directory used by your TFTP server:


Attachment sortdown Action Size Date Who Comment
locales manage 0.7 K 20 Jan 2006 - 13:08 FrankLichtenheld Just a useless file to test attachments
README manage 0.2 K 20 Jan 2006 - 13:14 FrankLichtenheld Just a useless file to test attachments