programming or cloning a MTD linux JFFS2 partition
Posted: 10 Nov 2011 16:42
Hi, we're trying to program a Micron MT29F2G08AADWP NAND with a Dataman 48+ Pro, with the following partition layout:
1. Uboot
2. kernel1
3. kernel2
4. jffs2 root filesystem1
5. jffs2 root filesystem2
6. jffs2 logging filesystem
The source comes from a BIN file, since we had trouble generating a correct HEX file.
I have two questions:
What is the correct procedure for performing such a flash, especially w.r.t. factory bad blocks, and to keep a consistent JFFS2 filesystem (via linux MTD).
And, is there a way to "clone" a NAND by reading a pre-programmed NAND, writing a different NAND, but adjusting for the per-device bad block tables?
mrybczyn
1. Uboot
2. kernel1
3. kernel2
4. jffs2 root filesystem1
5. jffs2 root filesystem2
6. jffs2 logging filesystem
The source comes from a BIN file, since we had trouble generating a correct HEX file.
I have two questions:
What is the correct procedure for performing such a flash, especially w.r.t. factory bad blocks, and to keep a consistent JFFS2 filesystem (via linux MTD).
And, is there a way to "clone" a NAND by reading a pre-programmed NAND, writing a different NAND, but adjusting for the per-device bad block tables?
mrybczyn