gpmi-nand: Probe failure on imx6qp linux 4.19

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I need help regarding a gpmi-nand probe failure. I am trying to run
mainline linux 4.19.21 on an IMX6QP based board. I get a timeout error
during probe:

[    3.079948] gpmi_reset_block((ptrval)): module reset timeout
[    3.086728] gpmi-nand: probe of 112000.gpmi-nand failed with error -110

The timeout error is returned by the call at gpmi-lib.c line 152:

ret = gpmi_reset_block(r->gpmi_regs, false);

The relevant sections from the dts are:

&gpmi {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_gpmi_nand>;
    nand-on-flash-bbt;
    status = "okay";
    #address-cells = <1>;
    #size-cells = <1>;

    partition@0 {
        label = "barebox";
        reg = <0x0 0x400000>;
    };
...
};

        pinctrl_gpmi_nand: gpmigrp {
            fsl,pins = <
                MX6QDL_PAD_NANDF_CLE__NAND_CLE          0xb0b1
                MX6QDL_PAD_NANDF_ALE__NAND_ALE          0xb0b1
                MX6QDL_PAD_NANDF_WP_B__NAND_WP_B        0xb0b1
                MX6QDL_PAD_NANDF_RB0__NAND_READY_B      0xb000
                MX6QDL_PAD_NANDF_CS0__NAND_CE0_B        0xb0b1
                MX6QDL_PAD_NANDF_CS1__NAND_CE1_B        0xb0b1
                MX6QDL_PAD_NANDF_CS2__NAND_CE2_B    0xb0b1
                MX6QDL_PAD_NANDF_CS3__NAND_CE3_B    0xb0b1
                MX6QDL_PAD_SD4_CMD__NAND_RE_B           0xb0b1
                MX6QDL_PAD_SD4_CLK__NAND_WE_B           0xb0b1
                MX6QDL_PAD_NANDF_D0__NAND_DATA00        0xb0b1
                MX6QDL_PAD_NANDF_D1__NAND_DATA01        0xb0b1
                MX6QDL_PAD_NANDF_D2__NAND_DATA02        0xb0b1
                MX6QDL_PAD_NANDF_D3__NAND_DATA03        0xb0b1
                MX6QDL_PAD_NANDF_D4__NAND_DATA04        0xb0b1
                MX6QDL_PAD_NANDF_D5__NAND_DATA05        0xb0b1
                MX6QDL_PAD_NANDF_D6__NAND_DATA06        0xb0b1
                MX6QDL_PAD_NANDF_D7__NAND_DATA07        0xb0b1
                MX6QDL_PAD_SD4_DAT0__NAND_DQS           0x00b1
            >;
        };

The dts node "gpmi" is included from the imx6qdl.dtsi in mainline 4.19.21.
It would be great if someone could help debug the issue.

Thanks!
Ibtsam Haq

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux