From: Thomas Gleixner <tglx@linutronix.de>
To: Ranjan Parthasarathy <Ranjan.Parthasarathy@efi.com>,
linux-mtd@lists.infradead.org
Subject: Re: JFFS2 on Nand
Date: Sat, 28 Feb 2004 00:14:25 +0100 [thread overview]
Message-ID: <200402280014.25433.tglx@linutronix.de> (raw)
In-Reply-To: <9961BDB14162AA47A39FF91932F1AE440ADF54@fcexmb01.efi.internal>
On Friday 27 February 2004 23:21, Ranjan Parthasarathy wrote:
> Hi
>
> How do I make a JFFS2 image for a NAND device with the OOB data included in
> the image. I have the new mkfs.jffs2 and related utils from cvs.
>
> Currently when I run
> # nandwrite -j -o /dev/mtd/1 jffs2.img
> I get the following message-
> Input file is not page aligned: Success
Input files should be page aligned, as NAND should be written with full page
writes only. So the utility notifies you, if the image is not page aligned.
This will result in some uncritical warning messages, if you mount the
partition.
> The jffs2.img was created using mkfs.jffs2 -r <root> -o jffs2.img
Try:
mkfs.jffs2 -r <root> -e <erasesize> -p <erasesize> -n -o jffs2.img
where <erasesize> is the blocksize of your NAND chip
-n disables cleanmarker insertion at the beginning of each block, as the
cleanmarkers are stored in the oob area
--
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de
prev parent reply other threads:[~2004-02-27 23:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-27 22:21 JFFS2 on Nand Ranjan Parthasarathy
2004-02-27 23:14 ` Thomas Gleixner [this message]
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=200402280014.25433.tglx@linutronix.de \
--to=tglx@linutronix.de \
--cc=Ranjan.Parthasarathy@efi.com \
--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