linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: "Jonathan Kotta" <jpkotta@gmail.com>
To: "Semih Hazar" <semih.hazar@indefia.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: trouble with mounting ext2/jffs2
Date: Wed, 23 May 2007 16:23:06 -0500	[thread overview]
Message-ID: <47c31da80705231423n7912e8d9t78e2a076cf2ab377@mail.gmail.com> (raw)
In-Reply-To: <4653FA11.7090403@indefia.com>

On 5/23/07, Semih Hazar <semih.hazar@indefia.com> wrote:
> Can you try to mount /dev/mtdblock0 after doing flash_eraseall /dev/mtd0
> (without -j)
> As far as I see jffs2 doesn't like an empty flash with cleanmarkers. But
> it works fine with an all-empty flash. I think cleanmarkers are written
> as data is written.

Omitting the -j works.

> Another (and maybe better ?) way to go is
> * create a jffs2 image with mkfs.jffs2
> * erase the flash with -j so that cleanmarkers are written
> * and then use nandwrite to write your image to mtd.
>

Again, omitting -j works.

Thanks for the nudge.  Now I need to get DataFlash working...

-- 
Thanks,

Jonathan Kotta

Hofstadter's Law:
    It always takes longer than you expect, even
    when you take into account Hofstadter's Law.

      reply	other threads:[~2007-05-23 21:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-22 19:08 trouble with mounting ext2/jffs2 Jonathan Kotta
2007-05-23  8:23 ` Semih Hazar
2007-05-23 21:23   ` Jonathan Kotta [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=47c31da80705231423n7912e8d9t78e2a076cf2ab377@mail.gmail.com \
    --to=jpkotta@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=semih.hazar@indefia.com \
    /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;
as well as URLs for NNTP newsgroup(s).