[PATCH] mtd-utils: Support jffs2 flash-erase for large OOB (>32b)

Richard Weinberger richard.weinberger at gmail.com
Tue Sep 6 09:17:08 PDT 2016


On Tue, Sep 6, 2016 at 5:22 PM, Graham Moore
<grmoore at opensource.altera.com> wrote:
> On 08/06/2015 01:38 PM, Manikandan Ramachandran wrote:
>>
>> "flash_erase" fails on nand flash with JFFS2 that has OOB size greater
>> than
>> 32 bytes. "flash_erase" uses "MEMGETOOSEL" to determine OOB size. This
>> ioctl
>> call is obsolete and returns error if OOB size is more than 32 bytes.
>>
>> This patch fixes this issue by using "mtd_write" to update clean-marker
>> instead of mtd_oob_write. This fix is based on the discussion:
>> http://lists.infradead.org/pipermail/linux-mtd/2011-September/037958.html.
>>
>
> Hi Manikandan,
>
> I'd like to use this patch in our Angstrom/Yocto builds, but our company
> policy doesn't allow patches that aren't signed off.
>
> I wonder if you could re-post this with your sign-off?  I'd really
> appreciate it.

Not needed, I can do that myself.
Let's get this reviewed and merged. :-)

-- 
Thanks,
//richard



More information about the linux-mtd mailing list