Finding ERASE_INFO from a Flash datasheet

Glenn Henshaw thraxisp at logicaloutcome.ca
Mon Apr 30 09:09:57 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 28-Apr-07, at 7:24 AM, Florian Fainelli wrote:

> Hello all,
>
> I am using a box which has a SST 39VF6402B flash [1] driven by  
> jedec. This
> flash is not yet referenced in the Linux kernel, and once I got the  
> right
> erase informations, I will submit a patch to add it.
>
> For the moment, I have defined 4 strictly identical erase  
> informations :
> ERASE_INFO(0x2000, 256), which makes me avoid this message "Sum of  
> regions
> (400000) != total size of set of interleaved chips (800000)". I am  
> pretty
> sure these informations are completely wrong.

   I'm using 6401B devices, but configured for both. I have 8 regions  
configured as ERASE_INFO(0x1000, 256).

   It should be noted that the SST part has two erase modes: 4k and  
64k blocks. If you want to use the small block erase mode, you will  
need to change the erase command from an 0x50 to 0x30.

   I can provide a patch for the 2.4.27 kernel if you are interested.

>
> If anyone has some clues about this, I will be glad finishing my  
> patch ;)
>
> Thank you very much in advance.
>
> [1] : http://www.sst.com/downloads/datasheet/S71288.pdf

- --
Glenn Henshaw                     Logical Outcome Ltd.
e: thraxisp at logicaloutcome.ca     w: www.logicaloutcome.ca



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGNerqCf55IxAEBfkRAshYAJ49ZJYUVK+sEIoiSJeCTMrX4/TkRQCgnhj/
fQ3yQAjcr7vvRT8ZIgw7LGg=
=jpzm
-----END PGP SIGNATURE-----




More information about the linux-mtd mailing list