public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Amit Sharma <amitsharma91@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS2 mounting problem
Date: Thu, 28 Jul 2005 11:15:47 +0200	[thread overview]
Message-ID: <1122542147.3466.6.camel@lap02.tec.linutronix.de> (raw)
In-Reply-To: <9185a3fa0507280057dcd057f@mail.gmail.com>

On Thu, 2005-07-28 at 16:57 +0900, Amit Sharma wrote:
> mkfs.jffs2 -d /home/jffs2stuff -o /tmp/jffs2.image

Yoe have to set the correct options for your FLASH.

mkfs.jffs2 -e ERASEBLOCKSIZE -p NANDPAGESIZE -n -d ... -o ...

> cat /tmp/jffs2.image >/dev/mtdblock/0

Use nandwrite for that. Read
http://linux-mtd.infradead.org/faq/nand.html

> mount -t jffs2 /dev/mtdblock/0 /mnt/

tglx

  reply	other threads:[~2005-07-28  9:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28  7:57 JFFS2 mounting problem Amit Sharma
2005-07-28  9:15 ` Thomas Gleixner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-31 13:05 use "nandwrite" instead of "cp"? ??
2002-07-31 13:23 ` jffs2 mounting problem ??
2002-04-04 16:07 Sanjay Kumar
2002-04-04 17:16 ` Robert Kaiser
2002-04-04 19:42   ` Sanjay Kumar
2002-04-04 21:24   ` Sanjay Kumar
2002-04-08 14:14     ` ajcurtis84
2002-01-08 17:17 JFFS2 " Sanjay Kumar
2002-01-09  3:04 ` Vipin Malik

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=1122542147.3466.6.camel@lap02.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=amitsharma91@gmail.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