[Help] SST39VF6401B Support

yidong zhang zhangyd6 at gmail.com
Fri Oct 22 11:07:20 EDT 2010


On Fri, Oct 22, 2010 at 6:41 PM, Guillaume LECERF <glecerf at gmail.com> wrote:
> 2010/10/22 yidong zhang <zhangyd6 at gmail.com>:
>>> You didn't applied my latest patch, you would have only 1 erase region
>>> if you did.
>>  It was printed by the print_cfi_ident function. And the region
>> number is readed from the flash. So there was 2 erase region
>
> OK, my bad :(
>
> The datasheet is really f***ed up.
>
> "Sector Information (y + 1 = Number of sectors; z x 256B = sector size)
> y = 2047 + 1 = 2048 sectors (03FFH = 1023)
> z = 32 x 256 Bytes = 8 KBytes/sector (0100H = 32)"
>
> 03FFH = 1023, so y = 1023 + 1 = 1024 sectors
> 0100H = 256 (not 32), so z = 256 x 256 = 64 KBytes/sector
>
> I think we should modify the sector size on the fly, i.e. changing
> 0100h to 0020h (32).
>
> Could you try setting cif->cfiq->EraseRegionInfo[0] to 0x02003FF in
> fixup_sst39vf_rev_b() ?
>
Hi
  how about this attached patch.

> --
> Guillaume LECERF
> GeeXboX developer - www.geexbox.org
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mtd-cfi_cmdset_0002-add-CFI-detection-for-SST-38VF64.patch
Type: application/octet-stream
Size: 1712 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20101022/33a163ad/attachment-0001.obj>


More information about the linux-mtd mailing list