Hi, I will try to explain you how to get a .deb kernel image and headers. I'm french, and i'm trying to write correctly in english.
First, you have to install on your host the packages :
I'm using the eabi toolchain to compile my kernel and progs. You can find it there : http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite
Decompress and mv the directory somewhere in your host.
Now you have to download your kernel from kernel.org, and decompress it. Go into this directory and do :
make ARCH=arm menuconfig
At this step, you can configure all options you want (I advice you to get the .config of a running kernel on sheevaplug to configure easily your kernel).
Save your new configuration.
Now your can run the cmpiling process using :
make-kpkg --arch arm --cross_compile /usr/local/arm-2009q3/bin/arm-none-linux-gnueabi --initrd kernel_image kernel_headers
This line force the compilation to use the toolchain eabi and to create a linux-image and linux-headers .deb files
The option --initrd force to create a running initrd image.
BUT, the sheevaplug knows how to use uImage end uInitrd, so, you will need to create one manually (I didn't found hos to do this using make-kpkg).
To do this, you have to chroot on your arm arch on the host system, and install the .deb files.
After that, go into /boot and run :
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-2.6.32-zerros -d vmlinuz-2.6.32-zerros uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs -d initrd.img-2.6.32-zerros uInitrd
The command is :
mkimage -A arm -o linux -T <image type> -C <compression> -e <entry point necessary for nand to boot> -n <image name> -d <image file> <image to create>
If your sheevaplug already running, you can do all this step directly on the plug.
I'm trying to compile a deb package that integrate uImage and uInitrd.
If you have somme question, don't hesitate. I'll try to help you.