gpmi-nand driver and jffs2 support

Fabio Estevam festevam at gmail.com
Fri Aug 30 12:37:49 EDT 2013


Hi Hector,

On Fri, Aug 30, 2013 at 1:31 PM, Hector Palacios
<hector.palacios at digi.com> wrote:
> Ok I merged the linux-next MTD patches.
> This is what I get from the printk:
>
> [    0.841333] [ set_geometry_by_ecc_info ] 36, 28
>
> The partition now partially mounts (I can see a few of the folders and
> files) but I get thousands of errors like these:
>
> [  118.210985] jffs2: mtd->read(0x100 bytes from 0x0) returned ECC error
> [  118.255424] jffs2: mtd->read(0x1ff20 bytes from 0xe0) returned ECC error
> [  118.255561] jffs2: jffs2_scan_inode_node(): CRC failed on node at
> 0x000001ec: Read 0x00000000, calculated 0xa587e8ba
> [  118.255602] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00000234: 0x1cf7 instead

This error is most likely because you generated a jffs2 rootfs with a
eraseblock size that does not match the one of your NAND device.

Try generating a new rootfs with the correct eraseblock size.

Regards,

Fabio Estevam



More information about the linux-mtd mailing list