Linux kernel – Rainbow Electronics QIL-A9260-C11 User Manual

Page 6

Advertising
background image

Note: We used the DENX toolchain to built u-boot.You can download this cross-compilation

toolchain from the following adress:
ftp://mirror.switch.ch/mirror/eldk/eldk/3.1.1/arm-linux-x86/iso/arm-2005-03-06.iso

1.3. Linux Kernel

The linux kernel will be setup and built in the usual way.
First we 'll configure the kernel with the default configuration files.
There are 2 configuration files for the kernel:

qil-a9260_jffs2_defconfig

qil-a9260_cpio_defconfig

The first configuration file allows to built a kernel which mount the root file system from the
first nand flash partition (/dev/mtd1). The second one allows to built a kernel bound to a root
file system (cpio archive).

Here are the steps needed to compile the linux kernel.

cd LINUX_KERNEL_V2.6.21/

make qil-a9260_jffs2_defconfig or qil-a9260_cpio_defconfig

If you want to change the linux kernel configuration issue the following command:

make menuconfig

Once configured and saved, edit the makefile and specify the name of your cross-compiler.
Then issue the make command to built the kernel

make uImage

Datasheet GSG-00006-A01

6/34

Advertising