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.

portion of NAND flash using as a Mass storage device in OMAP 3530

hi
am working Devkit8000 board, has OMAP 3530. NAND flash memory of 256 MB is availabe.

am loading Angstrom OS in NAND flash and every thing is working fine.

0x00000000-0x00080000 : "X-Loader"
0x00080000-0x00260000 : "U-Boot"
0x00260000-0x00280000 : "U-Boot Env"
0x00280000-0x00680000 : "Kernel"
0x00680000-0x10000000 : "File System"

here i am u‎tilizing only few MB of memry for Anstrom OS.
 Problem is i have created one more partition see below

0x00000000-0x00080000 : "X-Loader"
0x00080000-0x00260000 : "U-Boot"
0x00260000-0x00280000 : "U-Boot Env"
0x00280000-0x00680000 : "Kernel"
0x00680000-0x01940000 : "File System"
0x01940000-0x10000000 : "EXTENDED PARTITION"

how to use EXTENDED PRTITION as a mass storage device in OMAP 3530?
i have done it for SD card..
but i dont have any idea to do for NAND flash...
please suggest me ...


thanks and regards
N REDDY

  • babu reddy said:

    0x00000000-0x00080000 : "X-Loader"
    0x00080000-0x00260000 : "U-Boot"
    0x00260000-0x00280000 : "U-Boot Env"
    0x00280000-0x00680000 : "Kernel"
    0x00680000-0x01940000 : "File System"
    0x01940000-0x10000000 : "EXTENDED PARTITION"

    how to use EXTENDED PRTITION as a mass storage device in OMAP 3530?
    i have done it for SD card..

    NAND partitions will be mounted using mtd framework. for each partition, a pair mtdX/mtdblockX device nodes is created inside /dev folder to access your flash file system.

    The mtdx is used to access the raw flash device, the mtdblockx is used to access the disk/block established in the raw flash. use for the final extended partition, you should see /dev/mtd5 and /dev/mtdblock5

    Normally NAND partition is mounted using JFFS2 file system. use mkfs.jffs2 from mtd-utils to format the partition.

    Regards

    Gururaja