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

Graham Moore grmoore at opensource.altera.com
Tue Sep 6 08:22:02 PDT 2016


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.

Thanks!
Graham Moore





More information about the linux-mtd mailing list