Intel I/O Processor manual Linux - Debian—Kernel

Models: I/O Processor

1 22
Download 22 pages 21 Kb
Page 14
Image 14
Linux - Debian—Kernel

Linux - Debian—Kernel

Kernel

5

 

 

The next step is to build an appropriate kernel. IOP Kernel patches are available at http:// sourceforge.net/projects/xscaleiop/. Grab the latest 2.6 kernel patch, and the corresponding kernel source tarball from http://www.kernel.org/.

The following commands will configure the 2.6.10 IOP kernel for an IQ80331 platform.

$ mkdir ~/work

$ cd ~/work

$ wget http://aleron.dl.sourceforge.net/sourceforge/xscaleiop/patch-2.6.10-iop1.bz2

$ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2

$ tar xjvf linux-2.6.10.tar.bz2

$ cd linux-2.6.10/

$ bzcat ../patch-2.6.10-iop1.bz2 patch -p1

$ make iq80331_defconfig

– substitute the board name here when it is not the IQ80331

When planning on installing Debian-ARM, it is necessary to add INITRD support to the kernel.

Note: INITRD support is only necessary for running the installer or when creating INITRD images. The default setup does not require INITRD support in the kernel so once the base installation is complete, it is possible to remove INITRD support from the kernel

$ make menuconfig

Scroll down to “Block Devices” and press Return.

Scroll down to “Initial RAM disk (initrd) support” and press the space bar until it is selected with an '*'.

At this point it is necessary to enable other drivers that might be needed.

Exit all the way out of the menuconfig and save the new kernel configuration.

Now build the kernel

$ make zImage

With a multiprocessor system, increase the speed of the kernel build by allowing make to issue multiple jobs at one. A 4-processor system has run;

$ make -j 4 zImage

Now copy the kernel to the TFTP directory

$ cp arch/arm/boot/zImage /tftpboot/zImage.iq80331

June 2005

Intel® I/O Processors

Linux-Debian Installation Guide

14

Order Number: 306507001US

 

Page 14
Image 14
Intel I/O Processor manual Linux - Debian—Kernel