From: Manuel Sahm <Manuel.Sahm@feig.de>
To: linux-mtd@lists.infradead.org
Subject: --pad option [NAND Flash: Pagesize 0x800; eraseblocksize=0x20000]
Date: Mon, 26 May 2008 10:11:06 +0200 [thread overview]
Message-ID: <483A709A.9070901@feig.de> (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
reply other threads:[~2008-05-26 8:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=483A709A.9070901@feig.de \
--to=manuel.sahm@feig.de \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox