All of lore.kernel.org
 help / color / mirror / Atom feed
* S25FL512 vs S25FS512
@ 2021-09-01 16:51 Barbier, Renaud
  2021-09-08 23:32 ` Michael Walle
  0 siblings, 1 reply; 3+ messages in thread
From: Barbier, Renaud @ 2021-09-01 16:51 UTC (permalink / raw)
  To: linux-mtd

Hello,
I bought a NXP ls1046ard evaluation board and saw some issues erasing the SPI NOR from my boot loader or ICE.
The boot loader reported the flash as being a S25FL512 which is a uniform (256KiB) sector SPI NOR as per manufacturing ID 1 and device id 2

The eval board has in fact a S25FS512 SPI NOR which is by default a bottom boot flash. This can be disabled through a configuration register in the SPI NOR.

I also see that Linux describes both the S25FL512 and S25FS512 as uniform sector flash:
{ "s25fl512s",  INFO6(0x010220, 0x4d0080, 256 * 1024, 256,
			      SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
			      SPI_NOR_HAS_LOCK | USE_CLSR) },

{ "s25fs512s",  INFO6(0x010220, 0x4d0081, 256 * 1024, 256,
			      SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR)



According to Cypress PDF https://www.cypress.com/file/177971/download, this SPI NOR S25FL512 is indeed a uniform sector flash but with a device ID of 0x19.
While the Spansion documentation I found (https://datasheetspdf.com/pdf-file/831993/SPANSION/S25FL512S/1 ) described it with a Device ID of 0x2.

The S25FS512S has Device ID 0x2 according to Cypress documentation https://www.cypress.com/file/216376/download  and is a bottom boot flash.

Is the SPI support for S25FS512 in Linux 5.14 disabling the bottom boot feature? I have not found it in the code. Only something related to page size.

Cheers,
Renaud



______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-09  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 16:51 S25FL512 vs S25FS512 Barbier, Renaud
2021-09-08 23:32 ` Michael Walle
2021-09-09  8:37   ` Barbier, Renaud

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.