public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Frédéric Janot" <f.janot@ateme.fr>
To: linux-mtd@lists.infradead.org
Subject: Problem mounting mtd after nandwrite
Date: Thu, 24 Mar 2005 12:13:29 +0100	[thread overview]
Message-ID: <4242A0D9.1090208@ateme.fr> (raw)

Hi,
                                                                               
 
I have some problem when trying to mount jffs2 partition directly after 
flash it.
Here is what I did :
                                                                               
 
flash_eraseall /dev/mtd4
nandwrite -j /dev/mtd4 img2burn.jffs2
mount -t jffs2 /dev/mtdblock4 /mnt/nand
                                                                               
 
mount returns the following error
mount: Mounting /dev/mtdblock4 on /mnt/nand failed: Invalid argument
                                                                               
 
Note that my root filesystem is mount over NFS
If I reboot the board (in NFS), I am able to mount /dev/mtdblock4 
without problem
                                                                               
 
I used kernel 2.4.25 with mtd driver from 20041007 snapshot and I port 
myself the nand flash driver (samsung K9F5608UOC)
mount program I used comes from busybox 1.0
                                                                               
 
Can you help me deal with this problem ?
Thanks
                                                                                

Frederic

                 reply	other threads:[~2005-03-24 11:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4242A0D9.1090208@ateme.fr \
    --to=f.janot@ateme.fr \
    --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