-
1. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
ApurvaS_36Sep 19, 2019 12:00 AM (in response to prTG_4469956)
Hi Pradeep,
Thank you for contacting Cypress Semiconductor.
We have a patch for using FS-S devices with linux kernel 4.14. Are you using it in your code? If not, you can download it from here - https://www.cypress.com/documentation/software-and-drivers/cypress-spi-flash-drivers-linux-kernel-4140
Best Regards,
Apurva
-
2. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
prTG_4469956 Sep 25, 2019 9:25 PM (in response to ApurvaS_36)Hi Apurva,
Thank you for your reply, can i get dtsi example for s25fs512s flash for
latest driver and any logs to show how it probed in kernel and erased, and
need flash_erase source code which you have used
On Thu, Sep 19, 2019 at 12:31 PM ApurvaS_36 <community-manager@cypress.com>
-
3. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
prTG_4469956 Sep 26, 2019 1:53 AM (in response to ApurvaS_36)HI Apurva,
we are able to compile to driver , we need support on invoking the driver
by DTSI below is the DTSI snippet we are using please check and confirm is
it proper
&qspi
-
4. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
ApurvaS_36Sep 26, 2019 11:41 PM (in response to prTG_4469956)
Hi Pradeep,
I cannot see any snippet with your response. Could you please attach it again?
Regards,
Apurva
-
5. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
prTG_4469956 Sep 27, 2019 1:29 AM (in response to ApurvaS_36)-
cypress_dtsi_snippet.text.zip 339 bytes
-
-
6. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
ApurvaS_36Sep 27, 2019 1:38 AM (in response to prTG_4469956)
Hi Pradeep,
I have not received your attachment. Instead of replying to the email, could you please login to your account on the Cypress website and reply on the forum thread? Email attachments do not get posted as attachments in forum.
While posting your reply in the forum you will get an advanced editor option on the top right corner of the message box. You can attach files in the advanced editor.
Please feel free to ask if you any confusion.
Best Regards,
Apurva
-
7. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
prTG_4469956 Sep 27, 2019 1:45 AM (in response to prTG_4469956)HI Apurva,
Please find the attachment.
-
cypress_dtsi_snippet.text.zip 339 bytes
-
-
8. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
ApurvaS_36Sep 27, 2019 2:34 AM (in response to prTG_4469956)
Hi Pradeep,
FS-S devices have overlays of small 4kB sectors, be default mapped in at the bottom, i.e. bottom boot. These special sectors need special erase commands. Please go through the following KBA - S25FS-S Support Under Linux - KBA218975
Please let me know if you have any further queries.
Best Regards,
Apurva
-
9. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
prTG_4469956 Sep 27, 2019 2:38 AM (in response to ApurvaS_36)Hi Apurva,
Can you please let me know the command list and i have got driver from you
which is not working in linux 4.14 version
On Fri, Sep 27, 2019 at 3:05 PM ApurvaS_36 <community-manager@cypress.com>
-
10. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
ApurvaS_36Sep 27, 2019 4:21 AM (in response to prTG_4469956)
Hi Pradeep,
Could you please let me know the processor that you are using?
Regards,
Apurva
-
11. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
prTG_4469956 Sep 27, 2019 4:33 AM (in response to ApurvaS_36)HI Apurva,
We are using LS2088A from NXP.
On Fri, Sep 27, 2019 at 4:52 PM ApurvaS_36 <community-manager@cypress.com>
-
12. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
ApurvaS_36Sep 30, 2019 10:49 PM (in response to prTG_4469956)
Hi Pradeep,
Please apply the two patches attached. Once the patches are applied, the quadspi driver can be selected in the kernel configuration menu under (Device Drivers > Memory Technology Support > Cypress SPI Device Support)
Best Regards,
Apurva
-
13. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
prTG_4469956 Sep 30, 2019 11:45 PM (in response to ApurvaS_36)HI Apurva,
Yes we have compiled using and able to generate object files also and we
are facing issue for inovking the driver from DTSI.
On Tue, Oct 1, 2019 at 11:20 AM ApurvaS_36 <community-manager@cypress.com>
-
14. Re: s25fs512s not able to erase/write address location 0x00000 to 0x07FFF
ApurvaS_36Oct 1, 2019 11:26 PM (in response to prTG_4469956)
Hi Pradeep,
Could you please share DTSI, DTS and error message or bootup log?
Attached is what works for imx8mq-evk board.
- Your partition may be wrong. So please note the changes to the partition.
- Compatible controller in dtsi should be “fsl,ls2088a-qspi”
- For Quad IO Mode, following needs to be enabled (uncommented) in dts file.
// cy-snor,quad-read;
// cy-snor,quad-write;
Best Regards,
Apurva
-
cypress_dtsi_snippet.text.zip 621 bytes