LINUX for OLIMEX CS-E9302 board

     Step by step how to configure and compile Linux kernel for OLIMEX CS-E9302 board

!!! Remember the procedure works for me, but if your cat will change in an elk, do not blame me for it.
You use information from this site at your own risk. !!!

First we need download Linux kernel (linux-2.6.24.7.tar.gz)  from
         http://www.kernel.org/pub/linux/kernel/v2.6/
and the patch from
          http://dev.ivanow.eu/projects/cs-e9302

www.micro-tech.com.pl
Microtech provides services in the areas of:
 
+ Programming microprocessors systems
 
+ Telemetry
 
+ Industrial Automation 
 
+ Embedded Systems
How to configure Linux for OLIMEX CS-E9302 board with EP9302 processor
For ARM cross compiler,we use ELDK toolkit.
You can download the ELDK for ARM ver 4.2 from ftp://ftp.denx.de/pub/eldk/4.2/arm-linux-x86/
Install the ELDK e.g.  in /opt/ELDK

Edit the file Makefile from linux-2.6.24.7 folder and replace

ARCH ?= $(SUBARCH)  with  ARCH ?= arm
and
CROSS_COMPILE ?=    with
CROSS_COMPILE = arm-linux-

Now we can configure and build the kernel.
It is good to create a script which set the environment properly and clean the previous compilation.
Save the script as make-kernel.sh in EP9302 folder.
From terminal run the script (./make-kernel.sh), after a while  you will get the configuration window.
Using the configurator, you can modify the properties of the kernel. For example you can add support for NFS server.
After succesfully compiling  the zImage (Linux kernel image) file  will be created in the directory "/linux-2.6.247/arch/arm/boot"

Now we can download the kernel image to the CS-E9302 board.
How to download the kernel to the CS-E9302 board ?