setting PAD parameter with JFFS2 and NAND -- what is correct thing to do ?
Philip Rakity
prakity at yahoo.com
Tue Dec 2 12:23:05 EST 2008
I am trying to understand what value to set the pad parameter to when making a JFFS2 image (including using sumtool) for NAND flash.
The NAND flash has 2KiB sectors, 256KiB erase size, and is 2GB.
I use flase_eraseall -j when erasing the flash and the flash HAS bad blocks.
The image size is less than the 2GB size of the flash.
I have tried both specifying pad (rounded up) to the erase block size and omitting pad. When I write to the NAND there are recovered CRC errors from time to time as well as the other "errors" indicated in the FAQ.
If could set pad to the SIZE of the NAND flash, but because of bad blocks I am not sure this is correct...
Guidance Please.
Philip
More information about the linux-mtd
mailing list