From: "Artem B. Bityutskiy" <dedekind@yandex.ru>
To: John <john@arrows.demon.co.uk>
Cc: linux-mtd@lists.infradead.org
Subject: Re: OneNAND - Cannot mount jffs2 partition
Date: Sun, 13 Aug 2006 16:10:52 +0400 [thread overview]
Message-ID: <44DF16CC.3070708@yandex.ru> (raw)
In-Reply-To: <Pine.LNX.4.33.0608131059220.32638-100000@arrows.demon.co.uk>
Hello John,
John wrote:
> Questions:
> Is this a suitable pair of commands?
> $ flash_eraseall -j /dev/mtd5
> $ mount -t jffs2 /dev/mtdblock5 /mnt/onenand
Yeah, I believe this is the right commands and should work.
> Would they work on an ordinary NAND device?
Yeah, and even on NOR.
> Should I be using the NFTL code is some way?
Nope.
> What is the likely underlying cause of the error message
> "Cowardly refusing to erase blocks on filesystem with
> no valid JFFS2 nodes"
Hmm, JFFS2 is complaining that you feed it with a flash which is neither
empty nor contains a valid JFFS2 FS image.
Try to avoid using -j ans see what happens. You also may try to enable
JFFS2's debugging prints.
I personally have never used OneNAND, and AFAIK it is rather new in MTD.
--
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.
next prev parent reply other threads:[~2006-08-13 12:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-13 10:24 OneNAND - Cannot mount jffs2 partition John
2006-08-13 12:10 ` Artem B. Bityutskiy [this message]
2006-08-13 17:45 ` Catherine Smith
2006-08-14 15:03 ` Artem B. Bityutskiy
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=44DF16CC.3070708@yandex.ru \
--to=dedekind@yandex.ru \
--cc=john@arrows.demon.co.uk \
--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