VF610 NAND driver on MPC5125

Rodolfo Giometti giometti at enneenne.com
Fri Oct 20 05:00:00 PDT 2017


Hello,

I'm trying to use this driver on a custom board based on MPC5125 equipped with a 
NAND chip TH58NVG5S0FTAK (which should be compatible with MT29F16G08AJADAWP).

Below is my DTS section NFC related:

         nfc at 40000000 {
                 compatible = "fsl,vf610-nfc";
                 #address-cells = <0x1>;
                 #size-cells = <0x0>;
                 reg = <0x40000000 0x100000>;
                 interrupts = <0x6 0x8>;
                 interrupt-parent = <0x1>;
                 bank-width = <0x1>;
                 write-size = <4096>; // Page size
                 spare-size = <128>;  // OOB size
                 chips = <0x1>;
                 clocks = <&clks MPC512x_CLK_NFC>;
                 clock-names = "ipg";

                 nand at 0 {
                         compatible = "fsl,vf610-nfc-nandcs";
                         reg = <0>;
                         nand-bus-width = <8>;
                         nand-ecc-mode = "hw";
                         nand-ecc-strength = <32>;
                         nand-ecc-step-size = <2048>;
                         nand-on-flash-bbt;
                 };
         };

Just enabling the driver as is I get the following:

[    0.886396] vf610_nfc 40000000.nfc: Timeout while waiting for BUSY.
[    0.998378] vf610_nfc 40000000.nfc: Timeout while waiting for BUSY.
[    1.110378] vf610_nfc 40000000.nfc: Timeout while waiting for BUSY.
[    1.222378] vf610_nfc 40000000.nfc: Timeout while waiting for BUSY.
[    1.334381] vf610_nfc 40000000.nfc: Timeout while waiting for BUSY.
[    1.340590] nand: No NAND device found

Any advice regarding why I get these timeout messages?

Thanks in advance,

Rodolfo

-- 

HCE Engineering                      e-mail: giometti at hce-engineering.it
GNU/Linux Solutions                          giometti at enneenne.com
Linux Device Driver                          giometti at linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti
Cosino Project - the quick prototyping embedded system - www.cosino.it
Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it



More information about the linux-mtd mailing list