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.

4K page NAND on DaVinci

Hi,

1. Can I have multiple NAND chips on my board and still the same DaVinci linux driver untouched to do any operations on the different NAND chips?

2. Does the current 2.6.10 4.0.1 kernel support 4K page size NAND?

3. Rather, is the DaVinci NAND controller capable of working with 4096 page size devices?

Thanx!

 

  • 1. Yes, you can connect multiple NAND devices in different chip selects, see EMIF UG for more details

    2. yes

    3. yes

    However, please note that RBL does not currently support 4K NAND page sizes, although we will be adding this support in future silicon revisions.

  • Thanx Juan for getting back so quickl!.

    My concern is that I understand, from the application perspective, my current driver will help me to navigate amongst the various devices (mtd partitions ) by itself as the nand_info structure contains a chipi select ID member. Can you please clarify if otherwise??

    Also, I will need to specify only the mtd_partition table accordingly so that I map a few partitions into the first device; and the rest into theother device?

    Can you confirm this??

    Thanx!

     

  • yes, you are correct on the application perspective.

    Also, I forgot to mention you will need to define the partition information in the Linux NAND driver itself.  Let me know if you need assistance locating the file where the partition information is defined.  I have not seen it in quite a while, but could help you track it down if you have difficulties finding it.

  • Hey Thanx Juan. Let me do some homework and I will definitley get back to if I do hang up :)

    Cheers!

  • Hi Sundar,Juan,

    I was just going through your 4K page Nand driver support issue .We had a similar req to support 4k pg size Nand .Could u pls share your part of exp in achieving support for 4k pg size  Nand device ?

    Chiku 

  • Chiku,

    What platform (e.g. DM644X, DM355, DM6467... ) are you working with?  I believe all these devices have large block NAND support at the Linux Kernel level already, but some (e.g. DM355) may not have support for large block NAND devices at the RBL level yet (will be added in next silicon rev).  You need RBL support if you plan on using NAND device for booting; otherwise, this should not be a cocern.

     

  • Hi Juan ,

    I am working on Dm355 based customed HW . We hav requirement to use 4k pg Nand in parallel to existing 2k pg Nand .We are going to boot the device from existing 2k pg Nand so i dont see any change in RBL .I want Kernel to see 4k pg Nand after booting (though it cause waste of some 1.5GB from 2K Nand) to save application data (possibly a single partition ).

    Are you sure mvl2.6.10 kernel support 4k pg Nand?

    Could you help me to find required code changes, if any?

    Chiku

     

  • Hi ,

    While working with 2.6.10 MV kernel ,i found that MTD doesnt support more than 4GB size (since mtd->size is a 32 bit type) .My NF is of 4 GB(total size=4GB ,2GB each device ,page size 4K)size .just to be supported by existing kernel i reduced total mtd->size by 1 block initially but i got errors like writing beyond boundaries of block.Than i reduced it by 1 page size ,my kernel boots up at this level by doing some changes but i am  not able to mount the filesys .

    How should i remove this 4GB limitatin in 2.6.10 kernel ?

    Chiku