mpc8379e rdb nand flash support

??? yuyongbao at 126.com
Wed Apr 23 17:47:00 EST 2008


Dear all:
    Did anyone use mpc8379erdb board?  I changed nand flash from samsung 32M to hynix 1G byte.And the 1G byte nand's erase block size is 256KB.
    Now the problem is: when I use " nand write.jffs2" command to write jffs2 filesystems to nand flash ,there is only 128KByte of every erase blocks can be writed.
    From the datasheet of the mpc8379e ,"Page size of 2048 main area bytes plus 64 spare area bytes (large page devices);
FCM RAM buffers are 4 Kbytes each; Flash block size of 128 Kbytes."
    Is it means mpc8379e only support 128Kbytes block size?
    Here is the information when I tried to write it :

/////////////////////////////////////////////////////////////////////////////////////////////////
    Ehometech# nand erase 
    NAND erase: device 0 whole chip
    Erasing at 0x3ffc0000 -- 100% complete.
    OK
    Ehometech# nand device
    Device 0: NAND 1GiB 3,3V 8-bit
    Ehometech# nand info
    Device 0: NAND 1GiB 3,3V 8-bit, sector size 256 KiB
    Ehometech# nand write.jffs2 1000000 0 99b35c
    NAND write: device 0 offset 0x0, size 0x99b35c
    Writing data at 0x18800 --   1% complete.writing NAND page at offset 0x20000 failed
    Data did not fit into device, due to bad blocks
    10072924 bytes written: ERROR
    Ehometech# nand bad
    Device 0 bad blocks:
    Ehometech# nand write.jffs2 1000000 40000 99b35c
    NAND write: device 0 offset 0x40000, size 0x99b35c
    Writing data at 0x58800 --   1% complete.writing NAND page at offset 0x60000 failed
    Data did not fit into device, due to bad blocks
    10072924 bytes written: ERROR
    Ehometech# nand write.jffs2 1000000 100000 99b35c
    NAND write: device 0 offset 0x100000, size 0x99b35c
    Writing data at 0x118800 --   1% complete.writing NAND page at offset 0x120000 failed
    Data did not fit into device, due to bad blocks
    10072924 bytes written: ERROR

///////////////////////////////////////////////////////////////////////////////////////////
    Best Wishes!
    2008-4-23 


More information about the Linuxppc-embedded mailing list