3 Replies Latest reply on Sep 10, 2020 11:21 AM by ApurvaS_36

    S25FS064S Linux Driver

    HeK_4756966

      All,

       

      I am looking S25FS064S driver for Linux.

        • 1. Re: S25FS064S Linux Driver
          ApurvaS_36

          Hi,

           

          Thank you for contacting Cypress Community.

           

          You can download the Linux driver from this link.

           

           

          Thank you and Regards,

          Apurva

          • 2. Re: S25FS064S Linux Driver
            HeK_4756966

            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 },

            • 3. Re: S25FS064S Linux Driver
              ApurvaS_36

              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