All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manuel Sahm <Manuel.Sahm@feig.de>
To: linux-mtd@lists.infradead.org
Subject: mkfs.jffs2 ?!
Date: Wed, 21 May 2008 12:15:02 +0200	[thread overview]
Message-ID: <4833F626.1060600@feig.de> (raw)

Hello,

I have lot of problems concerning my NANDflash:

I?ve downloaded mtd-utils 1.1.0 and compiled it on my host pc [Suse 
Linux 10.2 - Kernel 2.6.18]

I enter:
mkfs.jffs2 -d /exports/ -p -s 0x800 -e 0x20000 -n -l -o /RFS.jffs2

NAND Flash has Pagesize = 2048 Byte = 2kByte
EraseBlockSize= 128 kByte
oob = 64

I could mount the Image on my target [linux 2.6.25.3]through:

mount -rw -t jffs2 /dev/mtdblock5 /media/DATAfs

BUT:
If I want to write to the device like: touch /media/DATAfs/test.txt
and then unmount /media/DATAfs/test.txt
and mount -rw -t jffs2 /dev/mtdblock5 /media/DATAfs


There?s an message:

empty flash at [address] end at [address] !!!!!!!!!!!!!!!!!!!!!!!


Please help me........

             reply	other threads:[~2008-05-21 10:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-21 10:15 Manuel Sahm [this message]
2008-05-21 13:13 ` mkfs.jffs2 ?! Jason Liu
2008-05-21 13:26   ` Manuel Sahm

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=4833F626.1060600@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.