Because I heard rumors of improved kernel LZO performance in 3.3, and known improvements in udlfb perf in 3.3 I've decided to try and get the latest kernel running on my GFN.
Starting with the existing core/linux PKGBUILD and tweaking it to pull down 3.4 and patch as is failed miserably:
http://pastie.org/3958914
The first error is in arch/arm/mach-kirkwood/mpp.h
The patch:
$this->bbcode_second_pass_code('', '--- arch/arm/mach-kirkwood/mpp.h 2011-10-24 07:10:05.000000000 +0000
+++ arch/arm/mach-kirkwood/mpp.h 2012-05-10 00:59:12.771678903 +0000
@@ -102,6 +102,7 @@
#define MPP11_SATA0_ACTn MPP( 11, 0x5, 0, 1, 0, 1, 1, 1, 1 )
#define MPP12_GPO MPP( 12, 0x0, 0, 1, 1, 1, 1, 1, 1 )
+#define MPP12_GPIO MPP( 12, 0x0, 1, 1, 1, 1, 1, 1, 1 )
#define MPP12_SD_CLK MPP( 12, 0x1, 0, 1, 1, 1, 1, 1, 1 )
#define MPP12_AU_SPDIF0 MPP( 12, 0xa, 0, 1, 0, 0, 0, 0, 1 )
#define MPP12_SPI_MOSI MPP( 12, 0xb, 0, 1, 0, 0, 0, 0, 1 )')
What's already there:
$this->bbcode_second_pass_code('', '#define MPP12_GPO MPP( 12, 0x0, 0, 1, 1, 1, 1, 1, 1 )
#define MPP12_GPIO MPP( 12, 0x0, 1, 1, 0, 0, 0, 1, 0 )
#define MPP12_SD_CLK MPP( 12, 0x1, 0, 0, 1, 1, 1, 1, 1 )
#define MPP12_AU_SPDIF0 MPP( 12, 0xa, 0, 0, 0, 0, 0, 0, 1 )
#define MPP12_SPI_MOSI MPP( 12, 0xb, 0, 0, 0, 0, 0, 0, 1 )
#define MPP12_TW1_SDA MPP( 12, 0xd, 0, 0, 0, 0, 0, 0, 1 )')
So, the question is, use the provided definition for MPP12_GPIO or adjust the patch to replace it with the one ALARM has been using already?
The next two failures are in arch/arm/mach-kirkwood/sheevaplug-setup.c and come from the fact that the kernel already has the changes the patches bring, so that's an easy fix to the PKGBUILD.
drivers/mmc/core/core.c faults because the timeouts have been raised even further than ALARM tweaks them too. Easy patch to adjust, can leave the initial timeout as is and just bump the secondary.
The last batch of errors are in drivers/net/wireless/mwifiex/sdio.c and it looks like it's a combo of some of the tweaks already being present plus some formatting changes futzing the works. Should be easy enough for me to correct.
