ChristophG.Baumann

Linux Kernel Patch for FL-K SPI Flash

Discussion created by ChristophG.Baumann on Jul 25, 2012
Latest reply on Jul 26, 2012 by ChristophG.Baumann

Hello Group,

 

currently I'm working with the i.MX28 EVK and want to get SPI NOR-Flash (S25FL064K) working under Linux.

I soldered the chip and the resistors R320-R322 onto the board as described on the group start page.

As Linux Kernel I use the 2.6.35.3-imx_10.12.01 distributed by Freescale. To get the Spansion chip working I first tried to add "{ "s25fl064k",  INFO(0xef4017,      0,  64 * 1024, 128, SECT_4K) }," to the device list of the m25p80 driver. But this didn't show any success. So I tried the patch from Spansion (for 2.6.31) kernels (http://www.spansion.com/Support/Software/linux-2.6.31-fl.zip). This patch gives me lots of errors at compile time regarding undeclared functions (kzmalloc) and incompatible types for spin_(un)lock.

Are there any suggestions how to proceed?

 

 

Regards

Christoph

Outcomes