Skip to contentSkip to conversation

--pad option [NAND Flash: Pagesize 0x800; eraseblocksize=0x20000]

DISCUSSION Manuel Sahm 1 participant 1 message May 26, 2008 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hello
I have a huge problem concerning the mtd-tools:

I use makefs.jffs2 to create an image. I mount the Image and write to it, add files. Then I umount it and mount it again:
"empty flash at [address] ends at [address]"

This is because:
mkfs.jffs2 or nandwrite uses a --pad option wich fills the image with 0xFF.

If I write to the image via Linux, a page is written completly with appended 0x00 !!!!!

So what could I do - I must append 0x00 with the --pad option not 0xFF

Linux isn?t comkptable eith the mtd-utils at the moment....

Thank you for your help