[flashrom] [PATCH] Add support for Spansion S25FL127S.

Jernej Škrabec jernej.skrabec at planet.si
Wed Jan 14 00:02:22 CET 2015


On Sat,  20 Dec 2014 22:43:19 +0100
Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at> wrote:

> On Sun,  7 Dec 2014 11:02:35 +0100
> Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at> wrote:
> 
> > This flash chip can be configured (one time) to use 64 KiB or 256 KiB sectors.
> > Additionally, in the 64 KiB mode it supports 16 4 KiB sub-sectors that can be
> > (one time) programmed to be on the top or bottom of the device. The sub-sectors
> > can be erased with the 0x20 opcode but because this opcode does not work
> > with the remaining sectors and flashrom can not cope with that the 0x20
> > opcode is not supported yet.
> > 
> > This patch adds two definitions, one for the 64 KiB and 256 KiB configuration
> > respectively. The device also shares the RDID with the various S25FL128
> > devices so we have to increase the maximum number of successfully probed
> > chips to 8.
> > 
> > The 64 KiB mode was tested on real hardware.
> > 
> > Signed-off-by: Jernej Škrabec <jernej.skrabec at planet.si>
> > Signed-off-by: Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at>
> 
> I have committed this patch in r1858 because Jernej told me that he
> *currently* is unable to test the patch on real hardware. Since the
> modifications were minor there shouldn't be any issues though.

Hi Stefan!

Now I manage to test again and as you can see from attachments, everything is OK for 64 KiB version. However, I found out that chip definitions are duplicated:

S25FL127S-64KB, line 10503
S25FL127S-256kB, line 10536
S25FL127S-64kB, line 10569
S25FL127S-256kB, line 10613

I will also confirm 256 KiB version in the near future and maybe even write better probing function.

Best regards,
Jernej Škrabec
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: S25FL127S-64kB_erase.txt
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20150114/0f21c9ff/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: S25FL127S-64kB_probe.txt
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20150114/0f21c9ff/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: S25FL127S-64kB_read.txt
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20150114/0f21c9ff/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: S25FL127S-64kB_write.txt
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20150114/0f21c9ff/attachment-0003.txt>


More information about the flashrom mailing list