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.

Linux/DRA71: NOR + NAND flash solution for DRA718

Part Number: DRA71

Tool/software: Linux

Hi TI Team,

We are studying NOR + NAND flash for DRA718, nand chip is MT29F1G01ABAFD12-AAT.

And we have a few questions about nor + nand solution:

1, Is TI SDK support NOR + NAND, if support, how to enable it?

2, What’s the bad block management solution for NAND flash?

3, What’s file system format for NAND flash, jffs2 or UBI or other fs ?

Thanks.

  • Hi

    When you mention NOR+NAND - are you referring to a system that needs concurrent access to both NOR and NAND flash?

    Would you be able  consider a managed NAND solution like eMMC instead for your solution

    RAW NAND support implies the Bad block management has to be handled in SW - typically as part of the MTD/Flash file system layers in Linux

    we have tested NAND with UBIFS

  • Hi Sriram,

    Yes, we are studying access to both NOR + NAND flash in a system on DRA718.
    Do TI SDK support NAND driver, bad block management and UBIFS for NAND?

    Thanks

    Best Regrads
    Jeremy Zhang
  • Hi

    If the intent is to use parallel NOR along side NAND - it would conflict as they use the same GPMC pins

    If you are planning to use QSPI flash with NAND - need to ascertain if pin mux wise it is feasible

    From SDK support standpoint, NAND is supported with MTD drivers, UBIFS filesysten

  • Hi Sriram,

    We are planing to use QSPI flash, we will ascertain it.
    How about the nand driver and bad block management? is TI support them?

    Thanks.

    BRs
    Jeremy
  • Jeremy
    Linux MTD subsystem supports handling of RAW NAND flash.

    wear levelling and bad block management are supported as part of the flash file system implementation
    you can find more information on the linux MTD support at www.linux-mtd.infradead.org/.../nand.html

    you need to choose the right flash filesystem based on your requirement. For the SDK, we test with UBIFS
  • Hi Sriam

    I mean the bad block management in BootLoader, if not handled properly, the OS will boot up fail.

    And is nand driver available in TI SDK? both bootloader and kernel.

    Thanks.

    Best Regards
    Jeremy Zhang
  • Hi
    Uboot NAND driver supports bad block detection. For wear levelling though you would have to rely on UBIFS support again in uboot
    I am assuming you would like to load kernel image, filesystem from NAND media - should be able support this if setup as UBIFS partitions.
  • Hi Jeremy,

    As requested, below is a list of tests we run on our SDK.

    1. NAND Boot support from U-boot

    2.  8-bit computation of ECC (using hardware based ECC calculator) for page data read and write operations

    3. NAND driver with UBIFS file system support

    4. NAND driver with 2K-byte page size

    The NAND flash used on the DRA71x EVM is MT29f2g16aadwp.


    Regards

    Shravan

  • Hi Shravan,

    Thanks for your support.

    Below is my questions:
    1, Do you mean both nand driver and bad block management support for U-Boot in TI SDK? If yes, please provide related document about it.
    2, You said NAND flash used on the DRA71x EVM is MT29f2g16aadwp, is that mean TI only test this flash, we are selecting flash, can TI provide
    a NAND flash recommendation list?
    3, Can TI provide the NAND flash ECC tool, which add ECC data in NAND flash image.

    Thanks.

    BRs
    Jeremy Zhang
  • Hi Jeremy,

    Answers to your questions:
    1. Yes this is supported in u-boot, please refer doc/README.nand in u-boot for more details.
    2. Yes, we test only with this NAND flash, however other customers have tested on other devices without issues. The flash device is chosen by the customer and we don't have any list to recommend.
    3. Please create a separate E2E thread for this question. Issues pertaining to NOR + NAND support on DRA718 is resolved.

    Regards
    Shravan