public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Problem mounting mtd after nandwrite
@ 2005-03-24 11:13 Frédéric Janot
  0 siblings, 0 replies; only message in thread
From: Frédéric Janot @ 2005-03-24 11:13 UTC (permalink / raw)
  To: linux-mtd

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-24 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-24 11:13 Problem mounting mtd after nandwrite Frédéric Janot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox