gpmi-nand driver and jffs2 support

Hector Palacios hector.palacios at digi.com
Fri Aug 30 10:24:53 EDT 2013


Dear Huang,

On 08/30/2013 11:55 AM, Huang Shijie wrote:
> 于 2013年08月30日 17:15, Hector Palacios 写道:
>> Hello,
>>
>> Working on my custom platform based on i.MX28 (and also with the
>> MX28EVK) I checked that I cannot mount JFFS2 nand partitions because
>> I'm getting this error:
>>
>> jffs2: inconsistent device description
>>
>> which seems to have to do with the OOB area of the NAND.
>> I saw patchset [1] from Huang Shijie which seems to be related to the
>> issue. I just wanted to confirm if other people has the same problem
>> and if the patchset really aims to solve this, or mine is a different
>> issue.
>>
> yes, this patch set aims to solve this.
>
> You can try the SLC on the imx28.
>
> I only tested the SLC On the imx6q.

I applied the patchset but I still get the same error when trying to mount a JFFS2 
filesystem. My nand is:

[    0.819654] ONFI param page 0 valid
[    0.823179] ONFI flash detected
[    0.826344] NAND device: Manufacturer ID: 0x2c,Chip ID: 0xaa (Micron MT29F2G08ABBEAH4)
[    0.834455] NAND device: 256MiB, SLC, page size: 2048, OOB size: 64

The same happens on the MX28EVK where I use nand:

[    0.894127] NAND device: Manufacturer ID: 0xec,Chip ID: 0xdc (Samsung NAND 512MiB 
3,3V 8-bit)
[    0.902876] NAND device: 512MiB, SLC, page size: 2048, OOB size: 64

~# mount -t jffs2 /dev/mtdblock4 /media/nand/
[   26.821947] jffs2: inconsistent device description
mount: mounting /dev/mtdblock4 on /media/nand/ failed: Invalid argument

Am I missing anything?

Best regards,
--
Hector Palacios



More information about the linux-mtd mailing list