gpmi-nand driver and jffs2 support

Marek Vasut marex at denx.de
Sun Sep 15 10:12:23 EDT 2013


Dear Hector Palacios,

> Dear Marek,
> 
> On 09/04/2013 04:38 PM, Marek Vasut wrote:
> > Dear Huang Shijie,
> > 
> >> On Wed, Sep 04, 2013 at 04:00:36PM +0200, Marek Vasut wrote:
> >>> Dear Huang Shijie,
> >>> How come hector was then able to write his JFFS2 partition ?
> >> 
> >> If he uses the gpmi, he should not write the JFFS2, since the gpmi
> >> does not support the jffs2. He will get the failure in the end.
> > 
> > Hector, can you comment on this?
> 
> I don't think I'm following these comments. The facts are:
> 1) A JFFS2 filesystem image written with nandwrite (mtd-utils v1.5.0)
> 	a) does not mount on kernel v3.10
> 	b) mounts OK on linux-next kernel (v3.12) with the patchset [1] from 
Huang
> 	(actually I didn't use linux-next but instead a v3.10 where I merged all
> the commits done to MTD in linux-next, which are a lot).
> 
> 2) A JFFS2 filesystem image written with U-Boot v2013.01
> 	a) mounts OK on old FSL kernel 2.6.35
> 	b) does not mount on kernel v3.10 (neither on v3.8, I believe).
> 	c) does not mount on linux-next with the patchset [1]
> 
> [1] http://lists.infradead.org/pipermail/linux-mtd/2013-August/048360.html
> 
> Marek, could you please confirm 2b on your side, just in case I'm doing
> anything wrong in my custom U-Boot?

Sorry for the late reply. I cannot test it, since I don't have such a setup.

I still believe it'd be worth figuring out what the heck is going on in here. 
There is obviously a bug which breaks compatibility and that must not happen.

[...]

Best regards,
Marek Vasut



More information about the linux-mtd mailing list