erase block < 8KiB

Guillaume LECERF glecerf at gmail.com
Fri Dec 16 07:59:02 EST 2011


2011/10/14 angelo <angelo70 at gmail.com>:
> Hi Artem,
> i already managed my issue, this flash and jffs2 works perfect with a 64KB
> sector. There should be in the archive my patch posted.
>
> CFI driver actually do an operation called "fixup". It detect this flash,
> and know that this flash has 2 sector sizes, 4KB and 64KB.
> The fixup chose the 4KB as erasesize, so excluding the jffs2 usage.
>
> The patch to mkfs.jffs2 tool to allow the usage of 4KB erasesize works, but
> is not safe.
> If 4KB was not allowed, there was a reason.
>
> So i also tried to use some other FS, like logfs or UBIFS. But i couldn't
> easily port all the tools needed since i am in a "Coldfire" architecture and
> using uClinux for coldfire.
> So i decided to patch the erasesize to 64KB.

Hi Angelo.

Could you please test the attached patch, which uses block erase size/command ?

-- 
Guillaume LECERF
OpenBricks developer - www.openbricks.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sst-use-block-erase.patch
Type: text/x-patch
Size: 3292 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20111216/2534285b/attachment.bin>


More information about the linux-mtd mailing list