We cant Mount a MTD partition with JFFS2
Lucas Olmos
LOlmos at DISCAR.com
Thu Jul 26 09:09:39 EDT 2007
We have a uClinux 2.6.x over NXP LPC2468 (Kit of embedded artist)
We generated a image with mkfs.jffs2 tool, typing in the console of debian PC:
DEBIAN-LINUX:# mkfs.jff2 -root=Documentation -eraseblock=128 -output=image.lo
Then with the uboot we copy the image.lo to the NAND 0x600000
In the kernel create the MTD partitions an then we see this
The "cat /proc/partitions" show:
Major minor #blocks name
31 0 4906 mtdblock0
31 1 2048 mtdblock1
And we have block devices in this numbers
/dev/rom0 in 31 0
/dev/rom1 in 31 1
But when we try to mount with:
mount -t jffs2 /dev/rom1 /mnt/mtd
the system show in the console this message:
Eep. No valid nodes for ino #1
And then the system try to erase ....
Then, we type "mount " and we see that the /dev/rom1 mount in /mnt/mtd but we ls the dir and show nothing, try to mkdir and we cant
Somebody know what happened ????
____________________________________________
Lucas Federico Olmos
DISCAR S.A.
Ingeniero de Desarrollo - I+D
Faustino Allende 866 - Córdoba (X5004DVR) - Argentina
Tel.: (54 351) 4732020 (Int: 2134) Fax: (54 351) 4720633
www.discar.com
More information about the linux-mtd
mailing list