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: UBIFS Image building for ARM Cortex along with Cypress NOR and NAND



Tool/software: Linux

Hi,

     We are working on NOR + NAND solution for one of our projects. What I am looking into is how to build UBIFS image for NOR + NAND solution and also working with it. I am total beginner in this area. Kindly help me with steps or doc that you have. Also where is the code for BAD BLOCK management code in UBIFS? Kindly point out.

  • Hello Harish,

    Here in this wiki page you can find information about NAND and NOR Flash memories.
    Here in this wiki page you can find information about UBIFS support.
    Here in this wiki page you can find information about AM335x NAND driver.
    Here in this wiki page you can find the AM335x GP EVM's NAND layout.
    Here in this wiki page you can find information about NAND ECC.
    Here in this wiki page you can find information about MTD Utilities.

    Here in this page you can find the Linux MTD documentation. This is the most complete documentation I've ever seen by the way.
    Here in this page you can find information about commonly met error -74 (ECC error) and other frequently asked questions.

    In every Processor SDK there is a create-ubifs.sh script in <Processor SDK>/bin/ directory, which you can use to create an UBIFS image.
    In Yocto you must have IMAGE_FSTYPES += "ubifs ubi" in your configurations to generate these images.

    Once you got the images, you can flash the board as demonstrated in this thread.

    Best regards,
    Kemal