[meta-freescale] linux-fslc 4.9.x and gpmi-nand driver support

Jonathan Poulin jopoulin at gmail.com
Fri Apr 7 06:37:42 PDT 2017


Hello Olivier,

I had a similar problem. Look at
https://lists.yoctoproject.org/pipermail/meta-freescale/2017-April/020344.html

This was cause by a mismatch between the ECC strength used by the write of
the partition and the one used by the reader. Try the solution that I link
in the answer of my post.

good luck
Jonathan

2017-04-06 4:23 GMT-04:00 Oliver Graute <oliver.graute at gmail.com>:

> Hello list,
>
> I try to use the linux-fslc 4.9.17 kernel but the gpmi-nand drivers
> seems not to work anymore for my nand flash.  Before I used successfull
> the linux-fslc 4.4.x with ported gpmi-nand driver from the 4.1-2.0.x-imx
> branch. Something in the mtd infrastructure changed so I can't use the
> old gpmi-nand driver anymore.
>
> Some clue how I get the current gpmi-nand driver working?
> I get the following errors on booting:
>
> [    6.140909] ip_tables: (C) 2000-2006 Netfilter Core Team
> [    6.146920] arp_tables: arp_tables: (C) 2002 David S. Miller
> [    6.157054] NET: Registered protocol family 10
> [    6.170435] ip6_tables: (C) 2000-2006 Netfilter Core Team
> [    6.177583] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
> [    6.189161] NET: Registered protocol family 17
> [    6.194585] Key type dns_resolver registered
> [    6.202421] cpu cpu0: dev_pm_opp_get_opp_count: OPP table not found
> (-19)
> [    6.216139] Registering SWP/SWPB emulation handler
> [    6.238783] Key type encrypted registered
> [    6.327633] ubi0: attaching mtd3
> [    6.333513] ubi0 warning: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 0:0, read only 64 bytes, retry
> [    6.345472] ubi0 warning: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 0:0, read only 64 bytes, retry
> [    6.357357] ubi0 warning: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 0:0, read only 64 bytes, retry
> [    6.369210] ubi0 error: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 0:0, read 64 bytes
> [    6.381157] ubi0 warning: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 1:0, read only 64 bytes, retry
> [    6.393048] ubi0 warning: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 1:0, read only 64 bytes, retry
> [    6.405062] ubi0 warning: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 1:0, read only 64 bytes, retry
> [    6.416944] ubi0 error: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 1:0, read 64 bytes
> [    6.428745] ubi0 warning: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 2:0, read only 64 bytes, retry
> [    6.440631] ubi0 warning: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 2:0, read only 64 bytes, retry
> [    6.452501] ubi0 warning: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 2:0, read only 64 bytes, retry
> [    6.464361] ubi0 error: ubi_io_read: error -74 (ECC error) while
> reading 64 bytes from PEB 2:0, read 64 bytes
>
> Best regards,
>
> Oliver
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20170407/5341d31e/attachment.html>


More information about the meta-freescale mailing list