imx6ull: NAND writes from uboot makes read errors from Linux and vice-versa

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6ull: NAND writes from uboot makes read errors from Linux and vice-versa

335 Views
tbultel
Contributor II

Hi,

I would like to create and write my NAND volumes from uboot.

The board is the imx6ull-colibri from Toradex. uboot and kernel are mainline.

But when I do so, I have ECC error from linux, when performing the "ubiattach" command.

Similarly, when creating the volumes from linux, there are ECC errors when reading them

in u-boot.

I have tried to change the device tree (as suggested on other platforms with simular issues) as such:

nand-ecc-mode = "hw"; to "on-die", with no better success, as well as adding "fsl,use-minimum-ecc"

In some past threads on NXP forums, it was said that writing the NAND was only supported from linux, is this still the case today ?

Thanks !

 

0 Kudos
0 Replies