S25FL064L linux driver

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I started some month ago a design with a S25FL1-K flash memory, because I thought it was possible to interface it to a Linux embedded system using the driver available here:  http://elixir.free-electrons.com/linux/latest/source/drivers/mtd/spi-nor/spi-nor.c

   

my questions are:

   

is  S25FL064L compatible with this driver?

   

if not, is there any linux driver availabel for S25FL064L flash memory?

   

thanks

   

 

   

Flavio

0 Likes
1 Solution
Anonymous
Not applicable

Hi Flavio,

   

The basic functionality of FL-L(S25FL064L belongs to FL-L family of devices) is supported by the Linux SPI driver you pointed. You might need to add the corresponding device ID entries to the code. Here is the list:

   

        { "s25fl064l",  INFO(0x016017,      0,  64 * 1024, 128, SECT_4K) },

   

        { "s25fl128l",  INFO(0x016018,      0,  64 * 1024, 256, SECT_4K) },

   

        { "s25fl256l",  INFO(0x016019,      0,  64 * 1024, 512, SECT_4K) },

   

The SECT_4K flag can be omitted, if you want to use small 4k sectors or not. For a file system it is better to use larger sectors.

   

Thanks,

   

Krishna.

View solution in original post

0 Likes
4 Replies
Anonymous
Not applicable

Hi Flavio,

   

I will cross check internally and will update you.

   

Thanks,

   

Krishna.

0 Likes
Anonymous
Not applicable

thanks

0 Likes
Anonymous
Not applicable

Hi Flavio,

   

The basic functionality of FL-L(S25FL064L belongs to FL-L family of devices) is supported by the Linux SPI driver you pointed. You might need to add the corresponding device ID entries to the code. Here is the list:

   

        { "s25fl064l",  INFO(0x016017,      0,  64 * 1024, 128, SECT_4K) },

   

        { "s25fl128l",  INFO(0x016018,      0,  64 * 1024, 256, SECT_4K) },

   

        { "s25fl256l",  INFO(0x016019,      0,  64 * 1024, 512, SECT_4K) },

   

The SECT_4K flag can be omitted, if you want to use small 4k sectors or not. For a file system it is better to use larger sectors.

   

Thanks,

   

Krishna.

0 Likes
Anonymous
Not applicable

thank.you

0 Likes