AnsweredAssumed Answered

flashcp MTD flash device failed

Question asked by David XY Zhou on Apr 13, 2018
Latest reply on Apr 16, 2018 by David XY Zhou

Hi,

I have imx6ul dev board.

I use flashcp to update data file in the mtd flash device. The mtd partition is created through uboot as ubi format. The flashcp doesn't return any errors. After copy, the flash partition causes the problem.

 

At uboot, the command :

ubi part nand0,6

returns error:

ubi int err 22

which is working before flashcp command

 

The kernel uses

    .compatible = "fsl,imx6ul-gpmi-nand", device driver  (gpmi-nand.c)

the gpmi_nand_id_table[] includes imx6ul-gpmi-nand.

 

What else needs to be set or corrected?

 

  Thank You,

 

David Zhou

Outcomes