various EP9301 kernels

Is anyone able to cross-compile a linux kernel other than the ones provided by Cirrus? I can get 2.4.21-cirrus and 2.6.8.1-cirrus running fine, but when I try the latest 2.6.18 kernel, which seems to have some EP93xx support, I invariably get errors…

I’m interested in the new kernel because it has SPI support, and I’d like to get access to the SD/MMC slot on the Olimex board.

If that involves patching together my own block driver, so be it, but I’d rather not reinvent (poorly) the SPI wheel.

You could try diffing the 2.6.8-cirrus kernel against the stock 2.6.8 kernel, and then applying the resulting patch to the more recent kernel.

I’ve been able to compile post 2.6.18 without problems. Make sure you’re using a sufficiently recent version of GDB, 3.4.3 should be the current minimum version.

There is no support for the EP93xx SPI in mainline as far as I know.

Regards,

Dominic

I don’t suppose you could post your .config somewhere?

I’ve put the .cfg and a patch that goes on top of the current git version at http://mmd.ath.cx/cs-e9301/

Currently, this just adds a configuration option for the CS-E9301 and enables the ethernet interface. Once the merge window for 2.6.20 opens, this patch will be submitted upstream.

The .config enables EABI, and you’ll need both an EABI compliant toolchain and an EABI rootfs. The kernel compiles fine without EABI, too, so you can disable it if you want.

Regards,

Dominic