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
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?