S25FS064S Linux Driver

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

cross mob
HeK_4756966
Level 1
Level 1

All,

I am looking S25FS064S driver for Linux.

0 Likes
1 Solution
Apurva_S
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

Thank you for contacting Cypress Community.

You can download the Linux driver from this link.

pastedImage_0.png

Thank you and Regards,

Apurva

View solution in original post

0 Likes
3 Replies
Apurva_S
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

Thank you for contacting Cypress Community.

You can download the Linux driver from this link.

pastedImage_0.png

Thank you and Regards,

Apurva

0 Likes
HeK_4756966
Level 1
Level 1

Apurva,

Downloaded the Linux Driver ("Linux Kernel 4.14.0")  but support for S25FS064S support is not there, Can you please provide the latest code which support S25FS064S.

Code from drivers/mtd/cy-snor/cy-snor.c

{ "S25FS512S",

+         { 0x01, 0x02, 0x20, 0x4D, 0x00, 0x81, -1, -1 },

+         { 256, 0 }, { 0x40000, 0 }, 512,

+         HAS_MULTI_IO_B | HAS_STATBIT_ERROR | HAS_CONFREG | HAS_TBPARM |

+         ADDR32_4BAM | HAS_ERASESUSPEND | HAS_DYN_PAGESIZE | HAS_PARM_8X4K |

+         HAS_ECC | HAS_RDAR | HAS_ASP },

+       { "S25FS256S",

+         { 0x01, 0x02, 0x19, 0x4D, 0x01, 0x81, -1, -1 },

+         { 512, 0 }, { 0x10000, 0 }, 512,

+         HAS_MULTI_IO_B | HAS_STATBIT_ERROR | HAS_CONFREG | HAS_TBPARM |

+         ADDR32_4BAM | HAS_ERASESUSPEND | HAS_DYN_PAGESIZE | HAS_DYN_SECSIZE |

+         HAS_PARM_8X4K | HAS_ECC | HAS_RDAR | HAS_ASP },

+       { "S25FS128S",

+         { 0x01, 0x20, 0x18, 0x4D, 0x01, 0x81, -1, -1 },

+         { 256, 0 }, { 0x10000, 0 }, 512,

+         HAS_MULTI_IO_B | HAS_STATBIT_ERROR | HAS_CONFREG | HAS_TBPARM |

+         HAS_ERASESUSPEND | HAS_DYN_PAGESIZE | HAS_DYN_SECSIZE |

+         HAS_PARM_8X4K | HAS_ECC | HAS_RDAR | HAS_ASP },

0 Likes
Apurva_S
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

Apologies for the delay.

Please add the below device entry to the device ID table located in ““drivers/mtd/cy-snor/cy-snor.c””. Linux should be able to properly probe the S25FS064S after adding that entry.

{ "S25FS064S",

         { 0x01, 0x02, 0x17, 0x4D, 0x01, 0x81, -1, -1 },

         { 128, 0 }, { 0x10000, 0 }, 512,

HAS_MULTI_IO_B | HAS_STATBIT_ERROR | HAS_CONFREG | HAS_TBPARM |

HAS_ERASESUSPEND | HAS_DYN_PAGESIZE | HAS_DYN_SECSIZE |

HAS_PARM_8X4K | HAS_ECC | HAS_RDAR | HAS_ASP },

Please let me know if you have any questions.

Thank you and Regards,

Apurva

0 Likes