This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

omapl138 uboot not support 128M nandflash

Other Parts Discussed in Thread: OMAPL138

Hi,

My custom board have nandflah of  MT29F1G08 ,sizes is 128M .but the omapl138  default  is  MT29F4G08 ,which sizes is 512M .

After boot form uImage,my board does not recognize nandflash and not recognize MTD .

root@arago:/# cat /proc/mtd
dev: size erasesize name
root@arago:/#

What I have to do to get recognized by the kernel to the nand and mtd?

best regard

  • Hi feng lin,

    Did you solve your recognition problem? How did you do? I have a similar problem with a same family's memory (MT29F2G08) than yours. I hope your answer!

    Thanks in advance

    Öscar

  • Hi oscar,

    I had solve the problem. The default for OMAPL138 EVM  is to check nor or nand flash,

    in file arch/arm/mach-davinci/board-da850-evm.c, it will execute the function of da850_evm_setup_nor_nand().

    What you must to do is annotation the  function da850_evm_setup_nor_nand() ,and add the function for your nandflash init in da850_evm_init.

    Just like

    ...

    static inline int nand(void)
    {
        platform_add_devices(da850_evm_devices,
                                    ARRAY_SIZE(da850_evm_devices));
        return 0;
    }

    ...

    static __init void da850_evm_init(void)

    {

     ..........

    //da850_evm_setup_nor_nand();

    nand();

    }

    I

     

     

    Hope my solution can help you!