In this tutorial, I'll quickly show you how easy it is to compile a kernel for the mini2440. If you haven't already installed git, you should do so now. In Ubuntu, you simply install the package git-core.
Setting up Your Toolchain
Follow the instructions from this tutorial.
http://billforums.station51.net/viewtopic.php?f=4&t=9
Obtaining the Correct Kernel Sources
In order for you to get a kernel thats patched for all the hardware on your Mini2440, you need to get the kernel sources from the correct place. While it's possible to simply go and download a kernel directly from kernel.org and cross compile it, you won't get the patches included with that for all the hardware on the Mini2440.
Create a directory for your source tree and change to it and use git to clone the repository.
$ git clone git://repo.or.cz/linux-2.6/mini2440.git
$ cd mini2440
