I've never tried just building one module without having support for it in the kernel. Try it and see.

That's the problem! I can't compile it since I can't get the source from the repos. When I try to compile anything really, I can't because I don't have the kernel source or headers (I guess they're omitted to make it smaller).

Now I'm trying to compile my own kernel, however I am stuck at the "make tools" step in including the uBoot binary. Ahhh linux, every time I have another go at you you make me want to kill you.

Linux - more fun than porn. At least with linux there is always something new.

Here's how I managed to build things. Feel free to skip the first three steps if you are already booting from nand.

1) If you aren't already booting into ubuntu (maybe you broke your plug when you opened the package like I did) get yourself booting to TFTP and NFS first using the uImage.sheeva.whateverdate kernel and the root package from the Linux Host tar. Make sure you put your kernel image and the jffs2 of the root into that root directory so they are available for the next step.2) flash_eraseall /dev/mtd1 flash_eraseall /dev/mtd2 nandwrite -pm /dev/mtd1 uImage.sheeva.whatever nandwrite -pm /dev/mtd2 root.jffs23) Now you can reboot and set your environment variables to boot from nand. Do it.

4) Since this is ubuntu, you need to apt-get a few things to build your environment properly. I suggest:apt-get install gcc make ncurses-dev ncurses-bin ncurses-base ncurses-term wgetalthough I might have missed a package or two there. You'll know what you need when one of the next steps complains.

5) Time to build u-boot. mkdir ~/tmp cd ~/tmp wget http://ftp://ftp.denx.de/pub/u-boot/u-boot-2009.03.tar.bz2 # rumor has it that a newer version supports the plug, but this is the one I've had the most success with. tar xvjf u-boot-2009-03.tar.bz2 cd u-boot-2009-03 touch include/config.{h,mk} make tools #this compilation will seem to fail, but it will produce mkimage for the next step cp tools/mkimage /usr/local/bin

6) I used kernel sources taken from this snapshot Just download the snapshot to /usr/src and untar it. It will expand to orion.git with all the kernel sources below it.

Reboot, but stop the boot process. You need to set/check 2 environment variables. mainlineLinux should be yes and arcNumber should be 2097. If they aren't set them. Once they are set and saved, reset the plug and it should boot your new kernel.

I'm not sure what the mainlineLinux variable is for exactly, but kernels I compile won't start without it. The included uImage.sheeva.20090319 won't start with it. Go figure.